-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patheksisozluk-v2.user.js
31 lines (27 loc) · 1.01 KB
/
eksisozluk-v2.user.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
// ==UserScript==
// @name Eksisozluk Utility
// @namespace http://tampermonkey.net/
// @version 0.0.1
// @description try to take over the world!
// @author end
// @match https://eksisozluk.com/*
// @icon https://www.google.com/s2/favicons?domain=eksisozluk.com
// ==/UserScript==
(function() {
window.onload = () => {
const adsList = ['.under-top-ad', '#networkad-inread-video-ad', '.ad-double-click'] //Reklam elementleri
//basit gorunum
const backToNormal = document.querySelector('#return-to-innocence')
if (backToNormal) backToNormal.click()
//sayfa gecerken cikan reklami gec
const skipFullPageAd = document.querySelector('#interstitial-close-link-tag')
if (skipFullPageAd) skipFullPageAd.click()
//reklamlari gez ve yok et :P
adsList.forEach(adElem => {
let ads = document.querySelectorAll(adElem)
ads.forEach(ad => {
ad.remove()
})
})
}
})();