Skip to content

Instantly share code, notes, and snippets.

@natzir
natzir / Sistrix-This.js
Last active December 19, 2022 11:40
Sistrix This
View Sistrix-This.js
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+'.sistrix.com/'+hostname;}else{location.href='https://'+db+'.sistrix.com/seo/ranking_history/domain/'+hostname+'/keyword/'+query;}})();
View seo-forecast.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View causal_impact_notebook_r.Rmd
---
title: "Causal Impact"
output: causal_impact_notebook
---
```{r}
install.packages("devtools")
install.packages("curl")
install_github("skardhamar/rga")
install.packages("CausalImpact")
```
View meta-queries.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View Booster.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@natzir
natzir / Google-Image-Entity-Extractor.js
Last active December 19, 2022 11:40
Google Images Entity Extractor
View Google-Image-Entity-Extractor.js
javascript:(function(){output="<html><head><title>Google Images Entity Extractor</title></head><body>";var imageEntity = document.getElementsByClassName(" PKhmud sc-it tzVsfd");for(var i = 0; i < imageEntity.length; i++){var entity = imageEntity[i].innerText;output+=entity+"<br />";};with(window.open()){document.write(output);document.close();}})();
@natzir
natzir / Semrush-Export-Clusters.js
Last active December 19, 2022 11:40
Export SEMRush Keyword Clusters
View Semrush-Export-Clusters.js
javascript:(function(){output="<html><head><title>Semrush Clusters Extractor</title></head><body><button onclick=\"tableToExcel('semrushTable', 'SEMRush Clusters')\">Export SEMRush Clusters</button><table%20id=\"semrushTable\"><tr><th>Keyword</th><th>Volume</th></tr>";var myCluster = document.getElementsByClassName('sm-groups-item-layout');for(var i = 1; i < myCluster.length; i++){var keyword = myCluster[i].innerText.replace(/,/g,'');output=output + "<tr><td>" + keyword.replace(/\s/g,'</td><td>') +"</tr></td>";};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();}})();
View semantic_crosslinking.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View SERP-analysis.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View bubbles.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.