All Projects → jsmnbom → definitelytyped-firefox-webext-browser

jsmnbom / definitelytyped-firefox-webext-browser

Licence: MIT license
Script to generate TypeScript definitions for WebExtension Development in FireFox

Programming Languages

typescript
32286 projects
shell
77523 projects

Projects that are alternatives of or similar to definitelytyped-firefox-webext-browser

Multipletab
Multiple Tab Handler, Provides feature to close multiple tabs.
Stars: ✭ 67 (+179.17%)
Mutual labels:  firefox, webextensions
Page Translator
One-click in-line page translation for Firefox
Stars: ✭ 114 (+375%)
Mutual labels:  firefox, webextensions
Passwords Webextension
The official browser extension for the Passwords app for Nextcloud.
Stars: ✭ 68 (+183.33%)
Mutual labels:  firefox, webextensions
Scrollupfolder
A firefox addon wich goes up a folder of a website.
Stars: ✭ 18 (-25%)
Mutual labels:  firefox, webextensions
Smartproxy
Firefox/Chrome browser extension. SmartProxy will automatically enable/disable proxy for the sites you visit, based on customizable patterns.
Stars: ✭ 199 (+729.17%)
Mutual labels:  firefox, webextensions
Mue
Fast, open and free-to-use new tab page for modern browsers
Stars: ✭ 56 (+133.33%)
Mutual labels:  firefox, webextensions
Redux Webext
Redux for WebExtensions
Stars: ✭ 101 (+320.83%)
Mutual labels:  firefox, webextensions
Copy As Markdown
Copying Link, Image and Tab(s) as Markdown Much Easier.
Stars: ✭ 332 (+1283.33%)
Mutual labels:  firefox, webextensions
Treestyletab
Tree Style Tab, Show tabs like a tree.
Stars: ✭ 2,438 (+10058.33%)
Mutual labels:  firefox, webextensions
Addon
ClearURLs is an add-on based on the new WebExtensions technology and will automatically remove tracking elements from URLs to help protect your privacy.
Stars: ✭ 161 (+570.83%)
Mutual labels:  firefox, webextensions
News Feed Eradicator
A browser extension that deletes your news feed and replaces it with a nice quote
Stars: ✭ 690 (+2775%)
Mutual labels:  firefox, webextensions
Extension Create
Create modern cross-browser extensions with no build configuration.
Stars: ✭ 167 (+595.83%)
Mutual labels:  firefox, webextensions
Downthemall
The DownThemAll! WebExtension
Stars: ✭ 512 (+2033.33%)
Mutual labels:  firefox, webextensions
Persian Twitter
A WebExtension which improves Twitter & TweetDeck user experience for Persian users
Stars: ✭ 66 (+175%)
Mutual labels:  firefox, webextensions
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 (+1508.33%)
Mutual labels:  firefox, webextensions
Retrotxt
RetroTxt is the WebExtension that turns ANSI, ASCII, NFO text into in-browser HTML
Stars: ✭ 93 (+287.5%)
Mutual labels:  firefox, webextensions
fx-private-relay-add-on
Companion add-on for Firefox Relay. Keep your email safe from hackers and trackers. Make an email alias with one click, and keep your address to yourself.
Stars: ✭ 24 (+0%)
Mutual labels:  firefox, webextensions
Vertical Tabs Reloaded
Firefox add-on for arranging tabs vertically
Stars: ✭ 115 (+379.17%)
Mutual labels:  firefox, webextensions
Browser
The browser extension vault (Chrome, Firefox, Opera, Edge, Safari, & more).
Stars: ✭ 3,305 (+13670.83%)
Mutual labels:  firefox, webextensions
pontoon-addon
Tools for Pontoon and its integration into the browser.
Stars: ✭ 13 (-45.83%)
Mutual labels:  firefox, webextensions

DefinitelyTyped Firefox WebExt Browser

Script to generate type definitions for WebExtension Development in FireFox.

See the output at: DefinitelyTyped/DefinitelyTyped/types/firefox-webext-browser.

Install definitions using npm install @types/firefox-webext-browser.

Currently based on FIREFOX_78_0b4_RELEASE.

Usage

You should only need to do this if you wanna update the definitions, to just use them, see the npm install line above.

Install dependencies

$ npm install

Build typescript files. Either just once, or optionally watch for files changes. (execute only one of below commands)

$ npm run once
$ npm run watch

Download proper firefox sources to firefox/VERISION. See https://hg.mozilla.org/mozilla-unified/tags for available tags.

$ node build/download.js --tag <TAG> --out <OUTDIR>
$ node build/download.js --tag FIREFOX_63_0b6_RELEASE --out schemas

Then actually generate definitions

$ node build/index.js --version <FIREFOX VERSION> --out <OUTPUT_FILE> [SCHEMA_FOLDER]...
$ node build/index.js --version 63.0 --out index.d.ts schemas/FIREFOX_63_0b6_RELEASE/{browser,toolkit}

And place the generated index.d.ts in DefinitelyTyped/DefinitelyTyped/types/firefox-webext-browser.

Note that for sending PRs to DefinitelyTyped you need to include why you changed. For simple updates (FF version changes), this can be easily generated and uploaded to gist using the included script (requires the gist tool and that you are logged in):

diffgen FIREFOX_63_0b6_RELEASE FIREFOX_64_0b1_RELEASE
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].