td-preco-teorico
webextensions-examples
Our great sponsors
td-preco-teorico | webextensions-examples | |
---|---|---|
1 | 24 | |
7 | 3,669 | |
- | 1.3% | |
1.3 | 3.5 | |
3 months ago | 20 days ago | |
JavaScript | JavaScript | |
Mozilla Public License 2.0 | 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.
td-preco-teorico
We haven't tracked posts mentioning td-preco-teorico yet.
Tracking mentions began in Dec 2020.
webextensions-examples
-
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.
-
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.
-
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
-
Executing shell scripts/command line without NODE
Yes it can, using Native Messaging https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Native_messaging. See https://github.com/mdn/webextensions-examples/pull/157.
-
'The best thing we can do today to JavaScript is to retire it,' says JSON creator Douglas Crockford • DEVCLASS
This is MDN's version of a Python Native Messaging host, including Python 2x version https://github.com/mdn/webextensions-examples/pull/157.
-
Browser Extension
https://extensionworkshop.com/ is pretty firefox-centric, but it does have a porting guide for chromium-based browsers. Similarly there's a bunch of examples to explore on github from Mozilla and from Google.
-
Show HN: Avatars for HN threads in 368 bytes
Why not create your own web extension? It will take just a few lines of code, you can look at this example for reference[0] (also on Github[1]).
[0]: https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/Web...
[1]: https://github.com/mdn/webextensions-examples/tree/master/bo...
-
string to const char* for popen()
I found WebExtension with Native messaging C++ App side where the C++ design is similar to the Python design in Fix native message examples with python3 #157 that I have been using capture_system_audio.py.
-
C++ equivalent of Python str([int('%02X' % i, 16) for i in chunk])
#!/usr/bin/env -S python3 -u # https://github.com/mdn/webextensions-examples/pull/157 import sys import json import struct import argparse import os import subprocess from shlex import split try: # Python 3.x version # Read a message from stdin and decode it. def getMessage(): rawLength = sys.stdin.buffer.read(4) if len(rawLength) == 0: sys.exit(0) messageLength = struct.unpack('@I', rawLength)[0] message = sys.stdin.buffer.read(messageLength).decode('utf-8') data = json.loads(message)["message"] sys.stdin.buffer.flush() return data # Encode a message for transmission, # given its content. def encodeMessage(messageContent): encodedContent = json.dumps(messageContent).encode('utf-8') encodedLength = struct.pack('@I', len(encodedContent)) return {'length': encodedLength, 'content': encodedContent} # Send an encoded message to stdout def sendMessage(encodedMessage): sys.stdout.buffer.write(encodedMessage['length']) sys.stdout.buffer.write(encodedMessage['content']) sys.stdout.buffer.flush() while True: receivedMessage = getMessage() process = subprocess.Popen(split(receivedMessage), stdout=subprocess.PIPE) os.set_blocking(process.stdout.fileno(), False) for chunk in iter(lambda: process.stdout.read(1024 * 1024), b''): if chunk is not None: encoded = str([int('%02X' % i, 16) for i in chunk]) sendMessage(encodeMessage(encoded)) except Exception as e: sys.stdout.buffer.flush() sys.stdin.buffer.flush() sys.exit(0)
- Ask HN: Browser-extension creators, how do you write for multiple browsers?
What are some alternatives?
libdatachannel - C/C++ WebRTC network library featuring Data Channels, Media Transport, and WebSockets
ff2mpv - A Firefox/Chrome add-on for playing URLs in mpv.
Neat-URL - Neat URL cleans URLs, removing parameters such as Google Analytics' utm parameters.
Ka-Block - A Safari extension that blocks an artisanal selection of advertising domains.
focus-ios - Firefox Focus for iOS
webextension-polyfill - A lightweight polyfill library for Promise-based WebExtension APIs in Chrome
native-messaging
stealth - :rocket: Stealth - Secure, Peer-to-Peer, Private and Automateable Web Browser/Scraper/Proxy
chrome-extensions-samples - Chrome Extensions Samples
Analise-Fundos-de-Investimento - Projeto de extração e análise de dados de Fundos de Investimentos Brasileiros
web-bugs - A place to report bugs on websites.
captureSystemAudio - Capture system audio ("What-U-Hear")