,
,, .movv-ad, .adsbyexoclick, #adsbox, .movv-ad, .adsbyexoclick {display:none !important; pointer-events: none !important;}",
hanime1: "span.scaled-exoclick, iframe, #close-mobile-ad-btn, #bottom-ads, div[style*=\"width: 310px; height: 282px;\"] {display:none !important; pointer-events: none !important;}",
javlibrary: ".menutext.whenmobile {top:90px;z-index:114;} a[href*='redirect'] {display:none!important} #toplogo {height:64px} .videothumblist .videos {min-width:auto;}.titlebox.whenmobile{width:250px} #topmenu.whenmobile {height:70px;} .searchbar.whenmobile{right:2px} div.videothumblist.whenmobile {overflow:scroll!important;overflow-x:hidden!important;} div#rightcolumn.whenmobile {width:300px} #rightcolumn {right:90px} #leftmenu {width:90px; position:fixed;} div#content {width:auto !important} body.main { min-width: auto; width:auto !important} iframe,img[src*='gif'] , td.advsearch {display:none!important;pointer-events: none !important;}",
douban: "*{display:none!important}",
olevod: "#adsbox, .ads-bg {display:none!important}",
ntdm9: "#adsbox, .yammohxz_b {display:none !important; pointer-events: none !important;}",
njav: "iframe[width='300px'] {display:none!important}",
//button_common: "padding: 6px 6px 6px 6px; display: inline-block; color: white;z-index: 114154 !important; border-right: 6px solid #38a3fd !important; border-left: #292f33 !important; border-top: #292f33 !important; border-bottom: #292f33 !important; background: #2563eb; border-radius: 0px 0px 0px 0px; font-weight: 800 !important; text-align: right !important;" // 按钮/输入框通用样式
},
function: {
}
}
function values() {
var adsDomain = [
"pornhub",
"missav",
"91porn",
"avple",
"18comic",
"wnacg",
"ddys",
"jable",
"bdys",
"google",
"bing",
"duboku",
"libvio",
"tvn",
"www.5dy",
"www.555dd",
"o8tv",
"555dyx",
"instagram",
"ttsp",
"tz659",
"nbys",
"anime1",
"yhpdm",
"yhdmp",
"nivod",
"91short",
"xiaobaotv",
"cnys",
"xiaoxintv",
"javday",
"xvideos",
"javbus",
"4hu",
"netflav",
"filemoon",
"embedrise",
"mmfl02",
"supjav",
"hanime1",
"javlibrary",
"emturbovid",
'fc2stream',
'douban',
'twitter',
'olevod',
'njav',
'ntdm9',
"zhihu"
]
var url = document.location.href;
console.log("URL : " + url); // 看看当前 URL
var i;
for (i = 0; i < adsDomain.length; i++) {
if (url.indexOf(adsDomain[i]) !== -1) {
var values = adsDomain[i]; // 释放参数值
console.log("Catch it : " + values) // 看看控制台输出了个啥
}
}
return values;
}
function adsDomain_switch(x) { // 匹配参数值 执行相应函数
switch (x) {
case 'pornhub':
pornhub_interstitialPass();
//tag_adsRemove("script", "ads_batch");
const custom_style_values_pb = "right: 0px !important; padding: 0 !important; position: relative !important;"
css_adsRemove(imax.css.pornhubx, 500, "pornhubX");
setTimeout(() => {
let ads_selector = [".topAdContainter", "a[href*='ads']", "a[href*='fuck']", "a[href*='ad']", "div.adContainer.clearfix.noBottom", ".adContainer.clearfix.middleVideoAdContainer"];
let ads = setInterval(() => {
ads_selector.forEach((x) => { selector_one_by_one(x) })
console.log("清理还在继续..." + x)
if (document.querySelectorAll(ads_selector).length == 0) {
clearInterval(ads)
console.log("清理计时器,ads移除完毕...")
}
}, 1000)
}, 100)
setTimeout(() => {
ele_dynamicAppend("div.ratingInfo, div.categoryRow.ratingDetails.sectionPadding", "href", "如何下载视频?", "font-size: smaller !important; background: #2563eb !important; left: 0px; top: 110px; margin-right: 5px; margin-top: 5px;" + "padding: 6px 6px 6px 6px; display: inline-block; color: white;z-index: 114154 !important; border-right: 6px solid #38a3fd !important; border-left: #292f33 !important; border-top: #292f33 !important; border-bottom: #292f33 !important; background: #2563eb; border-radius: 0px 0px 0px 0px; font-weight: 800 !important; text-align: right !important;", "https://limbopro.com/archives/M3U8-Downloader.html", "download_pornhub", 2, "a")
if (document.getElementById("download_pornhub")) {
document.getElementById("download_pornhub").style = "display: inline !important;";
document.getElementById("download_pornhub").target = "_blank !important;";
}
}, 3000)
pornhub_sidebar_ads();
break;
case 'missav':
div_ad_missav(); // 广告空白高度 height 调制0;
window_open_defuser(); // 打断 window.open 施法
var ua_missav = navigator.userAgent.toLowerCase();
var mobile_missav = "mobile";
//cloudflare_captchaBypass();
css_adsRemove(imax.css.missav);
setTimeout(() => {
if (ua_missav.indexOf(mobile_missav) === -1) {
if (document.querySelector('div.mt-4').querySelector('h1') !== null) {
ele_dynamicAppend("div.mt-4", "onclick", "离开页面视频继续播放", "font-size: smaller !important; background: #2563eb !important; left: 0px; top: 110px; margin-right: 5px; margin-top: 5px;" + "padding: 6px 6px 6px 6px; display: inline-block; color: white;z-index: 114154 !important; border-right: 6px solid #38a3fd !important; border-left: #292f33 !important; border-top: #292f33 !important; border-bottom: #292f33 !important; background: #2563eb; border-radius: 0px 0px 0px 0px; font-weight: 800 !important; text-align: right !important;", "", "missavX", 2, "button");
ele_dynamicAppend("div.mt-4", "onclick", "暂停", "font-size: smaller !important; background: #2563eb !important; left: 0px; top: 110px; margin-right: 5px; margin-top: 5px;" + "padding: 6px 6px 6px 6px; display: inline-block; color: white;z-index: 114154 !important; border-right: 6px solid #38a3fd !important; border-left: #292f33 !important; border-top: #292f33 !important; border-bottom: #292f33 !important; background: #2563eb; border-radius: 0px 0px 0px 0px; font-weight: 800 !important; text-align: right !important;", "", "missavP", 3, "button");
ele_dynamicAppend("div.mt-4", "href", "如何下载视频", "font-size: smaller !important; background: #2563eb !important; left: 0px; top: 110px; margin-right: 5px; margin-top: 5px;" + "padding: 6px 6px 6px 6px; display: inline-block; color: white;z-index: 114154 !important; border-right: 6px solid #38a3fd !important; border-left: #292f33 !important; border-top: #292f33 !important; border-bottom: #292f33 !important; background: #2563eb; border-radius: 0px 0px 0px 0px; font-weight: 800 !important; text-align: right !important;", "https://limbopro.com/archives/M3U8-Downloader.html", "how", 4, "a");
}
if (document.getElementById("how")) {
document.getElementById("how").target = "_blank";
}
// 添加监听器
if (document.getElementById("missavX")) {
addListenerById("missavX", () => { video_loopPlay('loop') }, 1000);
}
if (document.getElementById("missavP")) {
addListenerById("missavP", () => { video_loopPlay('pause') }, 1000);
}
} else if (ua_missav.indexOf(mobile_missav) > -1) {
ele_dynamicAppend("div.mt-4", "onclick", "免广告播放", "font-size: smaller !important; background: #2563eb !important; left: 0px; top: 110px; margin-right: 5px; margin-top: 5px;" + "padding: 6px 6px 6px 6px; display: inline-block; color: white;z-index: 114154 !important; border-right: 6px solid #38a3fd !important; border-left: #292f33 !important; border-top: #292f33 !important; border-bottom: #292f33 !important; background: #2563eb; border-radius: 0px 0px 0px 0px; font-weight: 800 !important; text-align: right !important;", "video_Play()", "missavX", 0, "button");
ele_dynamicAppend("div.mt-4", "onclick", "进入全屏", "font-size: smaller !important; background: #2563eb !important; left: 0px; top: 110px; margin-right: 5px; margin-top: 5px;" + "padding: 6px 6px 6px 6px; display: inline-block; color: white;z-index: 114154 !important; border-right: 6px solid #38a3fd !important; border-left: #292f33 !important; border-top: #292f33 !important; border-bottom: #292f33 !important; background: #2563eb; border-radius: 0px 0px 0px 0px; font-weight: 800 !important; text-align: right !important;", "fullscreen()", "missavFullScreen", 2, "button");
ele_dynamicAppend("div.mt-4", "onclick", "暂停", "font-size: smaller !important; background: #2563eb !important; left: 0px; top: 110px; margin-right: 5px; margin-top: 5px;" + "padding: 6px 6px 6px 6px; display: inline-block; color: white;z-index: 114154 !important; border-right: 6px solid #38a3fd !important; border-left: #292f33 !important; border-top: #292f33 !important; border-bottom: #292f33 !important; background: #2563eb; border-radius: 0px 0px 0px 0px; font-weight: 800 !important; text-align: right !important;", "video_pause()", "missavPause", 1, "button");
ele_dynamicAppend("div.mt-4", "href", "如何下载视频", "font-size: smaller !important; background: #2563eb !important; left: 0px; top: 110px; margin-right: 5px; margin-top: 5px;" + "padding: 6px 6px 6px 6px; display: inline-block; color: white;z-index: 114154 !important; border-right: 6px solid #38a3fd !important; border-left: #292f33 !important; border-top: #292f33 !important; border-bottom: #292f33 !important; background: #2563eb; border-radius: 0px 0px 0px 0px; font-weight: 800 !important; text-align: right !important;", "https://limbopro.com/archives/M3U8-Downloader.html", "how", 4, "a");
// 添加监听器
document.getElementById("how").target = "_blank";
addListenerById("missavX", () => { video_Play() }, 1000);
addListenerById("missavFullScreen", () => { fullscreen() }, 1000);
addListenerById("missavPause", () => { video_pause() }, 1000);
}
}, 3000)
//missAv_adsRemove();
break;
case '91porn':
//cloudflare_captchaBypass();
css_adsRemove(imax.css.porn91);
//_91porn_videoplay_ads();
// 播放页空白
document.querySelectorAll("br").forEach((x) => {
if (x.clientHeight = 0) {
x.remove()
}
})
break;
case 'avple':
//cloudflare_captchaBypass();
css_adsRemove(imax.css.avple);
third_party_fileX("script", imax.js.avple, "body")
break;
case '18comic':
css_adsRemove(imax.css.comic_18);
button_dynamicRemove("#chk_cover", 200);
_18comic_adsRemove();
break;
case 'www.5dy':
adsDomain_switch("555dyx")
break;
case 'o8tv':
adsDomain_switch("555dyx")
break;
case 'www.555dd':
adsDomain_switch("555dyx")
break;
case "555dyx":
let www = setInterval(() => {
if (document.querySelector('video')) {
document.querySelector('video').style = 'opacity: 1; filter: contrast(1.01) brightness(1.05) saturate(1.1);'
/* if (document.querySelector('video').loop == 'false') {
document.querySelector('video').setAttribute('loop', '')
}
*/
console.log("画面增强设置成功...")
clearInterval(www)
}
}, 1000)
document.querySelectorAll('div.module').forEach((x) => { x.style.zIndex = 1 });
css_adsRemove(imax.css.dy555, 0, "555dy")
document.querySelectorAll('.popup-btn.close-pop')[0].click(); //模拟点击
break;
case 'wnacg':
css_adsRemove(imax.css.wnacg);
break;
case 'ddys':
css_adsRemove(imax.css.ddrk);
selector_adsRemove("#sajdhfbjwhe,#kasjbgih,#fkasjgf,img[src*='bcebos']", 500)
break;
case 'duboku':
third_party_fileX("script", imax.js.duboku, "body")
break;
case 'libvio':
css_adsRemove(imax.css.libvio)
break;
case 'nbys':
css_adsRemove(imax.css.nivod);
break;
case 'ntdm9':
css_adsRemove(imax.css.ntdm9);
const a = document.getElementsByClassName("yammohxz_b");
addEventListener_defuser("touchend"); // 打断监听器
for (i = 0; i < a.length; i++) {
a[i].style = "display: none !important; z-index:-114154; display:block; width:0vw; height:0";
}
break;
case 'tvn':
css_adsRemove(imax.css.tvn)
break;
case 'jable': // 2333
console.log("IT'S JABLE");
if (/\b(.*\.)(jable\.tv.*)\b/i.test(window.location.href.toLowerCase())) {
console.log(window.location.href.toLowerCase())
let url_jable_rewrite = window.location.href.toLowerCase().replace(/https:\/\/\w{2,3}\./i, "https://")
console.log(url_jable_rewrite)
window.location.replace(url_jable_rewrite)
}
//cloudflare_captchaBypass();
css_adsRemove(imax.css.jable);
jable_adsRemove();
const url_jable = document.location.href;
const reg_videos = /^https:\/\/jable\.tv\/videos/gi;
if (url_jable.search(reg_videos) !== -1) {
setTimeout(() => {
ele_dynamicAppend("div.header-left > h6", "onclick", "", "margin-left: 5px; margin-top: 5px; position: static; font-size: smaller !important; background: #2563eb !important; margin-right: 5px;" + "padding: 6px 6px 6px 6px; display: inline-block; color: white; border-right: 6px solid #38a3fd !important; border-left: #292f33 !important; border-top: #292f33 !important; border-bottom: #292f33 !important; background: #2563eb; border-radius: 0px 0px 0px 0px; font-weight: 800 !important; text-align: right !important;", "", "copy", 15, "input");
ele_dynamicAppend("div.header-left > h6", "onclick", "复制M3U8文件地址", "margin-left: 5px; margin-top: 5px; position: static; font-size: smaller !important; background: #2563eb !important; margin-right: 5px;" + "padding: 6px 6px 6px 6px; display: inline-block; color: white;border-right: 6px solid #38a3fd !important; border-left: #292f33 !important; border-top: #292f33 !important; border-bottom: #292f33 !important; background: #2563eb; border-radius: 0px 0px 0px 0px; font-weight: 800 !important; text-align: right !important;", "", "jablex", 16, "button")
ele_dynamicAppend("div.header-left > h6", "onclick", "如何下载视频?", "margin-left: 5px; margin-top: 5px; position: static; font-size: smaller !important; background: #2563eb !important; margin-right: 5px;" + "padding: 6px 6px 6px 6px; display: inline-block; color: white;border-right: 6px solid #38a3fd !important; border-left: #292f33 !important; border-top: #292f33 !important; border-bottom: #292f33 !important; background: #2563eb; border-radius: 0px 0px 0px 0px; font-weight: 800 !important; text-align: right !important;", "window.open(\"https://limbopro.com/archives/M3U8-Downloader.html\", \"_blank\")", "how", 17, "button");
// 添加监听器
addListenerById("jablex", () => { copyText("copy", "jablex", "复制M3U8文件地址") }, 0);
}, 3000)
//video_delayPlay(3000);
setTimeout(() => { repeat_regex.forEach(m3u8_tempt) }, 4000);
//addEventListener_defuser("touchend"); // 打断监听器
}
break;
break;
case 'bdys':
css_adsRemove(imax.css.btbdys, 0, "siwtch_button");
css_adsRemove(imax.css.switch, 0, "switch_class")
//videoAds_accelerateSkip(0.1); // 视频广告加速
//setConstant(); // 视频广告加速
hrefAttribute_set();
var url = document.location.href;
if (url == "https://www.bdys10.com/" || url == "https://www.bdys03.com/") {
if (!document.getElementById("bdys")) {
ele_dynamicAppend("div.container-xl", "onclick", "隐藏公告", "position:inherit; right:92px;" + "padding: 6px 6px 6px 6px; display: inline-block; color: white;z-index: 114154 !important; border-right: 6px solid #38a3fd !important; border-left: #292f33 !important; border-top: #292f33 !important; border-bottom: #292f33 !important; background: #2563eb; border-radius: 0px 0px 0px 0px; font-weight: 800 !important; text-align: right !important;", "", "bdys", 1, "button");
addListenerById("bdys", () => { notice_hidden("div.col-12") }, 2000);
}
if (getCookie("hidden") == 1) {
notice_hidden("div.col-12");
}
}
break;
case 'instagram':
// 解除 Instagram 桌面浏览器版禁用右键复制图片
css_adsRemove(imax.css.instagram);
break;
case 'ttsp':
css_adsRemove(imax.css.ttsp);
break;
case 'tz659':
css_adsRemove(imax.css.tz659);
//tag_ads_traversal("body", 0)
break;
case 'anime1':
css_adsRemove(imax.css.anime);
break;
case 'yhdmp':
css_adsRemove(imax.css.yhdmp);
break;
case 'yhpdm':
css_adsRemove(imax.css.yhdmp);
break;
case 'google':
css_adsRemove(imax.css.google);
var userAgent = navigator.userAgent.toLowerCase();
if (/\b(mobile)\b/i.test(userAgent)) {
js_adsRemove(imax.js.contentFarm);
console.log("getYou") // 手机用户 特别是苹果用户会正常加载内容农场脚本
} else {
js_adsRemove(imax.js.contentFarm);
console.log("PC端") // 啥也不做
}
//var goole_selector = "h3,#bres,[class*='AuVD wHYlTd mnr-c']";
//setAttribute_after(goole_selector, "contentFarm_AdsRemove_Auto()");
break;
case 'bing':
js_adsRemove(imax.js.contentFarm);
break;
case 'nivod': // nbys 泥巴影视
css_adsRemove(imax.css.nivod);
hrefAttribute_set();
setConstant('detailParams.is_ad_play', 'false'); // 泥巴影视PC版播放页视频广告加速
evaldataPrune(); // 泥巴影视移动版播放页视频广告加速
css_adsRemove(imax.css.nbys); // 网页图片广告
setInterval(() => {
remove_parentElement_by_child('view.nut-swiper-item.slider-item', "img[src*='1a732eeb1adb']");
remove_parentElement_by_child('view.nut-swiper-item.slider-item', "img[src*='49e8abd32d13']");
remove_parentElement_by_child('.qy20-h-carousel__ul', "span[style*='d92ea585-0']");
remove_parentElement_by_child("li.qy20-h-carousel__li", "span[style*='0891']");
remove_parentElement_by_child("li.qy20-h-carousel__li", "span[style*='1a2d']");
}, 2000)
break;
case '91short':
css_adsRemove(imax.css._91short);
// 播放页GIF动图广告
const player_info = document.querySelectorAll("div.player-info,li.nav-menu-item")
for (i = 0; i < player_info.length; i++) {
const selector = ['div > a[href][target=_blank]', 'a[href*=kyty]']
if (player_info[i].querySelectorAll(selector).length >= 1) {
player_info[i].style = "display: none !important;";
}
}
// 多余的高
document.querySelector("div.highlight-box").style = "display: none !important;";
addEventListener_defuser("touchend"); // 打断监听器
break;
case 'xiaobaotv':
// nothing to do.
break;
case 'cnys':
// nothing to do.
css_adsRemove(imax.css.cnys)
break;
case 'xiaoxintv':
// nothing to do.
break;
case 'javday':
// nothing to do.
css_adsRemove(imax.css.javday, 0, 'javday')
break;
case 'xvideos':
setInterval(() => {
if (!document.getElementById('xvideos_t')) {
css_adsRemove(imax.css.xvideos, 100, "xvideos_t");
noWindowOpenIf();
} else {
noWindowOpenIf();
}
}, 1000)
break;
case 'javbus':
css_adsRemove(imax.css.javbus, 0, "javbus");
break;
case "4hu":
css_adsRemove(imax.css._4hu, 0, "4hu");
hrefAttribute_set();
break;
case "netflav":
window_open_defuser(); // 打断 window.open 施法
css_adsRemove(imax.css.netflav, 0, "4hu");
break;
case "filemoon":
window_open_defuser(); // 打断 window.open 施法
break;
case "embedrise":
window_open_defuser(); // 打断 window.open 施法
break;
case "mmfl02":
window_open_defuser(); // 打断 window.open 施法
break;
case "emturbovid":
window_open_defuser(); // 打断 window.open 施法
break;
case "fc2stream":
window_open_defuser(); // 打断 window.open 施法
abort_on_property_read('__Y');
break;
case "supjav":
noWindowOpenIf('window.open')
noWindowOpenIf('touchend')
css_adsRemove(imax.css.supjav, 0, "superjav");
break;
case "njav":
css_adsRemove(imax.css.njav, 0, 'njav');
break;
case "hanime1":
css_adsRemove(imax.css.hanime1);
const div = document.querySelectorAll('div.hidden-xs.hidden-sm')
// PC 端div元素广告移除
for (i = 0; i < div.length; i++) {
if (div[i].querySelectorAll('iframe').length > 0) {
div[i].style = "display: none !important;";
}
}
/*
let ads = document.querySelectorAll('div.hidden-sm.hidden-md');
for (i = 0; i < ads.length; i++) {
if (ads[i].querySelectorAll("a[href*='abs']")) {
ads[i].remove();
}
}
*/
break;
case "javlibrary":
css_adsRemove(imax.css.javlibrary)
window_open_defuser(); // 打断 window.open 施法
if (/\b(https:\/\/www.javlibrary.com\/.*?)(\/videoreviews.php)(\?.*)(&mode=2)\b/i.test(window.location.href.toLowerCase())) {
console.log(window.location.href.toLowerCase())
let url_jav_rewrite = window.location.href.toLowerCase().replace(/(videoreviews.php)/i, '').replace(/(&mode=2)/i, '')
console.log(url_jav_rewrite)
window.location.replace(url_jav_rewrite)
}
function javlibrary() {
// '#topmenu', 'div.menutext', '.searchbar',
css_adsRemove(imax.css.javlibrary);
var target_ = ['#rightcolumn', '.videothumblist', '.titlebox', '.menutext']
if (window.innerWidth < 650) {
console.log("现在执行缩小任务")
function ifAdd(target) {
if (document.querySelectorAll(target)[0]) {
document.querySelectorAll(target)[0].classList.add('whenmobile')
}
}
target_.forEach(ifAdd);
if (document.querySelector('div#rightcolumn')) {
var parentElement = document.querySelector('div#rightcolumn')
if (document.querySelectorAll("td[style='vertical-align: top;']")[1]) {
var child = document.querySelectorAll("td[style='vertical-align: top;']")[1];
}
if (document.querySelector('div.socialmedia')) {
var insertBeforethisgay = document.querySelector('div.socialmedia');
}
if ((child) && (parentElement) && (insertBeforethisgay)) {
parentElement.insertBefore(child, insertBeforethisgay)
}
document.querySelectorAll('td.t>div').forEach((x) => {
x.style.width = 'auto';
})
}
if (document.querySelector('div#video_title')) {
document.querySelector('#rightcolumn').style.width = window.innerWidth - 90 + "px"
document.querySelector('div#video_favorite_edit').style.width = '250px'
}
} else {
console.log("现在执行扩大任务")
if (document.querySelector('div#video_title')) {
document.querySelector('#rightcolumn').style.width = window.innerWidth + "px"
document.querySelector('div#video_favorite_edit').style.width = 'auto'
}
function ifRemove(target) {
if (document.querySelectorAll(target)[0]) {
document.querySelectorAll(target)[0].classList.remove('whenmobile')
}
}
target_.forEach(ifRemove);
}
}
javlibrary(); // 2333
zjpl()
function zjpl() {
setTimeout(() => { // 最佳评论页 调换位置
javlibrary();
if (document.querySelectorAll('td.info')[0]) {
document.querySelectorAll('td.info').forEach((x) => {
x.style.width = "60px"
x.querySelectorAll('*').forEach((y) => {
// y.style.width = "60px"
})
})
var ff = document.querySelectorAll("table.comment > tbody > tr");
for (i = 0; i < ff.length; i++) {
ff[i].insertBefore(ff[i].querySelectorAll('td')[1], ff[i].querySelectorAll('td')[0])
}
}
}, 1500)
}
xqy();
function xqy() {
setTimeout(() => { // 番号详情页添加番号搜索等操作
javlibrary();
if (document.querySelector('tr td.text')) {
var code = document.querySelector('tr td.text').textContent;
ele_dynamicAppend("#video_id > table > tbody", "onclick", "复制番号", "margin-left: 5px; margin-top: 5px; position: static; font-size: smaller !important; background: #2563eb !important; margin-right: 5px;" + "padding: 6px 6px 6px 6px; display: inline-block; color: white;z-index: 114154 !important; border-right: 6px solid #38a3fd !important; border-left: #292f33 !important; border-top: #292f33 !important; border-bottom: #292f33 !important; background: #2563eb; border-radius: 0px 0px 0px 0px; font-weight: 800 !important; text-align: right !important;", "", "javlibraryx", 3, "button")
ele_dynamicAppend("#video_id > table > tbody", "target", "搜索番号", "margin-left: 5px; margin-top: 5px; position: static; font-size: smaller !important; background: #2563eb !important; margin-right: 5px;" + "padding: 6px 6px 6px 6px; display: inline-block; color: white;z-index: 114154 !important; border-right: 6px solid #38a3fd !important; border-left: #292f33 !important; border-top: #292f33 !important; border-bottom: #292f33 !important; background: #2563eb; border-radius: 0px 0px 0px 0px; font-weight: 800 !important; text-align: right !important;", "", "javlibrarysearch", 4, "a")
ele_dynamicAppend("#video_id > table > tbody", "onclick", "", "", "", "copy", 2, "input");
document.getElementById('copy').value = code;
document.getElementById('javlibraryx').addEventListener('click', () => {
copyText("copy", "javlibraryx", "复制番号")
})
// 为番号搜索添加素材
document.querySelector("#javlibrarysearch").addEventListener('click', () => {
if (document.querySelector("#searchbyGoogle") || null === document.querySelector("#searchbyGoogle")) {
open_googlesearch_iframe();
}
})
if ((/\b(gsc.tab)\b/i.test(document.location.href.toLowerCase()))) {
var jav_url = document.location.href.toLowerCase();
var regexp_jav = /(.*)(#gsc.*)/;
var jav_url_right = jav_url.replace(regexp_jav, '$1' + "#gsc.tab=0&gsc.q=" + code + "&gsc.sort=");
document.querySelector('#javlibrarysearch').href = jav_url_right;
document.querySelector('#javlibrarysearch').target = '_self'
console.log(jav_url_right)
} else {
var jav_url = document.location.href.toLowerCase();
var jav_url_right = jav_url + "#gsc.tab=0&gsc.q=" + code + "&gsc.sort=";
document.querySelector('#javlibrarysearch').href = jav_url_right;
document.querySelector('#javlibrarysearch').target = '_self'
console.log(jav_url_right)
}
}
}, 1000)
}
case 'douban':
if (document.querySelectorAll('a.Ims1t')[0]) {
alert("首页...")
document.querySelectorAll('a.Ims1t').forEach((x) => { x.href = 'https://movie.douban.com/top250' })
}
break;
break;
case 'zhihu':
var zhihu_id = "zhihux"
button_dynamicRemove("[class='Button Modal-closeButton Button--plain']", 10);
css_adsRemove(imax.css.zhihuAds, 100, "hloyx");
indexLogin();
addListener("div.TopNavBar-tab-d8yaD", () => { indexLogin() });
break;
case 'twitter':
console.log(values + "IS HERE!")
setInterval(() => {
if (document.querySelectorAll('[data-testid="cellInnerDiv"]')) {
let article = document.querySelectorAll('[data-testid="cellInnerDiv"]')
for (i = 0; i < article.length; i++) {
if (!article[i].querySelector('a[href*=ssstwitter]')) {
if (article[i].querySelector('[data-testid="videoPlayer"]')) {
console.log(article[i].textContent);
let a = document.createElement('a')
a.href = 'https://ssstwitter.com/';
a.className = 'xdload'
a.target = '_blank';
a.zIndex = '114154';
a.style = 'position:absolute;right:40px;top:20px;background-color:blue;color:aquamarine;z-index:114154;'
a.textContent = "下载视频";
article[i].appendChild(a)
}
}
}
}
}, 1000)
break;
case 'olevod':
css_adsRemove(imax.css.olevod, 0, 'fuckolevod');
setTimeout(() => {
onAdsHide()
}, 500)
break;
default:
// 修正 case 中 default 的匹配规则 10.25.203
if (/\b(netflav|missav|jable)\b/i.test(window.location.href.toLowerCase())) {
if (document.querySelector('video')) {
abort_on_property_read('__Y');
window_open_defuser(); // 打断 window.open 施法
}
}
console.log("Catch Nothing! DEFAULT!");
//alert('DEFAULT!CATCH!')
}
}
adsDomain_switch(values()) // 动手吧
function daohang_build() { // 如果导航按钮不存在,则引入外部脚本进行创建;
var csp_regex = new RegExp(/\b(twitter|xvideos)\b/i);
//if (!(csp_regex.test(window.location.href.toLowerCase()))) {
if (csp_regex.test(window.location.href.toLowerCase()) && !(/\b(mobile)\b/i.test(navigator.userAgent.toLowerCase()))) {
console.log('CSP + PC, SO DO NOTING.')
} else {
let daohang = setInterval(() => {
if (!((document.querySelector("button#x4Home")) && (document.querySelector("script[src*='Adblock4limbo.function.js']")))) {
third_party_fileX("script", imax.js.functionx, "body"); // js 外部引用 标签