Skip to content

Instantly share code, notes, and snippets.

@natzir natzir/Sistrix-This.js
Last active Jan 18, 2018

What would you like to do?
Sistrix This
javascript:(function(){var query,db,hostname,hostlength;hostlength = window.location.hostname.split(".").length;if (hostlength == 2){hostname=window.location.hostname.split(".")[0]+'.'+window.location.hostname.split(".")[1];}else if (hostlength == 3){hostname=window.location.hostname.split(".")[1]+'.'+window.location.hostname.split(".")[2];}else {hostname=window.location.hostname.split(".")[1]+'.'+window.location.hostname.split(".")[2]+'.'+window.location.hostname.split(".")[3];}query=prompt("Search keyword to see its ranking history for this domain (leave it empty to only see the domain visibility)", "");db=prompt("Sistrix data base (es, uk, us, de, it, fr, nl, pl, se, at, ch, br, tr)", "");if(query==null || query.length==0){location.href='https://'+db+''+hostname;}else{location.href='https://'+db+''+hostname+'/keyword/'+query;}})();

This comment has been minimized.

Copy link
Owner Author

commented Jan 16, 2018

C&P this code into a bookmark.
On the domain you’re currently on you will be able to:

  • quickly check the ranking history of a keyword you want
  • look at the domain visibility index if no keyword is searched
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.