Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/webdeveric/over18-cookie
Set the over18 cookie automatically so you can skip Reddit's age gate.
https://github.com/webdeveric/over18-cookie
cookie reddit web-extension web-extensions
Last synced: 2 days ago
JSON representation
Set the over18 cookie automatically so you can skip Reddit's age gate.
- Host: GitHub
- URL: https://github.com/webdeveric/over18-cookie
- Owner: webdeveric
- License: mit
- Created: 2020-10-06T06:05:46.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2024-09-07T20:52:26.000Z (2 months ago)
- Last Synced: 2024-09-07T21:50:06.065Z (2 months ago)
- Topics: cookie, reddit, web-extension, web-extensions
- Language: JavaScript
- Homepage:
- Size: 1.17 MB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Over 18 Cookie
Set the over18 cookie automatically so you can skip Reddit's age gate.
## Install
https://addons.mozilla.org/en-US/firefox/addon/over-18-cookie/
## Local development
This runs `web-ext` and loads the extension in Firefox.
```shell
npm start
```This runs `web-ext` and loads the extension in Firefox and Chrome.
```shell
npm run start:both
```## Build the extension
This will build a `zip` file of the extension and put it in `./build`.
```shell
npm run build
```## Extension signing for Firefox
Define your api key / secret in your environment then run the following.
Credentials can be found at https://addons.mozilla.org/en-US/developers/addon/api/key/
This generates an `xpi` file and it will be put in `./build`.
```shell
npm run sign -- --api-key=$WEB_EXT_API_KEY --api-secret=$WEB_EXT_API_SECRET
```## Useful links
- https://hacks.mozilla.org/2019/10/developing-cross-browser-extensions-with-web-ext-3-2-0/
- https://extensionworkshop.com/documentation/develop/getting-started-with-web-ext/