...
This commit is contained in:
@@ -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){
|
||||
// 한 번에 이동할 픽셀
|
||||
|
||||
Reference in New Issue
Block a user