Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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/