Closed ghajini closed 5 years ago
on the last screen see in the logger what's blocked and post here (failing on your steps)
A detailed STR is already given with login credentials
screenshot=
http://prnt.sc/p0tr46
http://prnt.sc/p0trjh
test
@@||liveadexchanger.com^$script,domain=prem.link
Works But why whitelist ad server
To make it work...
@uBlock-user any way other than whitelisting (May be I can add in custom userscript)
Script which is whitelisted
http://www.liveadexchanger.com/a/display.php?r=1178444
function SlZum5P3ENR3EgEQm(){var EnJpge2Y7x4Cdhdc0 = false;setTimeout(function(){var NkCvZ4nctd0JeEire = $("#img_new").find("iframe");if(NkCvZ4nctd0JeEire == null \|\| NkCvZ4nctd0JeEire == undefined \|\| NkCvZ4nctd0JeEire.attr("src") == undefined \|\| NkCvZ4nctd0JeEire.attr("src").indexOf("liveadexchanger.com") == false){$("#isashow").val(1); $("#F8TRiLKOB2nzZXpaN").modal({keyboard: false});}else{ getdlink();}}, 100);};
var waiting_time = 15;
//var waiting_run = 15;
function getdlink(){
if(waiting_time > 0)
{
$("#waiting_msg").show();
$(".btnSubmit").attr('disabled','disabled');
$(".btnSubmit").show();
waiting();
return false;
}
$.ajax({
url: $("#verify_captcha").attr("action"),
type: "POST",
dataType: 'json',
data: $("#verify_captcha").serialize(),
success: function (data) {
if(data != null)
{
if(data.status != undefined)
{
if(data.status == "error")
{
alert(data.message);
window.location.href = window.location.href;
}
else if(data.status == "login")
{
window.location.href = data.url;
}
else if(data.status == "ok" && data.url != undefined)
{
//$("#download_link").attr("href",data.url);
$(".btnSubmit").fadeOut();
$("#verify_captcha").fadeOut();
$("#download_link").fadeIn();
var downloadlink = data.url;
$("#download_link").click(function(){
location.href = downloadlink;
});
}
else
window.location.href = window.location.href;
}
else
window.location.href = window.location.href;
}
else
window.location.href = window.location.href;
},
error: function(){
window.location.href = window.location.href;
}
});
}
function waiting(){
$(".btnSubmit").val("Your link is almost ready\n(" + waiting_time + ")");
if(waiting_time > 0)
setTimeout(function(){waiting_time = waiting_time - 1; waiting()},1000);
else
{
$(".btnSubmit").removeAttr("disabled");
$(".btnSubmit").val("Get link");
$(".btnSubmit").click(function(){
//alert("Check error");
getdlink();
return false;
});
}
}
etc etc
Because of this I don't want to whitelist this adserver......
whitelisted only that specific script
@@||liveadexchanger.com/a/display.php$script,domain=prem.link
prem-link.js application/javascript
(() => {
'use strict';
const insert_script = ev => {
if (ev) { window.removeEventListener(ev.type, insert_script, true); }
try {
const script = document.createElement("script");
script.setAttribute('type', 'text/javascript');
script.setAttribute('onload', 'getdlink();');
document.head.appendChild(script);
} catch (ex) { }
};
if ( document.readyState === 'interactive' || document.readyState === 'complete' ) {
window.addEventListener('DOMContentLoaded', insert_script, true);
} else {
insert_script();
}
})();
Something like that should do, don't know if it will work..
Ohk I made a gist and used raw ver ...copied .txt URL to userresource location under advance settings and added prem.link##+js(prem-link.js)
in my filters
But antiadblock still kicks in.....
Here is direct URL for repro if you can access it
http://prem.link/dl.php?id=7221985
URL(s) where the issue occurs
prem.link
Describe the issue
Antiadblock at end when trying to download a file....
STR
1.go to
prem.link
http://bugmenot.com/view/prem.link
http://uppit.com/2fbisbx28krf
Screenshot(s)
https://prnt.sc/p0t554
Versions
Settings
Notes