Skip to content

Instantly share code, notes, and snippets.

@natzir
Created August 9, 2021 13:19
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save natzir/ff50e2ac8c12ee5b7607c37011d80379 to your computer and use it in GitHub Desktop.
Save natzir/ff50e2ac8c12ee5b7607c37011d80379 to your computer and use it in GitHub Desktop.
Bookmark to extract Sistrix keyword clusters
javascript:(function(){output="<html><head><title>Sistrix Clusters by @Natzir9</title></head><body><button onclick=\"tableToExcel('sistrixTable','Sistrix Clusters')\">Export Sistrix Clusters</button><table%20id=\"sistrixTable\"><tr><th>Keyword</th><th>Count</th><th>Volume</th></tr>";var myValue=document.getElementById('sidebar').getElementsByClassName('value number');for(var i=0;i<myValue.length;i+=3){output=output+"<tr><td>"+myValue[i].innerText+"</td><td>"+myValue[i+1].innerText+"</td><td>"+Math.round(myValue[i+2].innerText)+"</td></tr>";};output+="</table>";with(window.open()){document.write(output);document.body.appendChild(document.createElement('script')).src='https://bl.ocks.org/insin/raw/1031969/tableToExcel.js';document.close();}})();
@natzir
Copy link
Author

natzir commented Aug 9, 2021

export-sistrix-clusters

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment