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

https://github.com/tientq64/userscripts

📜 The userscript collection I wrote makes life easier and better.
https://github.com/tientq64/userscripts

browser-extension chrome-extension greasyfork tampermonkey userscript userscript-collection userscripts

Last synced: 20 days ago
JSON representation

📜 The userscript collection I wrote makes life easier and better.

Awesome Lists containing this project

README

        

# 📜 UserScripts





The userscript collection I wrote makes life easier and better. I use the browser extension [TamperMonkey][1] to run and manage userscripts. You need to install it first to use userscript.



Name
Description
Daily installs
Total installs





Auto Skip YouTube Ads


Automatically skip YouTube ads instantly. Undetected by YouTube ad blocker warnings.










YouTube Shorts To Normal Video


Instantly redirect YouTube Shorts videos to normal video view, allowing you to save, download, choose quality, etc.










No Fullscreen Dropdown


Real fullscreen instead of fullscreen dropdown, very annoying when playing games. Useful for Microsoft Edge. Press Shift+F11 to toggle fullscreen.










Tetr.io Improvements


Provides improvements for Tetr.io game.








## 📖 Usage

### Install on GreasyFork (Recommended)

Visit a list of some of my userscripts on the GreasyFork website [here][2].

### Install on GitHub

Each folder in the [scripts](./scripts) folder contains a `script.user.js` file, which contains the script code. Click on that file, then click `Raw` button to install it.

## 🐛 Bug report

Report bugs [here](https://github.com/tientq64/userscripts/issues).

## 🛠️ Development guide

> This section is for developers. If you are a user, you can skip this section.

Clone this repository:

```cmd
git clone https://github.com/tientq64/userscripts.git
cd userscripts
```

Install `pnpm` if not installed:

```cmd
npm i -g pnpm
```

Install dependencies:

```cmd
pnpm install
```

Start:

```cmd
pnpm run watch
```

The `script.user.js` file is compiled from the `script.user.ts` or `script.user.tsx` file, so do not modify it.

While developing, instead of having to reinstall the `script.user.js` file every time it changes, installing the `dev.user.js` file solves that problem. But note, if you change in the metadata block, you have to reinstall the `dev.user.js` file.

Built-in Tailwind CSS integration, just declare in the metadata block and use:

```tsx
// ==UserScript==
// @resource TAILWINDCSS
// @grant GM_addStyle
// ==/UserScript==

const tailwindCss: string = GM_getResourceText('TAILWINDCSS')
GM_addStyle(tailwindCss)

const el: ReactElement =


```

Common type definitions are written in [`.resources/global.d.ts`](.resources/global.d.ts) file.

## ⚖️ License

All scripts are licensed under the [MIT](./LICENSE) license.

[1]: https://www.tampermonkey.net
[2]: https://greasyfork.org/en/users/1306283-tientq64