All Projects → kyoshino → Simple Sidebar

kyoshino / Simple Sidebar

Licence: other
A sample bootstrapped extension to add a Web panel sidebar.

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to Simple Sidebar

firefox-containers-helper
Firefox multi-account containers are for power users. So is this. Adds bulk container interactivity features missing from the Mozilla Multi-Account Containers extension.
Stars: ✭ 32 (+220%)
Mutual labels:  firefox, firefox-extension
Google Music Hotkeys
Browser extension that adds keyboard control to Google / YouTube Music
Stars: ✭ 25 (+150%)
Mutual labels:  firefox, firefox-extension
browser-extension-boilerplate
A boilerplate template for building cross browser extensions (Chrome and Firefox).
Stars: ✭ 41 (+310%)
Mutual labels:  firefox, firefox-extension
page-shadow
A Chrome, Firefox, Opera and Edge extension to increase contrast, decrase brightness and invert color of websites
Stars: ✭ 14 (+40%)
Mutual labels:  firefox, firefox-extension
Browser Addon
Kee adds free, secure and easy password management features to your browser which save time and keep your private data more secure.
Stars: ✭ 386 (+3760%)
Mutual labels:  firefox, firefox-extension
AntiRickRoll
Chrome extension that blocks Rickrolls!
Stars: ✭ 22 (+120%)
Mutual labels:  firefox, firefox-extension
Bypass Paywalls Firefox
Bypass Paywalls for Firefox
Stars: ✭ 3,113 (+31030%)
Mutual labels:  firefox, firefox-extension
HomebrewOverlay
Browser extension adware (showHomebrewOverlayOuter)
Stars: ✭ 52 (+420%)
Mutual labels:  firefox, firefox-extension
Easy To Rss
🚀 Chrome/Firefox Extension to retreive RSS feeds URLs from WebSite, RSSHub supported
Stars: ✭ 386 (+3760%)
Mutual labels:  firefox, firefox-extension
Webextension Toolbox
Small CLI toolbox for cross-browser WebExtension development
Stars: ✭ 365 (+3550%)
Mutual labels:  firefox, firefox-extension
FirefoxSidebar
Vertical tab design for Firefox with dynamic indentation:: Sideberry and TreeStyleTabs (Legacy) themes available!
Stars: ✭ 64 (+540%)
Mutual labels:  firefox, firefox-extension
Markdown Viewer
Markdown Viewer / Browser Extension
Stars: ✭ 497 (+4870%)
Mutual labels:  firefox, firefox-extension
Session-resurrection
Save your browser sessions and restore them any time
Stars: ✭ 36 (+260%)
Mutual labels:  firefox, firefox-extension
paxmod
🕊️ Firefox add-on for multi-row tabs and site-dependent tab colors
Stars: ✭ 123 (+1130%)
Mutual labels:  firefox, firefox-extension
stylish-hub
🍹 A browser extension that brings new GitHub features and experience.
Stars: ✭ 14 (+40%)
Mutual labels:  firefox, firefox-extension
webpageScanner
Extension for Firefox
Stars: ✭ 16 (+60%)
Mutual labels:  firefox, firefox-extension
Socketify
Raw TCP and UDP Sockets API on Desktop Browsers
Stars: ✭ 67 (+570%)
Mutual labels:  firefox, firefox-extension
web-extension-boilerplate
The web extension boilerplate help to set up project quickly using typescript, jest, webpack, githook, prettier and github actions
Stars: ✭ 35 (+250%)
Mutual labels:  firefox, firefox-extension
Extanalysis
Browser Extension Analysis Framework - Scan, Analyze Chrome, firefox and Brave extensions for vulnerabilities and intels
Stars: ✭ 351 (+3410%)
Mutual labels:  firefox, firefox-extension
Simpread
简悦 ( SimpRead ) - 让你瞬间进入沉浸式阅读的扩展
Stars: ✭ 5,352 (+53420%)
Mutual labels:  firefox, firefox-extension

simple-sidebar

A sample bootstrapped extension to add a Web panel sidebar.

What's this?

The window.sidebar.addPanel function has been removed from Firefox 23. That means the ability to add a traditional sidebar panel is no longer available from Web content. Web publishers can still provide a Firefox sidebar either by the new Social API or a standalone Firefox extension.

For the convenience of Web developers, I have made a restartless extension that simply adds a Web panel, like the legacy API. You can utilize this work to create your own sidebar Web panel.

Update: Starting with Firefox 29, the new Sidebar API is available as part of the Firefox Add-on SDK. You may want to try it instead of this custom extension.

Update 2: Starting with Firefox 54, you can create a WebExtension with a sidebar. Given that WebExtensions will be the only supported extension type on Firefox 57 and later, you should be using the new API instead of this legacy extension or SDK.

Fork, Customize, Pack

This is just a sample extension. First, you have to fork or clone the repository and edit the code under the source directory.

  • bootstrap.js contains the logic as you can see. Change the basename variable to your own. You don't have to touch the other part of the code.
  • install.rdf contains the meta data. Modify the id, name, description, version, creator, homepageURL and localized properties. Remove the existing localized properties if you don't have any localization. See Install Manifests for details.
  • locales.json contains the localized strings as well as the sidebar URL. Add or remove your own locales. The shortcut-key and shortcut-modifiers properties set a keyboard shortcut to open and close the sidebar. In this sample, it will be Ctrl+Alt+P on Windows and Linux, Cmd+Alt+P on Mac. See Keyboard Shortcuts for details.

Once your customization is done, pack it. Archive those three files into a single ZIP file using your favorite archiver. A shell script using the 7-Zip command line program is also available under the bin directory. Note that archiving the containing source directory will not work. Archive the three files, then rename the ZIP file to an arbitrary name ending with a xpi file extension, like the sample simple-sidebar.xpi file under the bundles directory. That's it. Now you can drag and drop the XPI file onto your Firefox browser window to install. Hooray!

Questions?

Drop a line to Kohei.

License

MPL 2.0

Resources

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].