webextensions-examples
proposal-type-annotations
webextensions-examples | proposal-type-annotations | |
---|---|---|
28 | 101 | |
3,983 | 4,108 | |
0.8% | 0.4% | |
4.9 | 4.7 | |
24 days ago | 3 months ago | |
JavaScript | JavaScript | |
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.
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
proposal-type-annotations
-
Bun 1.1
That proposal is not fully compatible with Typescript: https://github.com/tc39/proposal-type-annotations?tab=readme...
-
Go 1.22 Release Notes
They held a meeting a few months ago so it's alive but probably still years away.
https://github.com/tc39/proposal-type-annotations/issues/184
-
[AskJS] Kicking a dead horse - TS vs JS
I particularly like this thread in the TC39 types proposal. TypeScript IS a development trojan horse and locks you into the Microsoft Way of being a JS developer.
- Strong static typing, a hill I'm willing to die on...
-
HTML First – Six principles for building simple, maintainable, web software
Edit: There is a proposal to extend JavaScript with type annotations, which would allow ("a reasonably large subset") of TypeScript to run directly in the browser. Yay!
https://github.com/tc39/proposal-type-annotations
-
Building React Components Using Unions in TypeScript
More importantly, TypeScript typically commits to build things into itself when the proposal in JavaScript reaches Stage 3. The pattern matching proposal in JavaScript is Stage 1, but depends on many other proposals as well that may or may not need to be at Stage 3 as well for it to work. This particular proposal is interested on pattern matching on JavaScript Objects and other primitives, just like Python does with it’s native primitives. These are also dynamic types which helps in some areas, but makes it harder than others. Additionally, the JavaScript type annotations proposal needs to possibly account for this. So it’s going to be awhile. Like many years.
-
Show HN: Conway's Game of Life in TypeScript's type system
this is exactly what I want from the _Types as Comments_ proposal[0] as I think it's the only way that types can feasibly become part of the language. It's hard to imagine how all of the concepts TS introduces via special syntax can be covered otherwise.
[0] https://tc39.es/proposal-type-annotations
-
Why Htmx Does Not Have a Build Step
Crossing my fingers that the proposal for allowing (browser-ignored) type annotations in javascript progresses: https://tc39.es/proposal-type-annotations/
Between that, HTTP2/3 and ES modules many of the downsides for building apps with no compile step are almost completely mitigated.
-
TypeScript Without Transpilation
JSDoc can get you pretty far, but it can be clumsy sometimes. There’s a [TC39 proposal](https://github.com/tc39/proposal-type-annotations) to allow types to live in JS code and be treated as comments (similar with Python types today)
- Do you think typescript will ever have native support on brosers? Or we will have only the JS type annotations?
What are some alternatives?
ff2mpv - A Firefox/Chrome add-on for playing URLs in mpv.
astexplorer - A web tool to explore the ASTs generated by various parsers.
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
Scala.js - Scala.js, the Scala to JavaScript compiler
webextension-polyfill - A lightweight polyfill library for Promise-based WebExtension APIs in Chrome
rescript-compiler - The compiler for ReScript.
native-messaging
Carp - A statically typed lisp, without a GC, for real-time applications.
Ka-Block - A Safari extension that blocks an artisanal selection of advertising domains.
d2-playground - An online runner to play, learn, and create with D2, the modern diagram scripting language that turns text to diagrams.
libdatachannel - C/C++ WebRTC network library featuring Data Channels, Media Transport, and WebSockets
proposal-record-tuple - ECMAScript proposal for the Record and Tuple value types. | Stage 2: it will change!