SEO Bookmarklets

There are a lot of SEO tools out there that don’t do anything you couldn’t do on your own, but help you do something more efficiently. This is the category that bookmarklets fall into. Sure, they aren’t giving you added insight, but they make you more efficient!

If you want to know what the canonical tag is for a page that you are looking at, looking at the source code and then hitting ctrl + f and entering “canonical” is more time consuming than difficult. I use several different bookmarklets to more efficiently answer questions like:

  • What is the canonical is for this page?
  • Does this page have meta robots tags?
  • Are rel=next/prev on this page?

 

Below are 9 bookmarklets that I use every day. To get them for yourself, simply drag the indicated link into your bookmarks bar and you’re good to go.

Meta Info

Canonical

Code:
javascript: (function () { var url = document.location; var links = document.getElementsByTagName('link'); var found = 'none'; for (var i = 0, l; l = links[i]; i++) { if (l.getAttribute('rel') == 'canonical') { found = l.getAttribute('href'); break; } } alert(found); })();

Canonical

Meta Robots

Code
javascript: (function () { var url = document.location; var links = document.getElementsByTagName('meta'); var found = 'none'; for (var i = 0, l; l = links[i]; i++) { if (l.getAttribute('name') == 'robots') { found = l.getAttribute('content'); break; } } alert(found); })();

Meta Robots

Meta Keywords

Code
javascript: (function () { var url = document.location; var links = document.getElementsByTagName('meta'); var found = 'none'; for (var i = 0, l; l = links[i]; i++) { if (l.getAttribute('name') == 'keywords') { found = l.getAttribute('content'); break; } } alert(found); })();

Meta Keywords

Meta Description

Code
javascript: (function () { var url = document.location; var links = document.getElementsByTagName('meta'); var found = 'none'; for (var i = 0, l; l = links[i]; i++) { if (l.getAttribute('name') == 'description') { found = l.getAttribute('content'); break; } } alert(found); })();

Meta Description

Rel Next

Code
javascript: (function () { var url = document.location; var links = document.getElementsByTagName('link'); var found = 'none'; for (var i = 0, l; l = links[i]; i++) { if (l.getAttribute('rel') == 'next') { found = l.getAttribute('href'); break; } } alert(found); })();

Rel Next

Rel Prev

Code
javascript: (function () { var url = document.location; var links = document.getElementsByTagName('link'); var found = 'none'; for (var i = 0, l; l = links[i]; i++) { if (l.getAttribute('rel') == 'prev') { found = l.getAttribute('href'); break; } } alert(found); })();

Rel Prev

Sharing

URL Shares

Code
javascript:location.href='http://sharedcount.com/dashboard.php?urls='+escape(location.href);

URL Shares

Domain Setup

HTTP Headers Check

Code
javascript:function getsld() {var url = window.parent.location.href;window.parent.location.href='http://www.webconfs.com/http-header-check.php?submit=submit&url='+url;}getsld();

HTTP Headers

Whois Lookup

Code
javascript:ku9eg=window.location.href;ku9eg=ku9eg.split('/');ku9eg=ku9eg[2].split('.');ku9eg=ku9eg[ku9eg.length-2]+'.'+ku9eg[ku9eg.length-1];location.href='http://www.whois.sc/'+ku9eg;

Whois Lookup

More Bookmarklet Resources

Check out these bookmarklets at Content Harmony.

Submit a Comment

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>