webextensions-examples
native-messaging | webextensions-examples | |
---|---|---|
4 | 28 | |
11 | 3,963 | |
- | 0.9% | |
10.0 | 5.5 | |
over 1 year ago | 9 days ago | |
HTML | JavaScript | |
GNU General Public License v3.0 or later | Mozilla Public 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.
native-messaging
-
Is it just me, or is it much easier to make complicated applications in C++ than web?
For clarity Native Messaging is not a hack. https://github.com/browserext/native-messaging.
-
Implementing Native Messaging host in bash
``` // C++ Native Messaging host // https://browserext.github.io/native-messaging/ // https://developer.chrome.com/docs/apps/nativeMessaging/ // https://discourse.mozilla.org/t/webextension-with-native-messaging-c-app-side/30821
-
string to const char* for popen()
// C++ Native Messaging host // https://browserext.github.io/native-messaging/ // https://developer.chrome.com/docs/apps/nativeMessaging/ // https://discourse.mozilla.org/t/webextension-with-native-messaging-c-app-side/30821 // https://github.com/nlohmann/json \#include \#include "json.hpp" using namespace std; using namespace nlohmann; struct message\_t { string content; uint32\_t length; }; // Read a message from stdin and decode it. json get\_message() { char raw\_length\[4\]; fread(raw\_length, 4, sizeof(char), stdin); uint32\_t message\_length = \*reinterpret\_cast(raw\_length); if (!message\_length) {
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
What are some alternatives?
native-messaging-cpp - C++ Native Messaging host.
ff2mpv - A Firefox/Chrome add-on for playing URLs in mpv.
libdatachannel - C/C++ WebRTC network library featuring Data Channels, Media Transport, and WebSockets
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
captureSystemAudio - Capture system audio ("What-U-Hear")
webextension-polyfill - A lightweight polyfill library for Promise-based WebExtension APIs in Chrome
json_test_data - Test data for nlohmann/json
Ka-Block - A Safari extension that blocks an artisanal selection of advertising domains.
Neat-URL - Neat URL cleans URLs, removing parameters such as Google Analytics' utm parameters.
chrome-extensions-samples - Chrome Extensions Samples