Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/natsuneko-laboratory/copy-fixed-twitter-url

Twitter Extensions for adding a new item to share button
https://github.com/natsuneko-laboratory/copy-fixed-twitter-url

Last synced: 4 days ago
JSON representation

Twitter Extensions for adding a new item to share button

Awesome Lists containing this project

README

        

# Copy Fixed Twitter URL

> Add-on for adding new items to Twitter share buttons. This extension adds a "Copy link as..." button to the share button in Twitter's tweet (post) details. As a result, when you link to Discord, for example, the tweet will not be expanded, and you will not have to manually modify the link to fxtwitter.com, etc.

Install for Firefox: https://addons.mozilla.org/ja/firefox/addon/copy-fixed-twitter-url/
Install for Chromium: https://chromewebstore.google.com/detail/nbjdfangdmhahchhbjihbjcgpkanifik

## Development

### Installing

1. Check if your `Node.js` version is >= **14**.
2. Change or configurate the name of your extension on `src/manifest`.
3. Run `npm install` to install the dependencies.

### Developing

run the command

```shell
$ cd copy-fixed-twitter-url

$ npm run dev
```

#### Chrome Extension Developer Mode

1. set your Chrome browser 'Developer mode' up
2. click 'Load unpacked', and select `copy-fixed-twitter-url/build` folder

#### Nomal FrontEnd Developer Mode

1. access `http://0.0.0.0:3000/`
2. when debugging popup page, open `http://0.0.0.0:3000//popup.html`
3. when debugging options page, open `http://0.0.0.0:3000//options.html`

### Packing

After the development of your extension run the command

```shell
$ npm run build
```

Now, the content of `build` folder will be the extension ready to be submitted to the Chrome Web Store. Just take a look at the [official guide](https://developer.chrome.com/webstore/publish) to more infos about publishing.

---

Generated by [create-chrome-ext](https://github.com/guocaoyi/create-chrome-ext)