- 运行环境:PC-windows操作系统
- 软件语言:简体中文|授权方式:
- 软件类型:国产软件 - 应用软件 - 编程相关
- 软件大小:1.00 KB
- 下载星级:
- 软件官网:暂无
- 更新时间:2018/4/4 20:27:53
【软件截图】
【基本介绍】
// ==UserScript==
// @name 解除ikanman.com上被屏蔽的漫画
// @namespace https://saber.love/?p=3590
// @version 1.2
// @description 全自动解除ikanman.com上被屏蔽的漫画
// @author 雪见仙尊
// @match http://*.ikanman.com/comic/*
// @match http://*.manhuagui.com/comic/*
// @icon http://www.manhuagui.com/favicon.ico
// @run-at document-end
// ==/UserScript==
function setCookie(name, value, days) {
var exp = new Date();
exp.setTime(exp.getTime() + 365 * 24 * 60 * 60 * 1000);
document.cookie = name + "=" + escape(value) + ";expires=" + exp.toGMTString() + ";domain=.manhuagui.com;path=/";
}
function getCookie(name) {
var arr = document.cookie.match(new RegExp("(^| )" + name + "=([^;]*)(;|$)"));
if (arr != null)
return unescape(arr[2]);
return null;
}
if (getCookie("country") !== "US") { // 解除屏蔽并刷新页面
setCookie("country", "US", 365);
window.location.reload(true);
}