FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

ok · feicc/Userscript-Plus@5df1681 · GitHub

Commit 5df1681

Browse files
committed
ok
1 parent 8348b9b commit 5df1681

2 files changed

Lines changed: 4 additions & 100 deletions

File tree

‎dist/show-site-all-userjs.user.js‎

Lines changed: 2 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
// @require https://raw.githubusercontent.com/jae-jae/l.js/master/userjs/l.userjs.min.js
1717
// @require https://gist.githubusercontent.com/jae-jae/35a1833079d26e6c9d9c6d5bed982353/raw/userjs-base.js
1818
// @resource ui https://raw.githubusercontent.com/jae-jae/Show-Site-All-UserJS/master/dist/ui.html?_=6643682D6DEB9F3D51E77F95ACD30EAE
19-
// @resource uiJs https://raw.githubusercontent.com/jae-jae/Show-Site-All-UserJS/master/dist/ui.js?_=E23D8B4B3FF697F66A010559D6E85D28
19+
// @resource uiJs https://raw.githubusercontent.com/jae-jae/Show-Site-All-UserJS/master/dist/ui.js?_=73F5B0D5151479A0055B036E66203BD8
2020
// @grant GM_xmlhttpRequest
2121
// @grant GM_getResourceText
2222
// @grant GM_getValue
@@ -42,55 +42,7 @@ var inline_src = (<><![CDATA[
4242
this.showTime = 10;
4343
this.quietKey = 'jae_fetch_userjs_quiet';
4444
this.cacheKey = 'jae_fetch_userjs_cache';
45-
//this.tplBox = '<div id="jae_fetch_userjs_wrapper"><style> #jae_fetch_userjs { position: fixed; width: 370px; bottom: 10px; right: 20px; z-index: 9999999999; height: 56px;box-shadow: 0px 1px 4px rgba(0,0,0,0.3),\t\t\t\t0px 0px 20px rgba(0,0,0,0.1) inset; }#jae_fetch_userjs::before,#jae_fetch_userjs::after { content:""; position:absolute; z-index:-1;}#jae_fetch_userjs::before,#jae_fetch_userjs::after { content:""; position:absolute; z-index:-1; bottom:15px; left:10px; width:50%; height:20%;}#jae_fetch_userjs::before,#jae_fetch_userjs::after { content:""; position:absolute; z-index:-1; bottom:15px; left:10px; width:50%; height:20%; box-shadow:0 15px 10px rgba(0, 0, 0, 0.7); transform:rotate(-3deg);}#jae_fetch_userjs::after{ right:10px; left:auto; transform:rotate(3deg); }</style><div id="jae_fetch_userjs" class=""></div></div>';
46-
this.tplBox = `
47-
<div id="jae_userscript_box">
48-
<style>
49-
.jae-userscript {
50-
position: fixed;
51-
width: 370px;
52-
bottom: 10px;
53-
right: 20px;
54-
z-index: 9999999999;
55-
height: 56px;
56-
}
57-
.jae-userscript-shadow{
58-
box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.3), \\t\\t\\t\\t0px 0px 20px rgba(0, 0, 0, 0.1) inset;
59-
}
60-
.jae-userscript-shadow::before, .jae-userscript-shadow::after {
61-
content:"";
62-
position:absolute;
63-
z-index:-1;
64-
}
65-
.jae-userscript-shadow::before, .jae-userscript-shadow::after {
66-
content:"";
67-
position:absolute;
68-
z-index:-1;
69-
bottom:15px;
70-
left:10px;
71-
width:50%;
72-
height:20%;
73-
}
74-
.jae-userscript-shadow::before, .jae-userscript-shadow::after {
75-
content:"";
76-
position:absolute;
77-
z-index:-1;
78-
bottom:15px;
79-
left:10px;
80-
width:50%;
81-
height:20%;
82-
box-shadow:0 15px 10px rgba(0, 0, 0, 0.7);
83-
transform:rotate(-3deg);
84-
}
85-
.jae-userscript-shadow::after {
86-
right:10px;
87-
left:auto;
88-
transform:rotate(3deg);
89-
}
90-
</style>
91-
<div class="jae-userscript" class=""></div>
92-
</div>
93-
`
45+
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),\\t\\t\\t\\t0px 0 20px rgba(0,0,0,.1) inset}.jae-userscript-shadow::before,.jae-userscript-shadow::after{content:"";position:absolute;z-index:-1}.jae-userscript-shadow::before,.jae-userscript-shadow::after{content:"";position:absolute;z-index:-1;bottom:15px;left:10px;width:50%;height:20%}.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);transform:rotate(-3deg)}.jae-userscript-shadow::after{right:10px;left:auto;transform:rotate(3deg)}</style><div class="jae-userscript" class=""></div></div>';
9446
}
9547

9648
getJSON(url,callback){

‎src/user.js‎

Lines changed: 2 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
// @require https://raw.githubusercontent.com/jae-jae/l.js/master/userjs/l.userjs.min.js
1717
// @require https://gist.githubusercontent.com/jae-jae/35a1833079d26e6c9d9c6d5bed982353/raw/userjs-base.js
1818
// @resource ui https://raw.githubusercontent.com/jae-jae/Show-Site-All-UserJS/master/dist/ui.html?_=6643682D6DEB9F3D51E77F95ACD30EAE
19-
// @resource uiJs https://raw.githubusercontent.com/jae-jae/Show-Site-All-UserJS/master/dist/ui.js?_=E23D8B4B3FF697F66A010559D6E85D28
19+
// @resource uiJs https://raw.githubusercontent.com/jae-jae/Show-Site-All-UserJS/master/dist/ui.js?_=73F5B0D5151479A0055B036E66203BD8
2020
// @grant GM_xmlhttpRequest
2121
// @grant GM_getResourceText
2222
// @grant GM_getValue
@@ -42,55 +42,7 @@ var inline_src = (<><![CDATA[
4242
this.showTime = 10;
4343
this.quietKey = 'jae_fetch_userjs_quiet';
4444
this.cacheKey = 'jae_fetch_userjs_cache';
45-
//this.tplBox = '<div id="jae_fetch_userjs_wrapper"><style> #jae_fetch_userjs { position: fixed; width: 370px; bottom: 10px; right: 20px; z-index: 9999999999; height: 56px;box-shadow: 0px 1px 4px rgba(0,0,0,0.3),\t\t\t\t0px 0px 20px rgba(0,0,0,0.1) inset; }#jae_fetch_userjs::before,#jae_fetch_userjs::after { content:""; position:absolute; z-index:-1;}#jae_fetch_userjs::before,#jae_fetch_userjs::after { content:""; position:absolute; z-index:-1; bottom:15px; left:10px; width:50%; height:20%;}#jae_fetch_userjs::before,#jae_fetch_userjs::after { content:""; position:absolute; z-index:-1; bottom:15px; left:10px; width:50%; height:20%; box-shadow:0 15px 10px rgba(0, 0, 0, 0.7); transform:rotate(-3deg);}#jae_fetch_userjs::after{ right:10px; left:auto; transform:rotate(3deg); }</style><div id="jae_fetch_userjs" class=""></div></div>';
46-
this.tplBox = `
47-
<div id="jae_userscript_box">
48-
<style>
49-
.jae-userscript {
50-
position: fixed;
51-
width: 370px;
52-
bottom: 10px;
53-
right: 20px;
54-
z-index: 9999999999;
55-
height: 56px;
56-
}
57-
.jae-userscript-shadow{
58-
box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.3), \\t\\t\\t\\t0px 0px 20px rgba(0, 0, 0, 0.1) inset;
59-
}
60-
.jae-userscript-shadow::before, .jae-userscript-shadow::after {
61-
content:"";
62-
position:absolute;
63-
z-index:-1;
64-
}
65-
.jae-userscript-shadow::before, .jae-userscript-shadow::after {
66-
content:"";
67-
position:absolute;
68-
z-index:-1;
69-
bottom:15px;
70-
left:10px;
71-
width:50%;
72-
height:20%;
73-
}
74-
.jae-userscript-shadow::before, .jae-userscript-shadow::after {
75-
content:"";
76-
position:absolute;
77-
z-index:-1;
78-
bottom:15px;
79-
left:10px;
80-
width:50%;
81-
height:20%;
82-
box-shadow:0 15px 10px rgba(0, 0, 0, 0.7);
83-
transform:rotate(-3deg);
84-
}
85-
.jae-userscript-shadow::after {
86-
right:10px;
87-
left:auto;
88-
transform:rotate(3deg);
89-
}
90-
</style>
91-
<div class="jae-userscript" class=""></div>
92-
</div>
93-
`
45+
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),\\t\\t\\t\\t0px 0 20px rgba(0,0,0,.1) inset}.jae-userscript-shadow::before,.jae-userscript-shadow::after{content:"";position:absolute;z-index:-1}.jae-userscript-shadow::before,.jae-userscript-shadow::after{content:"";position:absolute;z-index:-1;bottom:15px;left:10px;width:50%;height:20%}.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);transform:rotate(-3deg)}.jae-userscript-shadow::after{right:10px;left:auto;transform:rotate(3deg)}</style><div class="jae-userscript" class=""></div></div>';
9446
}
9547

9648
getJSON(url,callback){

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL