|
42 | 42 | // @include http*://www.acgzone.org/* |
43 | 43 | // @include http*://uraban.me/* |
44 | 44 | // @include http*://www.uraban.me/* |
45 | | -// @version 3.19.94 |
| 45 | +// @version 3.19.95 |
46 | 46 | // @grant GM_notification |
47 | 47 | // @grant GM_xmlhttpRequest |
48 | 48 | // @run-at document-end |
49 | | -// @require https://greasyfork.org/scripts/23522-od-js/code/odjs.js?version=154299 |
| 49 | +// @require https://greasyfork.org/scripts/23522-od-js/code/odjs.js?version=154351 |
50 | 50 | // @require https://cdn.jsdelivr.net/crypto-js/3.1.2/components/core-min.js |
51 | 51 | // @require https://cdn.jsdelivr.net/crypto-js/3.1.2/rollups/aes.js |
52 | 52 | // @license MIT License |
|
74 | 74 | { |
75 | 75 | name:"acglover", |
76 | 76 | url:"http://www.acglover.top/", |
77 | | - regex:/acglover\.top/ |
| 77 | + regex:/acglover\.top/, |
| 78 | + offset:60 |
78 | 79 | }, |
79 | 80 | { |
80 | 81 | name:"acgtf", |
81 | 82 | url:"https://www.acg.tf/", |
82 | | - regex:/acg\.tf/ |
| 83 | + regex:/acg\.tf/, |
| 84 | + offset:50 |
83 | 85 | }, |
84 | 86 | { |
85 | 87 | name:"tianshit", |
|
91 | 93 | url:"https://www.acggj.com/", |
92 | 94 | regex:/www\.acggj\./, |
93 | 95 | hideOd:true, |
94 | | - bbs:/bbs\.acggj\./ |
| 96 | + bbs:/bbs\.acggj\./, |
| 97 | + offset:10 |
95 | 98 | }, |
96 | 99 | { |
97 | 100 | name:"acg12", |
98 | 101 | url:"https://acg12.com/", |
99 | 102 | regex:/acg12\./, |
100 | 103 | hideOd:true, |
101 | | - downloadUrl:/acg12\.com\/download/ |
| 104 | + downloadUrl:/acg12\.com\/download/, |
| 105 | + offset:55 |
102 | 106 | }, |
103 | 107 | { |
104 | 108 | name:"moxacg", |
105 | 109 | url:"http://www.moxacg.com/", |
106 | 110 | regex:/moxacg\./, |
107 | | - hideOd:true |
| 111 | + hideOd:true, |
| 112 | + offset:55 |
108 | 113 | }, |
109 | 114 | { |
110 | 115 | name:"acg15", |
111 | 116 | url:"http://www.acg15.com/", |
112 | 117 | regex:/acg15\.com/, |
113 | | - hideOd:true |
| 118 | + hideOd:true, |
| 119 | + offset:55 |
114 | 120 | }, |
115 | 121 | { |
116 | 122 | name:"lifan", |
117 | 123 | url:"http://lifanmoe.com/", |
118 | | - regex:/lifanmoe\./ |
| 124 | + regex:/lifanmoe\./, |
| 125 | + offset:55 |
119 | 126 | }, |
120 | 127 | { |
121 | 128 | name:"nacg", |
122 | 129 | url:"http://nacg.me/", |
123 | 130 | regex:/nacg\.me/, |
124 | | - hideOd:true |
| 131 | + hideOd:true, |
| 132 | + offset:65 |
125 | 133 | }, |
126 | 134 | { |
127 | 135 | name:"idanmu", |
128 | 136 | url:"http://www.idanmu.co/", |
129 | | - regex:/idanmu\.co/ |
| 137 | + regex:/idanmu\.co/, |
| 138 | + offset:10 |
130 | 139 | }, |
131 | 140 | { |
132 | 141 | name:"sijihuisuo", |
133 | 142 | url:"https://www.sijihuisuo.club/", |
134 | 143 | regex:/sijihuisuo\.club/, |
135 | | - innerPage:/sijihuisuo\.club\/(sj\/\d|\?p=\d)/ |
| 144 | + innerPage:/sijihuisuo\.club\/(sj\/\d|\?p=\d)/, |
| 145 | + offset:115 |
136 | 146 | }, |
137 | 147 | { |
138 | 148 | name:"acg18", |
139 | 149 | url:"https://acg18.us/", |
140 | | - regex:/acg18\./ |
| 150 | + regex:/acg18\./, |
| 151 | + offset:55 |
141 | 152 | }, |
142 | 153 | { |
143 | 154 | name:"zuiacg", |
144 | 155 | url:"http://zuiacg.com/", |
145 | 156 | regex:/zuiacg\./, |
146 | | - hideOd:true |
| 157 | + hideOd:true, |
| 158 | + offset:75 |
147 | 159 | }, |
148 | 160 | { |
149 | 161 | name:"galacg", |
|
156 | 168 | url:"http://www.mhecy.com/", |
157 | 169 | regex:/mhecy\./, |
158 | 170 | downloadUrl:/www\.mhecy\.com\/\?page_id=\d+&code/, |
159 | | - hideOd:true |
| 171 | + hideOd:true, |
| 172 | + offset:10 |
160 | 173 | }, |
161 | 174 | { |
162 | 175 | name:"acgnz", |
|
168 | 181 | name:"oomoe", |
169 | 182 | url:"https://www.oomoe.moe/", |
170 | 183 | regex:/oomoe\.moe/, |
171 | | - hideOd:true |
| 184 | + hideOd:true, |
| 185 | + offset:10 |
172 | 186 | }, |
173 | 187 | { |
174 | 188 | name:"acgzone", |
175 | | - url:"https://acgzone.org/", |
| 189 | + url:"http://acgzone.org/", |
176 | 190 | regex:/acgzone\.org|uraban\.me/ |
177 | 191 | } |
178 | 192 | ], |
|
806 | 820 | function scrollArticle(a){ |
807 | 821 | curArticle=a; |
808 | 822 | curArticle.classList.add("oD_sel"); |
809 | | - scrollToControl(curArticle); |
| 823 | + let pos=elementPosition(curArticle).y; |
| 824 | + if(curSite.offset)pos-=curSite.offset; |
| 825 | + scrollToControl(pos); |
810 | 826 | } |
811 | 827 |
|
812 | 828 | var hasViewed=false; |
|
0 commit comments