forked from ywzhaiqi/userscript
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ceilme.user.js
27 lines (23 loc) · 901 Bytes
/
ceilme.user.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// ==UserScript==
// @id ceil.me@[email protected]
// @name ceil.me辅助下载
// @version 1.4
// @namespace https://github.com/ywzhaiqi
// @author [email protected]
// @description ceil.me PDF杂志直接下载,不再需要点击多次
// @include http://www.ceil.me/*
// @exclude http://www.ceil.me/
// @exclude http://www.ceil.me/category/*
// @exclude http://www.ceil.me/download/*
// @run-at document-end
// ==/UserScript==
(function (){
var $ = unsafeWindow.jQuery;
var ins = $('a[href^="http://www.ceil.me/download/?p="]');
if(ins.length == 0)
return;
GM_addStyle('.ext-link { background: none repeat scroll 0% 0% rgb(238, 238, 238) !important; }');
ins.load(ins[0].href + " .part", null, function(){
ins.html(ins.html().replace("下载地址:", ""));
});
})();