The Windows 10 April 2018 update has arrived! Get the new Dell XPS 15, starting at $999.99
  1. ACoronado's Avatar
    Easy Tutorial to setup a system-wide adblocker for Windows 10 mobile using PAC files:

    How to enable it:

    1. Go to Settings > Network and Internet > Wi-Fi
    2. Click on the current Wi-Fi connection
    3. In the Proxy submenu choose "Use setup script". Be sure that "Sign into proxy" is off.
    4. In the Script address put the following address: http://wl.is/xL3q8c.js
    5. Press ready (the check mark)


    In order to disable it (in case that any website, like Forbes, demands it):

    • Go to Settings > Network and Internet > Wi-Fi
    • Click on the current Wi-Fi connection
    • In the Proxy submenu choose "None"
    • Press OK (the check mark)


    Instructions valid for Windows 10 mobile anniversary update (Redstone 2 users should use WiFi legacy menu)

    How does it work and it is safe?

    A PAC script defines how you connect with the Internet. This PAC was obtained from the iOS app Weblock. With this PAC any attempt to connect to an AdServer is blocked (automatically routed through a dummy proxy server from Google, IP 8.8.8.8 port 53, which is fast, stable, accepts connections but is not able to handle HTTP nor HTTPS) so no ad is shown. The dummy proxy server was implemented because iOS doesn't allow adding a localhost, but you can modify as you please.
    The file itself is safe and very efficient (only 16kb), and can block like 95% of ads on the web (except Facebook, Google, and YouTube ads because their implementation is harder to block). However, configuring a PAC file into your smartphone can be dangerous. If the PAC file is malicious (is not) or if it were modified by a hacker, the attacker could send parts or all of your web traffic through a proxy of his/her choice. But I think that we are pretty safe right now. I am using it with notable results.

    Disadvantages

    • It should be configured once for every Wi-Fi connection you would like to block ads
    • For now, it doesn't work on celullar data (where it would be more useful)
    • And, it also blocks the in-app ads, hurting the few W10m developers out there (so buy instead!)


    So, if you like, you can review the file, edit it as you please, and host it in a server of your trust.

    We have had a discussion over reddit, where I posted this before. You can check it for Mirror URL's and more info.
    Last edited by ACoronado; 09-20-2016 at 12:08 AM. Reason: Added disadvantages
    09-19-2016 09:33 AM
  2. RumoredNow's Avatar
    You seem to indicate that it is best (safest) for me to host the xL3q8c.js file for myself...

    I don't have a Home Server. Is there a way for me to host it out of my cloud storage?
    09-19-2016 10:57 PM
  3. ACoronado's Avatar
    If Redstone 2 for W10m has a new WiFi menu similar to the one on the desktop version, it should also bring the detached proxy menu where you could configure this method. With this, we will be able to use it with wired connections and, possibly, with cellular data.
    Last edited by ACoronado; 09-19-2016 at 11:41 PM.
    09-19-2016 11:02 PM
  4. ACoronado's Avatar
    As far as I know, no cloud storage allows to hotlink a file, at least not Onedrive nor Dropbox (some people hace suggested GitHub, I haven't tried it yet). The main concern here is that we are using a third party server that could be hacked and use the PAC to harm us. However, I think that we are safe. In reddit some people have offered some mirror URL like the folks of the spanish website microsoftinsider.es if you like to try them.
    RumoredNow likes this.
    09-19-2016 11:10 PM
  5. milkyway's Avatar
    Thank you very much for this post! I would like to add that it's also possible to get an Adblocker on your phone but switching the hosts file with a modified one (you have to enable full filesystem access to do this)
    RumoredNow likes this.
    09-20-2016 01:09 AM
  6. ACoronado's Avatar
    I'm aware of the hosts/interop method. However, this method is easy to setup and way easier to disable in the case you need it.
    RumoredNow and milkyway like this.
    09-20-2016 10:36 AM
  7. mehtanilay10's Avatar
    For me it does not work!

    Easy Tutorial to setup a system-wide adblocker for Windows 10 mobile using PAC files:

    How to enable it:

    1. Go to Settings > Network and Internet > Wi-Fi
    2. Click on the current Wi-Fi connection
    3. In the Proxy submenu choose "Use setup script". Be sure that "Sign into proxy" is off.
    4. In the Script address put the following address: http://wl.is/xL3q8c.js
    5. Press ready (the check mark)


    In order to disable it (in case that any website, like Forbes, demands it):

    • Go to Settings > Network and Internet > Wi-Fi
    • Click on the current Wi-Fi connection
    • In the Proxy submenu choose "None"
    • Press OK (the check mark)


    Instructions valid for Windows 10 mobile anniversary update (Redstone 2 users should use WiFi legacy menu)

    How does it work and it is safe?

    A PAC script defines how you connect with the Internet. This PAC was obtained from the iOS app Weblock. With this PAC any attempt to connect to an AdServer is blocked (automatically routed through a dummy proxy server from Google, IP 8.8.8.8 port 53, which is fast, stable, accepts connections but is not able to handle HTTP nor HTTPS) so no ad is shown. The dummy proxy server was implemented because iOS doesn't allow adding a localhost, but you can modify as you please.
    The file itself is safe and very efficient (only 16kb), and can block like 95% of ads on the web (except Facebook, Google, and YouTube ads because their implementation is harder to block). However, configuring a PAC file into your smartphone can be dangerous. If the PAC file is malicious (is not) or if it were modified by a hacker, the attacker could send parts or all of your web traffic through a proxy of his/her choice. But I think that we are pretty safe right now. I am using it with notable results.

    Disadvantages

    • It should be configured once for every Wi-Fi connection you would like to block ads
    • For now, it doesn't work on celullar data (where it would be more useful)
    • And, it also blocks the in-app ads, hurting the few W10m developers out there (so buy instead!)


    So, if you like, you can review the file, edit it as you please, and host it in a server of your trust.

    We have had a discussion over reddit, where I posted this before. You can check it for Mirror URL's and more info.
    09-26-2016 04:30 AM
  8. BritDad's Avatar
    When I try this, the check mark/ tick cannot be selected and is greyed out. Any ideas?

    Edit: never mind, I've found out you have to untick Connect Automatically, then it works and blocks normal adverts. Sadly this method doesn't block the adverts from Revcontent and Taboola, which are the most offensive of all.
    Last edited by BritDad; 02-07-2017 at 03:57 AM.
    02-07-2017 12:52 AM
  9. chez3makr's Avatar
    I remember seeing a method using interop tools but it was super complicated. Is there a video on how to do it?
    06-27-2017 03:44 PM

Similar Threads

  1. Which micro SD card is the best for Lumia 650
    By talyavnai in forum Ask a Question
    Replies: 3
    Last Post: 09-25-2016, 11:56 AM
  2. Replies: 2
    Last Post: 09-25-2016, 11:40 AM
  3. Dear Esther Landmark Edition for Xbox One review
    By WindowsCentral.com in forum Windows Central News Discussion
    Replies: 1
    Last Post: 09-19-2016, 02:57 PM
  4. Digital Offers: Get a year's worth of all the movies and TV shows you can handle for only $19!
    By WindowsCentral.com in forum Windows Central News Discussion
    Replies: 0
    Last Post: 09-19-2016, 08:42 AM
  5. how to upgrade to windows 10 on DV8P 3000 series
    By Kapil Bilwal in forum Dell Venue 8 Pro
    Replies: 1
    Last Post: 09-19-2016, 06:20 AM
LINK TO POST COPIED TO CLIPBOARD