This commit is contained in:
2025-08-22 17:06:04 +09:00
parent a11e40c56c
commit fd0d61c584
9 changed files with 75 additions and 25 deletions
@@ -306,15 +306,21 @@ document.addEventListener('DOMContentLoaded', function () {
}
})
if(location.href.search("youtube") < 0) {
const keywords = ["youtube", "mojeek"];
const url = location.href;
if (keywords.every(keyword => !url.includes(keyword))) {
document.addEventListener('touchstart', function(e) {
console.log('터치 시작');
});
document.addEventListener('touchend', function(e) {
autoScrollAndSave()
setTimeout(() => {
autoScrollAndSave();
}, 5);
});
}
function scrollToLazyImg(fastMode) {
(function(autoScrollAndSave){
// 한 번에 이동할 픽셀