Closed webhunted closed 1 month ago
It's by https://static.trafficjunky.com/ab/ads_test.js
blocked.
(function a0_0x1267bd(_0x5bdd87, _0x3970da) {
if (typeof exports === "object" && typeof module === "object") {
module.exports = _0x3970da();
} else {
if (typeof define === "function" && define.amd) {
define("Ads test script", [], _0x3970da);
} else {
if (typeof exports === "object") {
exports["Ads test script"] = _0x3970da();
} else {
_0x5bdd87["Ads test script"] = _0x3970da();
}
}
}
})(self, function () {
return function () {
var _0x41c143 = {};
page_params = window.page_params ? page_params : {};
page_params.phxvv78s = (() => {
const _0x4dd196 = document.createElement("div");
_0x4dd196.innerHTML = " ";
_0x4dd196.className = "adsbox";
let _0x5305e6 = undefined;
try {
document.body.appendChild(_0x4dd196);
_0x5305e6 = document.getElementsByClassName("adsbox")[0x0].offsetHeight === 0x0;
document.body.removeChild(_0x4dd196);
} catch (_0x527428) {
_0x5305e6 = undefined;
}
return _0x5305e6 === true ? undefined : true;
})();
page_params.holiday_promo_prem = page_params.phxvv78s;
page_params.holiday_promo = page_params.phxvv78s;
page_params.holiday_promo = page_params.phxvv78s;
page_params.holiday_promo = page_params.phxvv78s;
return _0x41c143;
}();
});
pornhub.com##+js(set, page_params.holiday_promo_prem, null)
fixes this, but can this not be undefined
if premium user?
pornhub.*###js-abContainterMain
already present in uBlock Annoyances list.
@webhunted Enable uBlock filters – Annoyances.
Prerequisites
URL address of the web page
https://www.pornhub.com/view_video.php?viewkey=6599a19d61232
Category
detection
Description
Site detects U-Block as AdBlock
Other extensions used
none
Screenshot(s)
Screenshot(s)
![image](https://github.com/user-attachments/assets/ab2f38e9-14e9-4745-9516-473430414889)Configuration