XFileSharing Pro - PPD - no earnings when adblock is used

Posts: 1
Joined: May 11, 2016 3:53 pm

PPD - no earnings when adblock is used

#1 Postby devon » May 11, 2016 3:59 pm

Is it possible to not count a download when the downloader is using adblock?

Posts: 35
Joined: Jul 23, 2009 9:11 pm

#2 Postby RootShell » Jul 17, 2016 9:15 pm

Its possible yes, usage of JS on the front part for this purpose and custom coding is a must.

Create t JS function to detect is adBlock is present, or just use this JS library : https://github.com/sitexw/FuckAdBlock

When adBlock detected, send an Ajax request back to your server with an unique token, user ID, and download ID. Then you can run a cron periodically to invalidate download counts when adBlock is present, just a SQL query.

But I don't recommend striking your uploader if the downloader uses adBlock, instead try to bypass it, use CNAME records to mimic : ad-host.com as yourfakeadhost.com

Return to “XFileSharing Pro”