dadler / thumbnail-zoom

Thumbnail Zoom Plus is a Firefox plug-in which shows a full-size image pop-up when you hover over a thumbnail or image link. When you hover your mouse over a thumbnail or an image or video link, the add-on displays the full-size image or video still-frame in a floating window. Supported sites include Amazon, Bing, Facebook, Flickr, Google, IMDb, LinkedIn, Netflix, Pinterest, Reddit, Tumblr, Twitter, Yandex.ru, YouTube, Wikipedia, WordPress, Yahoo Images, and many more.
30 stars 7 forks source link

Allows hosting pages to be usable under the "file:" protocol #210

Closed Hakkin closed 9 years ago

Hakkin commented 9 years ago

Fixes #209 This only applies to pages loaded as non-strict (image nodes are loaded as strict at https://github.com/dadler/thumbnail-zoom/blob/master/src/chrome/content/overlay.js#L1732)

You can test this by running TestCase.html locally, everything should work except the gradient image test and the existing host test, since both fall under the "file://" protocol, and of course the "Security" section should work the same as before.