Skip to content

Commit e99ecf6

Browse files
committed
Hotfix
Signed-off-by: magicoflolis <magicoflolis@gmail.com>
1 parent 5d0c421 commit e99ecf6

17 files changed

Lines changed: 344 additions & 45 deletions

File tree

.editorconfig

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
1-
# EditorConfig is awesome: https://EditorConfig.org
2-
3-
# top-most EditorConfig file
41
root = true
2+
charset = utf-8
3+
4+
trim_trailing_whitespace = true
55

66
[*]
7+
end_of_line = lf
8+
insert_final_newline = true
79
indent_style = space
810
indent_size = 2
9-
end_of_line = crlf
10-
charset = utf-8
11-
trim_trailing_whitespace = false
12-
insert_final_newline = false

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,10 @@
1111
> 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!
1212
1313
* Tested and compatible with TamperMonkey n ViolentMonkey.
14+
* Trimmed / moved some @resources to this build.
1415
* Added [SleazyFork](https://sleazyfork.org).
1516
* Added Dark Theme.
17+
* Added extra @excludes.
1618
* Added built-in ["Greasyfork Search with Sleazyfork Results include"](https://greasyfork.org/scripts/23840)
1719

1820
```bash

dist/magic-userjs.gf.user.js

Lines changed: 47 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66
// @name:ja Magic Userscript+ : 現在のサイトの利用可能なすべてのUserJSスクリプトを表示するJaeger
77
// @name:ru-RU Magic Userscript+ : Показать пользовательские скрипты (UserJS) для сайта. Jaeger
88
// @name:ru Magic Userscript+ : Показать пользовательские скрипты (UserJS) для сайта. Jaeger
9-
// @namespace https://github.com/magicoflolis/Userscript-Plus
10-
// @version 2.3.11
119
// @description Show current site all UserJS,The easier way to install UserJs for Tampermonkey.
1210
// @description:zh 显示当前网站的所有可用UserJS(Tampermonkey)脚本,交流QQ群:104267383
1311
// @description:zh-CN 显示当前网站的所有可用UserJS(Tampermonkey)脚本,交流QQ群:104267383
@@ -16,7 +14,12 @@
1614
// @description:ru-RU Показывает пользовательские скрипты (UserJS) для сайта. Легкий способ установить пользовательские скрипты для Tampermonkey.
1715
// @description:ru Показывает пользовательские скрипты (UserJS) для сайта. Легкий способ установить пользовательские скрипты для Tampermonkey.
1816
// @author Magic of Lolis <magicoflolis@gmail.com>
17+
// @namespace https://github.com/magicoflolis/Userscript-Plus
18+
// @homepageURL https://github.com/magicoflolis/Userscript-Plus#magic-userscript
19+
// @supportURL https://github.com/magicoflolis/Userscript-Plus/issues/new
20+
// @version 2.3.11a
1921
// @icon data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3ggEBCQHM3fXsAAAAVdJREFUOMudkz2qwkAUhc/goBaGJBgUtBCZyj0ILkpwAW7Bws4yO3AHLiCtEFD8KVREkoiFxZzX5A2KGfN4F04zMN+ce+5c4LMUgDmANYBnrnV+plBSi+FwyHq9TgA2LQpvCiEiABwMBtzv95RSfoNEHy8DYBzHrNVqVEr9BWKcqNFoxF6vx3a7zc1mYyC73a4MogBg7vs+z+czO50OW60Wt9stK5UKp9Mpj8cjq9WqDTBHnjAdxzGQZrPJw+HA31oulzbAWgLoA0CWZVBKIY5jzGYzdLtdE9DlcrFNrY98zobqOA6TJKHW2jg4nU5sNBpFDp6mhVe5rsvVasUwDHm9Xqm15u12o+/7Hy0gD8KatOd5vN/v1FozTVN6nkchxFuI6hsAAIMg4OPxMJCXdtTbR7JJCMEgCJhlGUlyPB4XfumozInrupxMJpRSRtZlKoNYl+m/6/wDuWAjtPfsQuwAAAAASUVORK5CYII=
22+
// @license MIT
2023
// @include *
2124
// @exclude *://paypal.com/*
2225
// @exclude *://mega.nz
@@ -67,9 +70,9 @@
6770
// @exclude *://*.*.*/options/*
6871
// @exclude *://*.*.*.gov/*
6972
// @exclude *://*.*.*/password_reset
70-
// @require https://cdn.jsdelivr.net/gh/jae-jae/l.js/userjs/l.userjs.min.js
71-
// @require https://cdn.jsdelivr.net/gh/magicoflolis/Userscript-Plus@master/dist/userjs-base.js?_=1624939026806
72-
// @resource uiJs https://cdn.jsdelivr.net/gh/magicoflolis/Userscript-Plus@master/dist/ui.gf.js?_=1624939026806
73+
// @require https://greasyfork.org/scripts/23419-l-js/code/ljs.js
74+
// @require https://greasyfork.org/scripts/428620-userjs-base/code/userjs-base.js?_=1624989235091
75+
// @resource uiJs https://cdn.jsdelivr.net/gh/magicoflolis/Userscript-Plus@master/dist/ui.gf.js?_=1624989235091
7376
// @resource count https://greasyfork.org/scripts/by-site.json
7477
// @resource adult https://sleazyfork.org/scripts/by-site.json
7578
// @grant GM_xmlhttpRequest
@@ -125,7 +128,44 @@ class FetchUserjs {
125128
this.quietKey = "jae_fetch_userjs_quiet";
126129
this.countKey = "jae_fetch_userjs_count";
127130
this.adultKey = "jae_fetch_userjs_adult";
128-
this.tplBox = '<div id="jae_userscript_box"><style>.jae-userscript{ position:fixed; width:370px; bottom:10px; right:20px; z-index:9999999999; height:56px}.jae-userscript-shadow{ box-shadow:0 1px 4px rgba(0,0,0,.3);}.jae-userscript-shadow::before,.jae-userscript-shadow::after{ content:""; position:absolute; z-index:-1; bottom:15px; left:10px; width:50%; height:20%; box-shadow:0 15px 10px rgba(0,0,0,.7);}.jae-userscript-shadow::before{ transform:rotate(-3deg)}.jae-userscript-shadow::after{ right:10px; left:auto; transform:rotate(3deg)}</style><div class="jae-userscript"></div></div>';
131+
this.tplBox = `<div id="jae_userscript_box">
132+
<style>.jae-userscript{
133+
position:fixed;
134+
width:370px;
135+
bottom:10px;
136+
right:20px;
137+
z-index:9999999999;
138+
height:56px
139+
}
140+
.jae-userscript-shadow{
141+
box-shadow:0 1px 4px rgba(0,0,0,.3);
142+
}
143+
.jae-userscript-shadow::before,
144+
.jae-userscript-shadow::after{
145+
content:"";
146+
position:absolute;
147+
z-index:-1;
148+
bottom:15px;
149+
left:10px;
150+
width:50%;
151+
height:20%;
152+
box-shadow:0 15px 10px rgba(0,0,0,.7);
153+
}
154+
.jae-userscript-shadow::before{
155+
transform:rotate(-3deg)
156+
}
157+
.jae-userscript-shadow::after{
158+
right:10px; left:auto;
159+
transform:rotate(3deg)
160+
}
161+
@media screen and (max-width:1228px) {
162+
.jae-userscript {
163+
max-width: 100%;
164+
width: 100%;
165+
height: 100%;
166+
}
167+
}
168+
</style><div class="jae-userscript"></div></div>`;
129169
}
130170

131171
getCountData(host) {
@@ -207,4 +247,4 @@ ljs.exec(['jQuery'], () => {
207247
fu.render();
208248
});
209249

210-
})();
250+
})();

dist/magic-userjs.user.js

Lines changed: 47 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66
// @name:ja Magic Userscript+ : 現在のサイトの利用可能なすべてのUserJSスクリプトを表示するJaeger
77
// @name:ru-RU Magic Userscript+ : Показать пользовательские скрипты (UserJS) для сайта. Jaeger
88
// @name:ru Magic Userscript+ : Показать пользовательские скрипты (UserJS) для сайта. Jaeger
9-
// @namespace https://github.com/magicoflolis/Userscript-Plus
10-
// @version 2.3.11
119
// @description Show current site all UserJS,The easier way to install UserJs for Tampermonkey.
1210
// @description:zh 显示当前网站的所有可用UserJS(Tampermonkey)脚本,交流QQ群:104267383
1311
// @description:zh-CN 显示当前网站的所有可用UserJS(Tampermonkey)脚本,交流QQ群:104267383
@@ -16,7 +14,12 @@
1614
// @description:ru-RU Показывает пользовательские скрипты (UserJS) для сайта. Легкий способ установить пользовательские скрипты для Tampermonkey.
1715
// @description:ru Показывает пользовательские скрипты (UserJS) для сайта. Легкий способ установить пользовательские скрипты для Tampermonkey.
1816
// @author Magic of Lolis <magicoflolis@gmail.com>
17+
// @namespace https://github.com/magicoflolis/Userscript-Plus
18+
// @homepageURL https://github.com/magicoflolis/Userscript-Plus#magic-userscript
19+
// @supportURL https://github.com/magicoflolis/Userscript-Plus/issues/new
20+
// @version 2.3.11a
1921
// @icon data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3ggEBCQHM3fXsAAAAVdJREFUOMudkz2qwkAUhc/goBaGJBgUtBCZyj0ILkpwAW7Bws4yO3AHLiCtEFD8KVREkoiFxZzX5A2KGfN4F04zMN+ce+5c4LMUgDmANYBnrnV+plBSi+FwyHq9TgA2LQpvCiEiABwMBtzv95RSfoNEHy8DYBzHrNVqVEr9BWKcqNFoxF6vx3a7zc1mYyC73a4MogBg7vs+z+czO50OW60Wt9stK5UKp9Mpj8cjq9WqDTBHnjAdxzGQZrPJw+HA31oulzbAWgLoA0CWZVBKIY5jzGYzdLtdE9DlcrFNrY98zobqOA6TJKHW2jg4nU5sNBpFDp6mhVe5rsvVasUwDHm9Xqm15u12o+/7Hy0gD8KatOd5vN/v1FozTVN6nkchxFuI6hsAAIMg4OPxMJCXdtTbR7JJCMEgCJhlGUlyPB4XfumozInrupxMJpRSRtZlKoNYl+m/6/wDuWAjtPfsQuwAAAAASUVORK5CYII=
22+
// @license MIT
2023
// @include *
2124
// @exclude *://paypal.com/*
2225
// @exclude *://mega.nz
@@ -67,9 +70,9 @@
6770
// @exclude *://*.*.*/options/*
6871
// @exclude *://*.*.*.gov/*
6972
// @exclude *://*.*.*/password_reset
70-
// @require https://cdn.jsdelivr.net/gh/jae-jae/l.js/userjs/l.userjs.min.js
71-
// @require https://cdn.jsdelivr.net/gh/magicoflolis/Userscript-Plus@master/dist/userjs-base.js?_=1624939026806
72-
// @resource uiJs https://cdn.jsdelivr.net/gh/magicoflolis/Userscript-Plus@master/dist/ui.js?_=1624939026806
73+
// @require https://greasyfork.org/scripts/23419-l-js/code/ljs.js
74+
// @require https://cdn.jsdelivr.net/gh/magicoflolis/Userscript-Plus@master/dist/userjs-base.js?_=1624989235091
75+
// @resource uiJs https://cdn.jsdelivr.net/gh/magicoflolis/Userscript-Plus@master/dist/ui.js?_=1624989235091
7376
// @resource count https://greasyfork.org/scripts/by-site.json
7477
// @resource adult https://sleazyfork.org/scripts/by-site.json
7578
// @grant GM_xmlhttpRequest
@@ -125,7 +128,44 @@ class FetchUserjs {
125128
this.quietKey = "jae_fetch_userjs_quiet";
126129
this.countKey = "jae_fetch_userjs_count";
127130
this.adultKey = "jae_fetch_userjs_adult";
128-
this.tplBox = '<div id="jae_userscript_box"><style>.jae-userscript{ position:fixed; width:370px; bottom:10px; right:20px; z-index:9999999999; height:56px}.jae-userscript-shadow{ box-shadow:0 1px 4px rgba(0,0,0,.3);}.jae-userscript-shadow::before,.jae-userscript-shadow::after{ content:""; position:absolute; z-index:-1; bottom:15px; left:10px; width:50%; height:20%; box-shadow:0 15px 10px rgba(0,0,0,.7);}.jae-userscript-shadow::before{ transform:rotate(-3deg)}.jae-userscript-shadow::after{ right:10px; left:auto; transform:rotate(3deg)}</style><div class="jae-userscript"></div></div>';
131+
this.tplBox = `<div id="jae_userscript_box">
132+
<style>.jae-userscript{
133+
position:fixed;
134+
width:370px;
135+
bottom:10px;
136+
right:20px;
137+
z-index:9999999999;
138+
height:56px
139+
}
140+
.jae-userscript-shadow{
141+
box-shadow:0 1px 4px rgba(0,0,0,.3);
142+
}
143+
.jae-userscript-shadow::before,
144+
.jae-userscript-shadow::after{
145+
content:"";
146+
position:absolute;
147+
z-index:-1;
148+
bottom:15px;
149+
left:10px;
150+
width:50%;
151+
height:20%;
152+
box-shadow:0 15px 10px rgba(0,0,0,.7);
153+
}
154+
.jae-userscript-shadow::before{
155+
transform:rotate(-3deg)
156+
}
157+
.jae-userscript-shadow::after{
158+
right:10px; left:auto;
159+
transform:rotate(3deg)
160+
}
161+
@media screen and (max-width:1228px) {
162+
.jae-userscript {
163+
max-width: 100%;
164+
width: 100%;
165+
height: 100%;
166+
}
167+
}
168+
</style><div class="jae-userscript"></div></div>`;
129169
}
130170

131171
getCountData(host) {
@@ -207,4 +247,4 @@ ljs.exec(['jQuery'], () => {
207247
fu.render();
208248
});
209249

210-
})();
250+
})();

dist/ui.gf.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/ui.gf.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/ui.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/ui.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)