🏠 Home 

Backlinks

A backlink for a given web resource is a link from some other website (the referrer) to that web resource (the referent). A web resource may be (for example) a website, web page, or web directory.


Install this script?
  1. // ==UserScript==
  2. // @version 1.0.0.7
  3. // @name Backlinks
  4. // @name:de Rückverweise
  5. // @description A backlink for a given web resource is a link from some other website (the referrer) to that web resource (the referent). A web resource may be (for example) a website, web page, or web directory.
  6. // @description:de Ein Rückverweis oder Backlink bezeichnet einen Link, der von einer anderen Webseite ausgehend zu einer bestimmten Webseite führt. In vielen Suchmaschinen wird die Anzahl und Beschaffenheit der Rückverweise als Maß für die Linkpopularität oder Wichtigkeit einer Webseite verwendet.
  7. // @author JAS1998
  8. // @copyright 2021+ , JAS1998 (https://greasyfork.org/users/4792)
  9. // @namespace https://greasyfork.org/users/4792
  10. // @supportURL https://greasyfork.org/scripts/423644/feedback
  11. // @license CC BY-NC-ND 4.0; http://creativecommons.org/licenses/by-nc-nd/4.0/
  12. // @noframes
  13. // @compatible Chrome tested with Tampermonkey
  14. // @contributionURL https://www.paypal.com/donate?hosted_button_id=9JE###FJJHWU8
  15. // @contributionAmount €1.00
  16. // @grant GM_registerMenuCommand
  17. // @grant GM_notification
  18. // @grant GM_xmlhttpRequest
  19. // @match *://*/*
  20. // ==/UserScript==
  21. /* jshint esversion: 9 */
  22. GM_registerMenuCommand("Check Backlinks", function () {
  23. if (!GM_info.script.copyright.includes(GM_info.script.namespace)) {
  24. alert("Please install the Orginal Version");
  25. location.href = GM_info.script.supportURL.replace("feedback", "");
  26. return;
  27. }
  28. var website = prompt("Please enter your Website:", document.URL);
  29. if (website == null) {
  30. alert("User cancelled the prompt.");
  31. return;
  32. }
  33. if (website == "") {
  34. alert("Input field must not be empty.");
  35. return;
  36. }
  37. var urlPattern = /^(http.?:\/\/|)\w*\.*[A-Z]*(\.\w*($|\/.*|\?)|\?.*|\d*|$)($|\:\d*($|\/|\?))/gim;
  38. if (!website.match(urlPattern)) {
  39. alert("Invalid URL");
  40. return;
  41. }
  42. var websitereplace = website.replace(/.*(\/\/|www.)/gim, '').split(/\/$/gim)[0];
  43. GM_xmlhttpRequest({
  44. method: "GET",
  45. url: 'https://www.google.com/search?q="' + websitereplace + '" -site:' + websitereplace,
  46. onload: function (response) {
  47. var popularity = response.responseText.split('<div id="r###lt-stats">').pop().split('<nobr>')[0];
  48. alert(popularity);
  49. }
  50. });
  51. });