Wednesday, September 28, 2016

Unblock images previously blocked on Firefox

Have you ever accidentally clicked "Block Image" while using Firefox and you didn't mean to?  I'm not sure if this is a bug on Mac OS Firefox or a more broad issue, but the documented solutions don't seem to be working for me.
  1. click on page info, media tab and make sure that "Block Images" is unchecked. It doesn't work for me.
  2. used the Firefox sqlite extension to browse through permissions.sqlite to try and find the blocked file and change its permissions; no luck there either. I even shut down Firefox,  renamed permissions.sqlite, and started up Firefox which creates a new permissions.sqlite db.  Still, the image was blocked.
Then I found a solution that does work.
  1. shut down Firefox
  2. navigate to your Firefox profile directory (e.g., '~/Library/Application Support/Firefox/Profiles/nge0hgfo.default')
  3. open './jetpack/image-blocker@erikvold.com/simple-storage/store.json' and remove the offending entries
  4. save file and close; start up Firefox again
The previously blocked images should be showing up again.
 https://gist.github.com/dcvezzani/b8457b3045cc648cd9d0e560a893446e