Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Icon to view image #18

Open
LaraSQP opened this issue Dec 19, 2015 · 1 comment
Open

Icon to view image #18

LaraSQP opened this issue Dec 19, 2015 · 1 comment

Comments

@LaraSQP
Copy link

LaraSQP commented Dec 19, 2015

This is available from the regular FF context menu as "View Image". It would be great to have an icon for it since oftentimes images are scaled to fit a layout even though they are actually larger.

Thank you so much for this addon. It's a great time saver.

@LaraSQP
Copy link
Author

LaraSQP commented May 17, 2017

Tried replacing the code inside copy: function () with the one below but no luck:

var imageURL = (targetImage.tagName.toLowerCase() == "img") ? targetImage.src : targetImage.data;
    
gBrowser.loadURI(imageURL);

Anyone?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant