Skip to content

Instantly share code, notes, and snippets.

View bKNN's full-sized avatar
:atom:
<3

Pierrick bKNN

:atom:
<3
View GitHub Profile
@bKNN
bKNN / Responsinator.js
Last active November 12, 2018 10:31
BOOKMARKLET - test responsive websites on different device resolutions.
javascript:(function(w){var Y=w.open("https://www.responsinator.com/?scroll=ext&url="+document.location.href);Y.focus()})(window);
@bKNN
bKNN / Highlight-DoFollow.js
Last active November 12, 2018 10:32
BOOKMARKLET - Highlight DoFollow
javascript:var t=document.getElementsByTagName('a');for(i=0;i<t.length;i++){if((t[i].rel.toLowerCase()!='nofollow') | (t[i].rel.toLowerCase()!='external nofollow')){void(t[i].style.color='green');void(t[i].style.background='yellow');void(t[i].style.borderStyle='solid dotted');void(t[i].style.fontSize='2em');}}
@bKNN
bKNN / Heading-verificator.js
Last active November 12, 2018 10:32
BOOKMARKLET - Show H1, H2, H3... instantly on the page
javascript:void((function(){var a,b,c,d,e,f;f=new Array('pink','orange','yellow','aquamarine','lightskyblue','plum');for(a=1;a<=6;a++){b=document.getElementsByTagName('h'+a);for(c=0;c<b.length;c++){d=b[c];e=d.style;e.backgroundColor=f[a-1];e.border='solid';e.padding='2px';e.color='black';d.innerHTML='H'+a+' - '+d.innerHTML;}}})())
@bKNN
bKNN / Cmd-Link.js
Last active November 12, 2018 10:32
BOOKMARKLET - CMD Google link:
@bKNN
bKNN / Webarchive.js
Last active November 12, 2018 10:33
BOOKMARKLET - Open the website on Webarchive
javascript:location.href='http://web.archive.org/web/*/'+window.location.href;
@bKNN
bKNN / BackTweet.js
Last active November 12, 2018 10:33
BOOKMARKLET - Twitter history of the URL
javascript:location.href='http://backtweets.com/search?q='+window.location.href;
@bKNN
bKNN / Robots-txt.js
Last active November 12, 2018 10:33
BOOKMARKLET - Find robots.txt of the website
javascript:void(location.href='http://' + location.host + '/robots.txt')
@bKNN
bKNN / MajesticSEO-Domain.js
Last active November 12, 2018 10:33
BOOKMARKLET - MajecticSEO Search
javascript:(function(){ window.open('http://www.majesticseo.com/reports/site-explorer?folder=&q='+encodeURIComponent(location.href))})();
@bKNN
bKNN / AHREF-Domain-Checker.js
Last active November 12, 2018 10:33
BOOKMARKLET - AHREF Domain Checker
javascript:(function(){ window.open('https://ahrefs.com/site-explorer/overview/subdomains/'+location.host)})();
@bKNN
bKNN / On-Site-SEO.js
Last active November 12, 2018 10:33
BOOKMARKLET - On Site SEO fast checker
javascript:function run(){var d=document,da=new Date(),b=d.body,p=('https:' == document.location.protocol ? 'https://' : 'http://'),ex=d.getElementById('twkmSEOScript');try{if(!b)throw(0);if(!ex){z=d.createElement('scr'+'ipt');z.setAttribute('src',p+'twkm.ca/min/f=gadgets/resources/seo-bookmarklet/seo-stable.js?ts='+da.getTime());z.setAttribute('id','twkmSEOScript');z.setAttribute('class','025');b.appendChild(z);}}catch(e){alert('Please wait until the page has loaded.');}}run();void(0)