|
1 | 1 | # Magic Userscript+ |
2 | 2 |
|
3 | | -> [09/09/21] Greasy Fork version may not work due to userscript library being removed. Use [GitHub](https://raw.githubusercontent.com/magicoflolis/Userscript-Plus/master/dist/magic-userjs.user.js) version for now. |
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).* |
| 3 | +*Fork of [Userscript+ : Show Site All UserJS](https://github.com/jae-jae/Userscript-Plus#userscript). Source code & authors information found [here](https://github.com/jae-jae/Userscript-Plus).* |
6 | 4 |
|
7 | 5 | > Finds available UserJS for current site. |
8 | 6 |
|
9 | | - |
| 7 | +| Preview(s) | |
| 8 | +|:----------:| |
| 9 | +| |
10 | 10 |
|
11 | 11 | *** |
12 | 12 |
|
13 | | -| Version | Link | Note | Alternative | Build | |
14 | | -|:----------:|:----------:|:----------:|:----------:|:----------:| |
15 | | -Chrome | ~~Install [Chrome Web Store]~~ | **There are no excluded websites, use at your own risk.** *Must be installed [manually](#manual-install).* | [Install [GitHub]](https://github.com/magicoflolis/Userscript-Plus/releases) | [Extension](#build-setup) |
16 | | -Firefox | [Install [Firefox Add-ons]](https://addons.mozilla.org/addon/userscript-plus) | **There are no excluded websites, use at your own risk.** *Can be installed [manually](#manual-install).* | [Install [GitHub]](https://github.com/magicoflolis/Userscript-Plus/releases) | [Add-on](#build-setup) |
17 | | -Userscript | [Install](#install-area) | The userscript **WON'T** work for all websites, [info](#known-bugs). | [Install [GitHub]](https://raw.githubusercontent.com/magicoflolis/Userscript-Plus/master/dist/magic-userjs.user.js) | [Userscript](#build-setup) |
| 13 | +| Version | Link | Alternative | Note | |
| 14 | +|:----------:|:----------:|:----------:|:----------:| |
| 15 | +Chrome / Edge | - | - | Work in progress |
| 16 | +Firefox | - | - | Work in progress |
| 17 | +Userscript | [Greasy Fork](https://greasyfork.org/scripts/421603) | [Install (GitHub)](https://github.com/magicoflolis/Userscript-Plus/releases/latest/download/magic-userjs.user.js) | - |
18 | 18 |
|
19 | 19 | *** |
20 | 20 |
|
21 | 21 | ## Features |
22 | 22 |
|
23 | | -**_Optional_** *install [Greasyfork Search with Sleazyfork Results include](https://greasyfork.org/scripts/23840).* |
24 | | - |
25 | | -> Currently [Userscript+](https://github.com/jae-jae/Userscript-Plus#userscript) can only find userscripts through __GreasyFork__, I've added support for __SleazyFork__ along with a few additional features and tweaks! |
26 | | -
|
27 | 23 | * Tested and compatible with TamperMonkey n ViolentMonkey. |
28 | 24 | * Trimmed / moved some @resources to this build. |
29 | 25 | * Added [SleazyFork](https://sleazyfork.org). |
30 | 26 | * Added Dark Theme. |
31 | 27 | * Added extra @excludes. |
32 | 28 | * Added built-in [Greasyfork Search with Sleazyfork Results include](https://greasyfork.org/scripts/23840). |
| 29 | +* Added ability to customize width. |
33 | 30 |
|
34 | | -```bash |
35 | | -let sleazyfork_redirect = false; // "true" to enable, "false" to disable |
| 31 | +```JS |
| 32 | +const sleazyfork_redirect = false, // 'true' to enable, 'false' to disable |
| 33 | +custom_width = '', // Default UserJS width: 90vw | Original UserJS width: 860px |
| 34 | +... |
36 | 35 | ``` |
37 | 36 |
|
38 | 37 | ## Known bugs |
39 | 38 |
|
40 | | -* [ User Script ] *May* conflict with a few running user scripts. (Example: [Twitter External Translator](https://greasyfork.org/scripts/421643)) |
| 39 | +* [ Chinese ] List may not display properly. |
| 40 | +* [ User Script ] *May* conflict with any UserJS that runs in iframes. |
41 | 41 | * [ All ] May leave a opened tab when installing user scripts. |
42 | 42 | * [ User Script ] Found count may not appear. |
43 | 43 | * [ User Script ] In some sites below the plug-in interface icon is not displayed |
44 | 44 |
|
45 | 45 | > **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. |
46 | 46 |
|
47 | | -## Manual Install |
48 | | - |
49 | | -Chromium |
50 | | - |
51 | | -* Download and unzip [latest release](https://github.com/magicoflolis/Userscript-Plus/releases) into desired folder. |
52 | | -* Go to chromium/chrome *Extensions*. |
53 | | -* Click to check *Developer mode*. |
54 | | -* Click *Load unpacked extension...*. |
55 | | -* In the file selector dialog: |
56 | | - * Select the directory `userscript_for_tampermonkey-*` / desired folder. |
57 | | - * Click *Open*. |
58 | | - |
59 | | -Firefox |
60 | | - |
61 | | -> See: [Temporary installation in Firefox](https://extensionworkshop.com/documentation/develop/temporary-installation-in-firefox) |
62 | | -
|
63 | | -* Download and unzip [latest release](https://github.com/magicoflolis/Userscript-Plus/releases) into desired folder. |
64 | | -* Copy and paste `about:debugging#/runtime/this-firefox` into your URL. |
65 | | -* Click *Load Temporary Add-on…*. |
66 | | -* In the file selector dialog: |
67 | | - * Select the directory `userscript_for_tampermonkey-*` / desired folder. |
68 | | - * Click *Open*. |
69 | | - |
70 | | -## Build Setup |
71 | | - |
72 | | -> Developed using [VSCodium](https://vscodium.com). |
73 | | -
|
74 | | -| Help Links | |
75 | | -|:----------:| |
76 | | -[web-ext documentation](https://extensionworkshop.com/documentation/develop/getting-started-with-web-ext/) | |
77 | | -[http-server](https://github.com/http-party/http-server) | |
78 | | -[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) | |
79 | | - |
80 | | -```bash |
81 | | -# Install dependencies ( if error use npm i --force ) |
82 | | -npm i |
83 | | -# [ Production ] Builds both User Script and Browser Extension |
84 | | -npm run build:all |
85 | | -# [ Development ] User Script |
86 | | -# Recommend bookmarking for faster deployment |
87 | | -# http://localhost:8080/magic-userjs.user.js |
88 | | -npm run dev:user |
89 | | -npm run http-server |
90 | | -# [ Development ] Browser Extension |
91 | | -# For Firefox use web-ext |
92 | | -# Recommended to create additional profile about:profiles |
93 | | -web-ext run -p <profile> |
94 | | -npm run dev:browser |
95 | | -# For Chrome load unpacked, REPLACE manifest.json with chrome-manifest.json |
96 | | -``` |
97 | | - |
98 | 47 | ## Source Code |
99 | 48 |
|
100 | | -* [GitHub](https://github.com/magicoflolis/Userscript-Plus) |
101 | | - |
102 | | -### License |
103 | | - |
104 | | -MIT |
| 49 | +* [https://github.com/magicoflolis/Userscript-Plus/tree/master/src](https://github.com/magicoflolis/Userscript-Plus/tree/master/src) |
105 | 50 |
|
106 | 51 | ### Contacts |
107 | 52 |
|
|
0 commit comments