Suplimente pentru Firefox
  • Extensii
  • Teme
    • pentru Firefox
    • Dicționare și pachete lingvistice
    • Site-uri pentru alte browsere
    • Suplimente pentru Android
Intră în cont
Previzualizare Zoomimg

Zoomimg de Cosmin Ch

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

0 (0 revizuiri)0 (0 revizuiri)
11 utilizatori11 utilizatori
Descarcă Firefox și obține extensia
Descarcă fișierul

Metadate extensie

Capturi de ecran
Popup settings pagePopup menuZoom screenNotification tabs
Despre această extensie
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()
Evaluat cu 0 de către 0 recenzori
Intră în cont pentru a evalua această extensie
Nu există încă evaluări

Evaluarea prin stele a fost salvată

5
0
4
0
3
0
2
0
1
0
Nicio recenzie încă
Permisiuni și date

Permisiuni necesare:

  • Să îți afișeze notificări
  • Să acceseze filele browserului
  • Să îți acceseze datele pentru toate site-urile web
Află mai multe
Mai multe informații
Versiune
2.1.4resigned1
Mărime
171,21 KB
Ultima actualizare
2 ani în urmă (25 apr. 2024)
Categorii conexe
  • Foto, audio și video
  • File
Licență
Mozilla Public License 2.0
Istoricul versiunilor
  • Vezi toate versiunile
Adaugă în colecție
Raportează acest supliment
Du-te pe pagina de start Mozilla

Suplimente

  • Despre
  • Blog suplimente Firefox
  • Atelier de extensii
  • Centrul dezvoltatorilor
  • Politicile dezvoltatorilor
  • Blogul comunității
  • Forum
  • Raportează o defecțiune
  • Ghid pentru recenzii

Browsere

  • Desktop
  • Mobile
  • Enterprise

Produse

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • Confidențialitate
  • Cookie-uri
  • Mențiuni legale

Cu excepția cazurilor când se specifică altfel, conținutul de pe acest site este licențiat sub licența Creative Commons cu atribuire și distribuire în condiții identice v3.0 sau orice versiune ulterioară.