|
| 1 | +# Magic Userscript+ |
| 2 | + |
| 3 | +> Finds available UserJS for current site. |
| 4 | +
|
| 5 | +*Fork of [Userscript+ : Show Site All UserJS](https://greasyfork.org/scripts/24508-userscript-show-site-all-userjs). Source code & authors information found [here](https://github.com/jae-jae/Userscript-Plus#userscript).* |
| 6 | + |
| 7 | +## Features |
| 8 | + |
| 9 | +*Recommended to install ["Greasyfork Search with Sleazyfork Results include"](https://greasyfork.org/scripts/23840)* |
| 10 | + |
| 11 | +> Currently [Userscript+](https://github.com/jae-jae/Userscript-Plus#userscript) can only find userscripts through [GreasyFork](https://greasyfork.org), I've added support for [SleazyFork](https://sleazyfork.org) along with a few additional features and tweaks! |
| 12 | +
|
| 13 | +* Tested and compatible with TamperMonkey n ViolentMonkey. |
| 14 | +* Trimmed / moved some @resources to this build. |
| 15 | +* Added [SleazyFork](https://sleazyfork.org). |
| 16 | +* Added Dark Theme. |
| 17 | +* Added extra @excludes. |
| 18 | +* Added built-in ["Greasyfork Search with Sleazyfork Results include"](https://greasyfork.org/scripts/23840) |
| 19 | + |
| 20 | +```bash |
| 21 | +let sleazyfork_redirect = false; // "true" to enable, "false" to disable |
| 22 | +``` |
| 23 | + |
| 24 | + |
| 25 | + |
| 26 | +*** |
| 27 | + |
| 28 | +**Chrome:** |
| 29 | + |
| 30 | +> **There are no excluded websites, use at your own risk.** |
| 31 | +
|
| 32 | +* ~~Chrome Web Store~~ |
| 33 | +* [GitHub Releases](https://github.com/magicoflolis/Userscript-Plus/releases) |
| 34 | + |
| 35 | +**Firefox:** |
| 36 | + |
| 37 | +> **There are no excluded websites, use at your own risk.** |
| 38 | +
|
| 39 | +* [Add-ons web site](https://addons.mozilla.org/firefox/addon/userscript-plus) |
| 40 | +* [GitHub Releases](https://github.com/magicoflolis/Userscript-Plus/releases) |
| 41 | + |
| 42 | +**User Script:** |
| 43 | + |
| 44 | +> The userscript **WON'T** work for all websites, [info.](#known-bugs) |
| 45 | +
|
| 46 | +* [Greasy Fork](https://greasyfork.org/scripts/421603) |
| 47 | +* [GitHub Direct Link](https://github.com/magicoflolis/Userscript-Plus/raw/master/dist/magic-userjs.user.js) |
| 48 | + |
| 49 | +**Manual:** |
| 50 | + |
| 51 | +Chromium |
| 52 | + |
| 53 | +* Download and unzip [latest release](https://github.com/magicoflolis/Userscript-Plus/releases) into desired folder. |
| 54 | +* Go to chromium/chrome *Extensions*. |
| 55 | +* Click to check *Developer mode*. |
| 56 | +* Click *Load unpacked extension...*. |
| 57 | +* In the file selector dialog: |
| 58 | + * Select the directory `userscript_for_tampermonkey-*` / desired folder. |
| 59 | + * Click *Open*. |
| 60 | + |
| 61 | +Firefox |
| 62 | + |
| 63 | +> See: [Temporary installation in Firefox](https://extensionworkshop.com/documentation/develop/temporary-installation-in-firefox) |
| 64 | +
|
| 65 | +* Download and unzip [latest release](https://github.com/magicoflolis/Userscript-Plus/releases) into desired folder. |
| 66 | +* Copy and paste `about:debugging#/runtime/this-firefox` into your URL. |
| 67 | +* Click *Load Temporary Add-on…*. |
| 68 | +* In the file selector dialog: |
| 69 | + * Select the directory `userscript_for_tampermonkey-*` / desired folder. |
| 70 | + * Click *Open*. |
| 71 | + |
| 72 | +*** |
| 73 | + |
| 74 | +## Known bugs |
| 75 | + |
| 76 | +* [ All ] May leave a opened tab when installing User Scripts. |
| 77 | +* [ User Script ] Found count may not appear. |
| 78 | +* [ User Script ] In some sites below the plug-in interface icon is not displayed |
| 79 | + |
| 80 | +> **Reason**:This is because the security policy of these sites to prevent the plug-in icon font file loading, resulting in the icon does not display properly. |
| 81 | +
|
| 82 | +## Build Setup |
| 83 | + |
| 84 | +> Additional help |
| 85 | +
|
| 86 | +* [web-ext documentation](https://extensionworkshop.com/documentation/develop/getting-started-with-web-ext/) |
| 87 | +* [http-server](https://github.com/http-party/http-server) |
| 88 | +* [How to edit scripts with your favorite editor?](https://violentmonkey.github.io/posts/how-to-edit-scripts-with-your-favorite-editor/#install-a-local-script) |
| 89 | + |
| 90 | +```bash |
| 91 | +# Install dependencies ( if error use npm i --force ) |
| 92 | +npm i |
| 93 | +# [ Production ] Builds both User Script and Browser Extension |
| 94 | +npm run build:all |
| 95 | +# [ Development ] User Script |
| 96 | +# Recommend bookmarking for faster deployment |
| 97 | +# http://localhost:8080/magic-userjs.user.js |
| 98 | +npm run dev:user |
| 99 | +npm run http-server |
| 100 | +# [ Development ] Browser Extension |
| 101 | +# For Firefox use web-ext |
| 102 | +# Recommended to create additional profile about:profiles |
| 103 | +web-ext run -p <profile> |
| 104 | +npm run dev:browser |
| 105 | +# For Chrome load unpacked, REPLACE manifest.json with chrome-manifest.json |
| 106 | +``` |
| 107 | + |
| 108 | +## License |
| 109 | + |
| 110 | +MIT |
| 111 | + |
| 112 | +### Contacts |
| 113 | + |
| 114 | +[GitHub](https://github.com/magicoflolis) |
| 115 | + |
| 116 | +[Twitter](https://twitter.com/for_lollipops) |
| 117 | + |
| 118 | +[Greasy Fork](https://greasyfork.org/users/166061) |
0 commit comments