Firefox 浏览器附加组件
  • 扩展
  • 主题
    • 适用于 Firefox
    • 字典和语言包
    • 其他浏览器网站
    • 适用于 Android 的附加组件
登录
Zoomimg 预览

Zoomimg 作者: Cosmin Ch

Whenever the mouse hovers over an image, bring it into front plan for a better inspection

0 (0 reviews)0 (0 reviews)
10 个用户10 个用户
您需要 Firefox 来使用此扩展
下载 Firefox 并安装扩展
下载文件

扩展元数据

屏幕截图
Popup settings pagePopup menuZoom screenNotification tabs
关于此扩展
What it does:
The extension includes:
  • a content script
  • a browser action with a popup including HTML, CSS, and JS
  • a settings page
  • keyboard shortcuts
  • notifications

Keyboard shortcuts:
  • Alt+1 = toggle popup window
  • Alt+2 = toggle enable/disable zoom
  • Alt+3 = toggle gallery
  • Alt+4 = open favorites
  • Alt+5 = open settings

When the user hovers over an image, after a user specified amount of time, the image will be zoomed in and given the option to be saved as a favorite or downloaded.

When the user clicks the browser action button, the popup is displayed, presenting the user with 5 options, Enable/Disable Zoom, Show Gallery, Favorites, Set Options and Back To Page.

The Disable/Enable Zoom is pretty self explanatory. Does what is says, can be activated with the Alt+2 keyboard shortcut and upon triggering it displays an appropriate notification bar.

The Show Gallery button, gathers all the loaded images on the website and displays them in tabular fashion, eliminating those that are too small or duplicates. It can be triggered with the Alt+3 keyboard combination accompanied by an appropriate notification.

The Favorites button, opens a new tab and shows all the images the user "favorited" along with the option of deleting selected pictures. Can be triggered with the Alt+4 keyboard combination along with an appropriate notification.

The Set options button takes the user to the settings page of the extension, where he/she can set the scaling of the image upon zooming, the duration until the zoom activates, the background color of the image gallery and favorites, the display options and the font color of the gallery and favorites using the extensions local storage. It can also be triggered with Alt+5 accompanied by an appropriate notification.

The Back to page button simply takes the user back from the gallery to the original website.

What it shows:
  • how to write a browser action with a popup
  • how to give the popup style and behavior using CSS and JS
  • how to send messages from the background scripts to a content script
  • how to use web accessible resources to enable web pages to load packaged content
  • how to write an options page that uses local storage
  • how to open a new tab with content coded by dev
  • how to add notifications
  • how to add keyboard shortcut commands

manifest.json keys:
  • applications
  • background
  • browser_action
  • commands
  • content_scripts
  • default_locale
  • options_ui
  • permissions
  • web_accessible_resources

APIs:
  • notifications.create()
  • notifications.onShown
  • i18n.getMessage()
  • tabs.sendMessage()
  • tabs.create()
  • tabs.query
  • runtime.openOptionsPage()
  • runtime.onMessage
  • storage.local.set()
  • storage.local.get()
评分 0(1 位用户)
登录以评价此扩展
目前尚无评分

已保存星级评分

5
0
4
0
3
0
2
0
1
0
尚无评价
权限与数据详细了解

必要权限:

  • 为您显示通知
  • 获取浏览器标签页
  • 访问您在所有网站的数据
更多信息
版本
2.1.4resigned1
大小
171.21 KB
上次更新
1 年前 (2024年4月25日)
相关分类
  • 照片、音乐和视频
  • 标签页
许可证
Mozilla 公共许可证 2.0
版本历史
  • 查看所有版本
添加到收藏集
举报此附加组件
Cosmin Ch 制作的更多扩展
  • 目前尚无评分

  • 目前尚无评分

  • 目前尚无评分

  • 目前尚无评分

  • 目前尚无评分

  • 目前尚无评分

转至 Mozilla 主页

附加组件

  • 关于
  • Firefox 附加组件博客
  • 扩展工坊
  • 开发者中心
  • 开发者政策
  • 社区博客
  • 论坛
  • 报告缺陷
  • 评价指南

浏览器

  • Desktop
  • Mobile
  • Enterprise

产品

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • 隐私
  • Cookie
  • 法律

除非另有注明,否则本网站上的内容可按知识共享 署名-相同方式共享 3.0 或更新版本使用。