4Shared detection of ABP

Posting here is no longer possible, please use the forum of a filter list project, such as EasyList
Locked
foru

4Shared detection of ABP

Post by foru »

Upon visiting the site with ABP enabled the following error message is received:
We notice you have AdBlock installed. This prevents you from using all features on 4shared. Please consider whitelisting us in AdBlock or click the button below

I was wondering if there was a solution to this problem or a way to bypass the detection.
User avatar
mapx
Posts: 21940
Joined: Thu Jan 06, 2011 2:01 pm

Re: 4Shared detection of ABP

Post by mapx »

add

Code: Select all

@@||4shared.com/js/blockDetect/*
Lashek
Posts: 2
Joined: Mon Mar 02, 2015 3:27 pm

Re: 4Shared detection of ABP

Post by Lashek »

4shared changed the AdBlock detection.

Adding this filter fixed it for me:

Code: Select all

@@||4shared.com/show_ad*
Natalia

Re: 4Shared detection of ABP

Post by Natalia »

Need another update again. it doesnt works anymore
User avatar
mapx
Posts: 21940
Joined: Thu Jan 06, 2011 2:01 pm

Re: 4Shared detection of ABP

Post by mapx »

@@||4shared.com/show_ad*
still working

in case you have still issues provide an example link / page
Taline
Posts: 1
Joined: Sun Mar 29, 2015 7:05 am

Re: 4Shared detection of ABP

Post by Taline »

Please explain where to add the link you provided:
@@||4shared.com/show_ad*
User avatar
mapx
Posts: 21940
Joined: Thu Jan 06, 2011 2:01 pm

Re: 4Shared detection of ABP

Post by mapx »

it's old, update manually your lists, try again
Did they change something on 4shared ? If I click download now you need to connect via google / FB ?!

anyway to add custom filters:
firefox:
click abp icon, filter preferences, "custom filters" tab, if you dont see any filters group create 1, then paste the filters above in the right panel (if you dont see the panel drag the vertical pointed line on the right to the left)

chrome:
chrome: click abp icon, options, "add your own filters" tab, add the filters 1 by 1
Lashek
Posts: 2
Joined: Mon Mar 02, 2015 3:27 pm

Re: 4Shared detection of ABP

Post by Lashek »

I know this is an old thread, but I didn't want to create a new one when this one already goes to this topic.

4Shared updated the detection recently and actually did a better job this time. I haven't quite figured it out yet.

They switched to an "on body load" event that triggers EPOM to load a page and detect any errors in loading. This causes EPOM to load various resources into iFrame's and execute scripts from "forshrd.com" and "static.4shared.com".

The source function that calls EPOM is nestled into a file called "empty.js" as well as the download HTML page which both have required functionality within it for the page to operate.

The actual EPOM functionality can be found here:
http://www.4shared.com/web/escript/16726.js?ver=50859 (please note the "16726" number is randomly generated I believe, I assume they have tons of the same script just duplicated with diff numbers)
http://static.4shared.com/js/blockDetec ... =159567778
http://static.4shared.com/js/adlogger_t ... =803098674

[edit]
But they've made even worse mistakes this time round.

In the form elements, under "jsParams" div element, there is a hidden attribute with the "Seconds Left". Simply editing this HTML value to 1 second gives you instant downloads regardless of adblock. Wow.

<input type="hidden" id="secondsLeft" value="1000">


At first, I thought they were clever. Now I'm crying inside.
User avatar
mapx
Posts: 21940
Joined: Thu Jan 06, 2011 2:01 pm

Re: 4Shared detection of ABP

Post by mapx »

this filter is working for me (also the above one)

Code: Select all

@@||4shared.com/show_ad_.xml
probably you should update easylist
Votapardo
Posts: 3
Joined: Fri Jan 10, 2014 1:45 pm

Re: 4Shared detection of ABP

Post by Votapardo »

It's failing again, and none of the filters seem to be working. Have the 4shared people made changes again?
User avatar
mapx
Posts: 21940
Joined: Thu Jan 06, 2011 2:01 pm

Re: 4Shared detection of ABP

Post by mapx »

try

Code: Select all

@@||4shared.com/show_ad_.gif
@@||forshrd.com^*$domain=4shared.com
if does not work for you provide also an example link
Votapardo
Posts: 3
Joined: Fri Jan 10, 2014 1:45 pm

Re: 4Shared detection of ABP

Post by Votapardo »

Code: Select all

@@||4shared.com/show_ad_.gif
I only had to try this one and at last I can watch the videos again. Thanks!
Locked