...
This commit is contained in:
parent
2001be4424
commit
133dedd187
@ -63,7 +63,7 @@ port.onMessage.addListener(response => {
|
|||||||
}else {
|
}else {
|
||||||
document.querySelector("#goNextBtn").click()
|
document.querySelector("#goNextBtn").click()
|
||||||
}
|
}
|
||||||
|
document.querySelector(".link_ad")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -86,11 +86,7 @@ port.onMessage.addListener(response => {
|
|||||||
break
|
break
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
if (document.location.href.search("reddit") > -1) {
|
|
||||||
if (document.querySelector('#xpromo-bottom-sheet')) {
|
|
||||||
document.querySelector('#xpromo-bottom-sheet').remove()
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if (document.querySelector(".show_viewer") !== null) {
|
if (document.querySelector(".show_viewer") !== null) {
|
||||||
document.querySelector(".show_viewer").click();
|
document.querySelector(".show_viewer").click();
|
||||||
sendMessage({type: "SHOWVIEWER"});
|
sendMessage({type: "SHOWVIEWER"});
|
||||||
@ -242,7 +238,52 @@ function toast(msg) {
|
|||||||
port.postMessage(JSON.stringify({type:"MSG",msg:msg}));
|
port.postMessage(JSON.stringify({type:"MSG",msg:msg}));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (port) {
|
||||||
|
setTimeout(
|
||||||
|
function(){
|
||||||
|
if (location.hostname.search("clien") > -1 && document.querySelectorAll('[class^="view_top"]')) {
|
||||||
|
document.querySelectorAll('[class^="view_top"]').forEach(e => e.remove())
|
||||||
|
}
|
||||||
|
|
||||||
function dssd() {
|
if (location.hostname.search("toki") > -1 && document.querySelectorAll('[id^="id_mbv"]')) {
|
||||||
|
document.querySelectorAll('[id^="id_mbv"]').forEach(e => e.remove())
|
||||||
|
}
|
||||||
|
if (location.hostname.search("toki") > -1 && document.querySelectorAll('[class^="basic-banner"]')) {
|
||||||
|
document.querySelectorAll('[class^="basic-banner"]').forEach(e => e.remove())
|
||||||
|
}
|
||||||
|
if (document.querySelector(".top_google_ad_space")) {
|
||||||
|
document.querySelector(".top_google_ad_space").remove()
|
||||||
|
}
|
||||||
|
if (document.querySelectorAll(".adv-group")) {
|
||||||
|
document.querySelectorAll(".adv-group").forEach(e =>
|
||||||
|
e.remove()
|
||||||
|
)
|
||||||
|
}
|
||||||
|
if (document.querySelectorAll('[id^="div-gpt-ad"]')) {
|
||||||
|
document.querySelectorAll('[id^="div-gpt-ad"]').forEach(e =>
|
||||||
|
e.remove()
|
||||||
|
)
|
||||||
|
}
|
||||||
|
if (document.location.href.search("reddit") > -1) {
|
||||||
|
if (document.querySelector('#xpromo-bottom-sheet')) {
|
||||||
|
document.querySelector('#xpromo-bottom-sheet').remove()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (document.querySelectorAll('[id^="div_adnmore_area"]')) {
|
||||||
|
document.querySelectorAll('[id^="div_adnmore_area"]').forEach(e =>
|
||||||
|
e.remove()
|
||||||
|
)
|
||||||
|
}
|
||||||
|
if (document.querySelectorAll('[id^="div_adnmore_area"]')) {
|
||||||
|
document.querySelectorAll('[id^="div_adnmore_area"]').forEach(e =>
|
||||||
|
e.remove()
|
||||||
|
)
|
||||||
|
}
|
||||||
|
if (document.querySelectorAll('[class^="adv-groupno"]')) {
|
||||||
|
document.querySelectorAll('[class^="adv-groupno"]').forEach(e =>
|
||||||
|
e.remove()
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
|
},1500)
|
||||||
}
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user