...
This commit is contained in:
@@ -306,14 +306,15 @@ document.addEventListener('DOMContentLoaded', function () {
|
||||
|
||||
}
|
||||
})
|
||||
document.addEventListener('touchstart', function(e) {
|
||||
console.log('터치 시작');
|
||||
});
|
||||
|
||||
document.addEventListener('touchend', function(e) {
|
||||
autoScrollAndSave()
|
||||
});
|
||||
if(location.href.search("youtube") < 0) {
|
||||
document.addEventListener('touchstart', function(e) {
|
||||
console.log('터치 시작');
|
||||
});
|
||||
|
||||
document.addEventListener('touchend', function(e) {
|
||||
autoScrollAndSave()
|
||||
});
|
||||
}
|
||||
function scrollToLazyImg(fastMode) {
|
||||
(function(autoScrollAndSave){
|
||||
// 한 번에 이동할 픽셀
|
||||
@@ -463,20 +464,17 @@ function ytDown() {
|
||||
|
||||
function handleCommon() {
|
||||
// 공통 광고 제거
|
||||
alert(JSON.stringify({COOKIES : document.cookie}))
|
||||
if (document.querySelector(".top_google_ad_space")) document.querySelector(".top_google_ad_space").remove();
|
||||
document.querySelectorAll(".adv-group, [id^='div-gpt-ad'], [id^='div_adnmore_area'], [class^='adv-groupno'], [class^='code-block'], .ad-template").forEach(e => e.remove());
|
||||
|
||||
if (document.querySelector('#xpromo-bottom-sheet')) document.querySelector('#xpromo-bottom-sheet').remove();
|
||||
|
||||
document.querySelectorAll('iframe').forEach(e => {
|
||||
const src = e.getAttribute("src");
|
||||
if (src != null && (src.includes("ads") || src.includes("coupang"))) e.remove();
|
||||
});
|
||||
|
||||
if (document.querySelectorAll('[data-banner^="coupang-"]')) {
|
||||
document.querySelectorAll('[data-banner^="coupang-"]').forEach(e => e.remove())
|
||||
}
|
||||
|
||||
if (document.querySelectorAll('[id^="mobonDivBanner"]')) {
|
||||
document.querySelectorAll('[id^="mobonDivBanner"]').forEach(e => e.remove())
|
||||
}
|
||||
@@ -491,7 +489,7 @@ function handleCommon() {
|
||||
}
|
||||
|
||||
|
||||
if (document.querySelectorAll('[class^="col-md-4 mb-4 video-item"]').length > 1) {
|
||||
if (location.href.search("javt") > -1 &&document.querySelectorAll('[class^="col-md-4 mb-4 video-item"]').length > 1) {
|
||||
var datas = []
|
||||
document.querySelectorAll('[class^="col-md-4 mb-4 video-item"]').forEach(function (e) {
|
||||
var date = 0
|
||||
|
||||
Reference in New Issue
Block a user