Refreshing Firefox New Tab Icons

2016-11-08 14:32 - Tech

I like the Firefox "New Tab" page. But sometimes it picks stale thumbnails (like, the login page and not the real page) and keeps them around forever. If you open up Scratchpad and set the Browser execution environment, focus a tab on the page whose icon is stale, and run:

Cu.import("resource://gre/modules/PageThumbs.jsm"); 
PageThumbs.captureAndStore(gBrowser, function() {});

It will refresh the thumbnail for that page based on the current browser's viewport. At least sometimes.

Comments:

No comments!

Post a comment:

Username
Password
  If you do not have an account to log in to yet, register your own account. You will not enter any personal info and need not supply an email address.
Subject:
Comment:

You may use Markdown syntax in the comment, but no HTML. Hints:

If you are attempting to contact me, ask me a question, etc, please send me a message through the contact form rather than posting a comment here. Thank you. (If you post a comment anyway when it should be a message to me, I'll probably just delete your comment. I don't like clutter.)