General System wide adblocking for non JB devices

Discussion in 'iOS 7' started by Dirtysand, Mar 9, 2014.

  1. Dirtysand, Mar 9, 2014
    Last edited: Mar 12, 2014

    Dirtysand macrumors member

    Joined:
    Feb 10, 2014
    #1
    Link 1: http://yourjavascript.com/2404043101/sfp0yx.js
    Edit:Links 2~4 all dead, exceeded download limit. This link sends ad data to 8.8.8.8.
    (all identical, to prevent file from expiring, just pick ONE link)
    =============
    Using 127.0.0.1:8021(aka localhost instead of 8.8.8.8, should be faster if it works)***
    Link 5: http://yourjavascript.com/3043431117/sfp0yx.js
    Which may or may not work for you. Depending if the port is open or not. IF it does not work, just use something like fling/Sys Status to find an open port on local host for your device, and edit the pac file using a text editor***
    =============
    Thought I might share it. Needs more people to host it. Takes a while to take effect.
    Here is a PAC (Proxy Auto Config) file for system wide adblocking on iOS. It blocks in app ads, safari ads, hulu ads, pandora ads, and tracking. It was created using Weblock.

    To use it, just open up wifi settings, and click HTTP PROXY, go to auto, and paste the link. Close every app, and when you re-open them, it's ad-less.

    What it does is every time your iDevice requests the ad-server for an ad, it instead sends it to 8.8.8.8(a DNS server owned by google), which discards the request.
    Other connections are not sent to 8.8.8.8.

    If you do not want the data to ever leave the device, you can give the link 5 a shot.
    Known issues: Yahoo mobile doesn't not work properly.
     
  2. Dirtysand thread starter macrumors member

    Joined:
    Feb 10, 2014
    #2
    Oh yea, I forgot to mention, it works for wifi only, and you need to set it individually for each network.
     
  3. ErikGrim macrumors 68040

    ErikGrim

    Joined:
    Jun 20, 2003
    Location:
    Brisbane, Australia
    #3
    This has been available with GlimmerBlocker since forever. What's different?
     
  4. Dirtysand thread starter macrumors member

    Joined:
    Feb 10, 2014
    #4
    You don't need a second computer? And it's for iOS?
     
  5. ErikGrim macrumors 68040

    ErikGrim

    Joined:
    Jun 20, 2003
    Location:
    Brisbane, Australia
    #5
    Ah I see. Thanks for clearing that up. :)
     
  6. laudern macrumors 6502a

    Joined:
    Jan 5, 2011
    #6
    I can't figure out where to put this on my routers settings. Im using a Dlink GT604T.

    Any help?
     
  7. Zcott macrumors 68020

    Joined:
    Oct 18, 2009
    Location:
    Belfast, Ireland
    #7
    It goes on your iPhone or iPad, not your router.
     
  8. laudern macrumors 6502a

    Joined:
    Jan 5, 2011
  9. HarryT macrumors 6502

    HarryT

    Joined:
    Mar 21, 2013
    #9
    This is awful.

    You are taking away revenue from Developers who rely on these ads to make a living.

    The months that a dev goes to producing an app with the business model of using ads to generate revenue is then just totally destroyed by something like this.

    Morally wrong on all levels. :mad:
     
  10. Dirtysand thread starter macrumors member

    Joined:
    Feb 10, 2014
    #10
    You could argue that, or you could also argue that collecting app usage data without user consent is something morally wrong and should not be done. As a user, what happens to devs don't really affect me. If you feel generous by viewing ads in an app, then this is not for you.
     
  11. YanniDepp macrumors 6502

    YanniDepp

    Joined:
    Dec 10, 2008
    #11
    If ads were just little images that appeared on my screen, and took me to a web page when I touched them, I wouldn't block them.

    But they're not. For the past few months, ads in web pages and apps have been detecting iOS devices and throwing malicious JavaScript redirects at them.

    Have you ever browsing the web or using an app, and suddenly the app (or Safari) slides off the screen, and you're looking at some random app in the App Store? It's usually Candy Crush, Jelly Splash of Clash of Clans. That's one of these redirects.

    Yesterday, I was thrown out of the same app 3 times within 5 minutes, and my phone took me to Clash of Clans in the App Store. It's very disruptive and annoying, and I won't put up with it. How dare someone decide it's OK to stop me doing what I'm doing on my own phone/tablet, just so they can make a few cents.

    As long as these ads keep appearing, I will block ads on all my iOS devices. I will not feel bad about it.
     
  12. Nyy8 macrumors 6502a

    Nyy8

    Joined:
    Jun 12, 2011
    Location:
    New England
    #12
    Normally I wouldn't care about ads, but when they start redirecting me to the app store (Like YanniDepp said), that's when I call intrusive and unacceptable as far as ads go.
     
  13. YanniDepp macrumors 6502

    YanniDepp

    Joined:
    Dec 10, 2008
    #13
    Before anyone says "I haven't seen this happening. Ads can't magically redirect you. You must be touching the screen by accident."

    I'm a software developer with half an ounce of intelligence. I'm definitely not interacting with any ads. And here's a screenshot of the JavaScript redirect that makes the App Store open: http://m.imgur.com/LwUF1Sq
     
  14. C DM macrumors Westmere

    Joined:
    Oct 17, 2011
    #14
    Oh, it definitely happens and is known with a few threads on it that have been going on.
     
  15. FatPuppy macrumors 68000

    FatPuppy

    Joined:
    Jul 14, 2012
    #15

    Hi, how do I paste all the links? When I go to proxy auto, I can only put one URL, the only way to add more is just paste every link one after one with no space.
     
  16. rablat macrumors 6502a

    rablat

    Joined:
    Oct 8, 2007
    Location:
    Classified NSA intel
  17. Dirtysand thread starter macrumors member

    Joined:
    Feb 10, 2014
    #17
    Just randomly pick ONE, they're all identical to prevent the file from going offline.
     
  18. FatPuppy macrumors 68000

    FatPuppy

    Joined:
    Jul 14, 2012
    #18

    Ah ok, thank you :)
     
  19. ErikGrim macrumors 68040

    ErikGrim

    Joined:
    Jun 20, 2003
    Location:
    Brisbane, Australia
    #19
    Thanks for the heads up. Simple and easy to use. No need for GlimmerBlocker to set up a proxy. Cheers.
     
  20. Dirtysand, Mar 12, 2014
    Last edited: Mar 12, 2014

    Dirtysand thread starter macrumors member

    Joined:
    Feb 10, 2014
    #20
    Although Weblock's official page states that you cannot use 127.0.0.1 as a destination for ad related traffic, it's not completely true. On my ios 7.1 device, I was able to set the destination to 127.0.0.1:8021 It noticeably sped up the page loading after using this PAC file. You might want to using something like Fling or Sys status to find an open port on local, and modify the PAC file using a text editor and re-upload it to suit your needs.

    Crap, link 2~4 are all dead now. Exceeded the 1000 download limit.
     
  21. Winona Northdakota macrumors 6502a

    Joined:
    Dec 27, 2010
    #21
    iOS apps are sandboxed. I don't think it is possible.
     

Share This Page