[英]XUL - Access to image information
I trying to figure out how to write a Firefox extension that would give image information when i right-click on the image. 我试图弄清楚如何编写一个Firefox扩展,当我右键单击图像时会提供图像信息。 Basically, I want image path when user right-clicks on the image.
基本上,我需要用户右键单击图像时的图像路径。
Any help would be greatly appreciated. 任何帮助将不胜感激。
Thanks. 谢谢。
https://developer.mozilla.org/En/XUL https://developer.mozilla.org/En/XUL
check out the tutorial for menus and popup guides 查看教程中的菜单和弹出指南
https://developer.mozilla.org/en/XUL/PopupGuide https://developer.mozilla.org/en/XUL/PopupGuide
from here then look at looking at the DOM and pick the element of interest in this case the image and happy days 然后从这里查看DOM并选择感兴趣的元素(在这种情况下,图像和快乐的日子)
Good luck 祝好运
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.