DIY Ahrefs Bookmarklet Generator


3 minutes well-spent

You might have heard of bookmarklets before. Bookmarklets live in your browser bookmarks bar or folders, but instead of taking you to the same URL each time, they can do magical things!

The bookmarklets I’m about to share allow you to drop into specific dashboards in Ahrefs or Semrush.

One caveat, Semrush only works with organic and not backlinks due to the URL structure, but this works perfect in Ahrefs (if someone wants to get this fully working with Semrush, feel free to get in touch.

How to use the Ahrefs Bookmarklet Generator

First off, this is how it looks:

Step 1: make a copy of this sheet.

Step 2: Go to Ahrefs or Semrush and navigate to a your favorite dashboard. This sheet is fully functional for Ahrefs, but there are some limitations with Semrush due to the way the URLs are structured.

Step 3: Adjust any settings you in the dashboard. For example, with Ahrefs, I have chosen:

This will give me the question-based keywords ranking in position 1-10, sorted from highest CPC to lowest.

Step 4: copy the URL of this dashboard, in this case:

Step 5: Now take this URL and paste it into cell C2 of the bookmarklet generator.

Step 6: Now copy cell C4 of the bookmarklet generator.

Step 7: Create a bookmark in your browser from any page. Now edit that bookmark and in the URL field, paste in the JavsScript you copied from Cell C4. You may also wish to rename the bookmark something descriptive.

Now next time you’re on a page, all you need to do is click this bookmark and you will be dropped into the dashboard that shows the question-based keywords this page is ranking for sorted by CPC high to low!

The last thing I suggest you do is create a folder with all your favorite bookmarklets and don’t forgot to also bookmark your copy of the bookmarklet generator in that folder so you have easy access. Here’s a look at my Ahrefs bookmarklet folder:

If you come up with some cool bookmarklets please leave them in the comments below or get in touch with me steve (at) seonotebook (dot) com

Before we go, I wanted to give a shout out to Glen Allsopp who published this post that’s pack with a bunch of SEO bookmarklets. Thanks for putting these on my radar, Glen. You can also check out Glen’s Detailed Chrome extension that has a few of these bookmarklets built-in.

Another big thanks to Jack Vivan of for providing inspiration and finally to Mike Friedman of who was kind enough to test this with Semrush multiple times for me. Thanks guys!

2 Responses to " DIY Ahrefs Bookmarklet Generator "

  1. Shaikat Ray says:

    Great share Steve. Thanks very much.

  2. Jahir Rayhan says:

    This is quite amazing stuff. Thanks for sharing steve

Leave a Reply

Your email address will not be published.

× Close