Compare commits
No commits in common. "6cb5ea9b15ba74eef9d30e7c086285a139d744ee" and "2001be442414c5e138dd26acbe97736a7c7f01e3" have entirely different histories.
6cb5ea9b15
...
2001be4424
@ -85,7 +85,7 @@
|
|||||||
android:theme="@style/Theme.LunarLauncher.Starting"
|
android:theme="@style/Theme.LunarLauncher.Starting"
|
||||||
android:launchMode="singleInstance"
|
android:launchMode="singleInstance"
|
||||||
android:screenOrientation="userPortrait"
|
android:screenOrientation="userPortrait"
|
||||||
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|screenLayout|layoutDirection|navigation"
|
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|screenLayout|layoutDirection"
|
||||||
android:windowSoftInputMode="adjustResize"
|
android:windowSoftInputMode="adjustResize"
|
||||||
android:exported="true">
|
android:exported="true">
|
||||||
<intent-filter>
|
<intent-filter>
|
||||||
|
|||||||
@ -63,7 +63,7 @@ port.onMessage.addListener(response => {
|
|||||||
}else {
|
}else {
|
||||||
document.querySelector("#goNextBtn").click()
|
document.querySelector("#goNextBtn").click()
|
||||||
}
|
}
|
||||||
document.querySelector(".link_ad")
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -86,7 +86,11 @@ 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"});
|
||||||
@ -238,52 +242,7 @@ 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())
|
|
||||||
}
|
|
||||||
|
|
||||||
if (location.hostname.search("toki") > -1 && document.querySelectorAll('[id^="id_mbv"]')) {
|
function dssd() {
|
||||||
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