webextensions-examples
chrome-extensions-samples
Our great sponsors
webextensions-examples | chrome-extensions-samples | |
---|---|---|
28 | 27 | |
3,953 | 14,254 | |
1.2% | 2.3% | |
5.5 | 8.5 | |
5 days ago | 7 days ago | |
JavaScript | JavaScript | |
Mozilla Public License 2.0 | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
webextensions-examples
-
Browser extensions are underrated: the promise of hackable software
Check out Firefox examples on github, you’ll like it, I’ve had great experience learning from them to add nifty features to my browser:
https://github.com/mdn/webextensions-examples
- Example Firefox add-ons created using the WebExtensions API
-
Firefox Extension Development Resources
This is a place to start https://github.com/mdn/webextensions-examples.
-
Firefox: <input> picker was blocked due to lack of user activation when programmatically trying to open File Load dialog
I downloaded Content script registration repository from MDN webextensions-examples on GitHub.
-
When do you think X.org will become "officially" deprecated?
In some cases it does Banning a user doesn't magically make your bugs go away; Can't get response in Ubuntu #506.
-
My first Firefox extension
It's pretty straightforward with the provided example.
-
[firefox extension development] How to log in to the console from the extension?
I tried a couples: for example this one is working perfectly but not printing using console.log https://github.com/mdn/webextensions-examples/tree/main/commands
-
I made a Light / Dark mode toggle button for Firefox, Toggley. Available on Mozilla Add-ons.
I believe there are already extensions for that. In fact, there's even one on the Mozilla Developer Network's GitHub called Theme Switcher which is essentially a dropdown menu with all of your themes.
-
Why doesn't Python Native Messaging host process up to 1MB stdin?
I modified this https://github.com/mdn/webextensions-examples/blob/main/native-messaging/app/ping_pong.py example Python Native Messaging host slightly to point to python3 on the shebang line and pass -u to python3
-
I want to make a search engine extension. But I don't know how.
You dont need much. You can use this https://github.com/mdn/webextensions-examples/tree/master/discogs-search as a template
chrome-extensions-samples
-
How do I make this extension?
You should be using the context menu API. You can check out some of the examples to have a better idea. This single file should get you all the info you need - context menu basic example.
-
How to objectively value code refactoring?
Hell, I even included the fix for the broken Google Chrome chrome-extensions samples Python Native Messaging host in a PR I filed to update their sample https://github.com/GoogleChrome/chrome-extensions-samples/pull/617/commits/c26521ed60d6028dd73c84a2b726a1889b6616f7.
-
How can I do this in manifest v3 too in my chrome extention.
There are some examples here https://github.com/GoogleChrome/chrome-extensions-samples/issues/662 and here https://github.com/GoogleChrome/chrome-extensions-samples/issues/784.
-
When do you think X.org will become "officially" deprecated?
What happens when you try to run this Native Messaging host application https://github.com/GoogleChrome/chrome-extensions-samples/blob/main/_archive/mv2/api/nativeMessaging/host/native-messaging-example-host on your current machine without modifying anything in the file or installing a package that links python to Python 2 and not Python 3?
-
10 Coding Projects to Impress Employers and Land Your Dream Job 😎
Chrome Extension Examples - a collection of sample Chrome extensions to learn from
- [AskJS] What are the worst case scenarios for programmatically setting arbitrary Web pages (Origins) as Client or WindowClient of a ServiceWorker?
-
Rookie question: How do I know I am making progress with my JS learning?
Another more involved challenge: Transfer (e.g., using Transferable objects) an ArrayBuffer from a ServiceWorker to an arbitrary Web page not controlled by or in the scope of the ServiceWorker - without using an element https://github.com/GoogleChrome/chrome-extensions-samples/issues/766.
-
How do I use this python parameter in javascript?
You can use Native Messaging to connect to and communicate with a native host, e.g., Python, from JavaScript client in the browser, see https://github.com/GoogleChrome/chrome-extensions-samples/pull/617/commits/a06b4e37b7a095f845a321b0cd7adac5a3b41f02.
-
Is there any way to programmatically set an MV3 ServiceWorker's WindowClient?
Take the time to carefully read this Google Chrome extension samples issue Sample: Transfer a blob from a background context to a page #766.
-
Content Security Policy Error for Chrome Extension
You can use declarativeNetRequest to remove content-security-policy for specific Web sites or all Web sites, see https://github.com/guest271314/remove-csp-header; https://github.com/GoogleChrome/chrome-extensions-samples/issues/662.
What are some alternatives?
ff2mpv - A Firefox/Chrome add-on for playing URLs in mpv.
octotree - GitHub on steroids
focus-ios - ⚠️ Firefox Focus (iOS) has moved to a new repository. It is now developed and maintained as part of: https://github.com/mozilla-mobile/firefox-ios
react-native-universal-monorepo - React Native boilerplate supporting multiple platforms: Android, iOS, macOS, Windows, web, browser extensions, Electron.
webextension-polyfill - A lightweight polyfill library for Promise-based WebExtension APIs in Chrome
vanced-website-v2 - Source Code of the Vanced Website
native-messaging
wpt - Test suites for Web platform specs — including WHATWG, W3C, and others
Ka-Block - A Safari extension that blocks an artisanal selection of advertising domains.
tampermonkey - Tampermonkey is the most popular userscript manager, with over 10 million users. It's available for Chrome, Microsoft Edge, Safari, Opera Next, and Firefox.
libdatachannel - C/C++ WebRTC network library featuring Data Channels, Media Transport, and WebSockets
browser_extension - A browser extension that redirects popular sites to alternative privacy friendly frontends