fmkorea.com - tracking (#133054)

* fmkorea.com - tracking parameter

* Add GitHub PR URL
This commit is contained in:
PiQuark6046
2022-10-24 14:02:53 +00:00
committed by GitHub
parent 134c75768b
commit 2e69a8b4bf

View File

@@ -13,6 +13,8 @@ imdb.com#%#//scriptlet("set-constant", "doWithAds", "noopFunc")
! https://developer.chrome.com/docs/privacy-sandbox/topics/
! TODO: replace with a scriptlet later: https://github.com/AdguardTeam/Scriptlets/issues/214
#%#//scriptlet('set-constant', 'Document.prototype.browsingTopics', 'undefined')
! https://github.com/AdguardTeam/AdguardFilters/pull/133054
fmkorea.com#%#//scriptlet("set-constant", "link_url", "")
! https://github.com/AdguardTeam/AdguardFilters/pull/130514
ppomppu.co.kr#%#AG_onLoad(() => { if (/^https:\/\/(www\.|m\.|)ppomppu\.co\.kr\/(new\/|)hotdeal\//g.test(document.location.href) && document.querySelector(".hotDeal_goods > ul#hotdeal")) { var k = (n) => { if(/\/\/click\.linkprice\.com\/click\.php\?/.test(n)) { return new URLSearchParams(n).get("tu") } else { return n } }; new MutationObserver((o) => { Array.from(o[0].addedNodes).filter(e => /[0-9]{7,9}$/.test(e.className) && /ppomppu\.co\.kr\/(new\/|)hotdeal\/\?/.test(e.querySelector(".view > a").href)).forEach((e) => { e.querySelector(".view > a").href = e.querySelector("p > a[href]:not([class])").href = k(new URLSearchParams(e.querySelector(".view > a").href).get("url"))})}).observe(document.querySelector(".hotDeal_goods > ul#hotdeal"), { childList: true })}});
ppomppu.co.kr#%#AG_onLoad(() => { if (/m\.ppomppu\.co\.kr\/new\/bbs_view\.php\?/.test(location.href) || /ppomppu\.co\.kr\/zboard\/view\.php\?/.test(location.href)) { Array.from(document.querySelectorAll("a[href][target='_blank']")).filter(e => /^https:\/\/s\.ppomppu\.co\.kr(\/|)\?idno=/.test(e.href)).forEach((o) => { o.href = atob(new URLSearchParams(o.href).get("target").replace("\\", ""))})}});