You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+34-15Lines changed: 34 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,16 +1,23 @@
1
-
# Magics Userscript+
1
+
# Magic Userscript+
2
2
3
3
> Finds available UserJS for current site.
4
4
5
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
6
7
7
## Features
8
8
9
+
*Recommended to install ["Greasyfork Search with Sleazyfork Results include"](https://greasyfork.org/scripts/23840)*
10
+
9
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!
10
12
11
-
* Added [SleazyFork](https://sleazyfork.org).
12
13
* Tested and compatible with TamperMonkey n ViolentMonkey.
13
-
*[ Browser Extension ] Added Dark Theme.
14
+
* Added [SleazyFork](https://sleazyfork.org).
15
+
* Added Dark Theme.
16
+
* Added built-in ["Greasyfork Search with Sleazyfork Results include"](https://greasyfork.org/scripts/23840)
17
+
18
+
```bash
19
+
let sleazyfork_redirect = false; // "true" to enable, "false" to disable
* Select the directory `userscriptplus-*` / desired folder.
56
+
* Select the directory `userscript_for_tampermonkey-*` / desired folder.
50
57
* Click *Open*.
51
58
52
59
Firefox
@@ -57,35 +64,47 @@ Firefox
57
64
* Copy and paste `about:debugging#/runtime/this-firefox` into your URL.
58
65
* Click *Load Temporary Add-on…*.
59
66
* In the file selector dialog:
60
-
* Select the directory `userscriptplus-*` / desired folder.
67
+
* Select the directory `userscript_for_tampermonkey-*` / desired folder.
61
68
* Click *Open*.
62
69
63
70
***
64
71
65
72
## Known bugs
66
73
67
-
* May leave a opened tab when TamperMonkey is used alongside.
68
-
***Will result in *i.table.noDataText* when no UserJS is found for current site OR is blocked.**
74
+
*[ All ] May leave a opened tab when installing User Scripts.
75
+
*[ User Script ] Found count may not appear.
76
+
*[ User Script ] Script pages can't be opened with SleazyFork results.
69
77
*[ User Script ] In some sites below the plug-in interface icon is not displayed,Such as: Github
70
78
71
79
> **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.
*[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)
76
88
77
89
```bash
78
-
# Install development dependencies
79
-
npm i -D
80
-
# Builds both User Script and Browser Extension
90
+
# Install dependencies ( if error use npm i --force )
91
+
npm i
92
+
#[ Production ] Builds both User Script and Browser Extension
81
93
npm run build:all
94
+
# [ Development ] User Script
95
+
# Recommend bookmarking for faster deployment
96
+
# http://localhost:8080/magic-userjs.user.js
97
+
npm run dev:user
98
+
npm run http-server
99
+
# [ Development ] Browser Extension
100
+
# For Firefox use web-ext
82
101
# Recommended to create additional profile about:profiles
83
-
web-ext run -p <profile> -s ./extension/
84
-
# Run web-ext
85
-
web-ext run -s ./extension/
102
+
web-ext run -p <profile>
103
+
npm run dev:browser
104
+
# For Chrome load unpacked, REPLACE manifest.json with chrome-manifest.json
0 commit comments