+ Reply
Results 1 to 1 of 1

Your favorite Apple, iPhone, iPad, iOS, Jailbreak, and Cydia site.


Thread: [FW 2.x] - etc/hosts now works, can be used for adblock in safari

is a discussion within the

File Mods

forums, a part of the

iPhone Modding

section;
It looks like MobileSafari is now referencing the HOSTS file for DNS resolution first/finally. This allows us (among other things) to start blocking certain ad sites by 127.0.0.1-ing them out...
...
  1. #1
    iPhone? More like MyPhone
    Join Date
    Oct 2007
    Posts
    102
    Thanks
    1
    Thanked 12 Times in 10 Posts

    Default [FW 2.x] - etc/hosts now works, can be used for adblock in safari
    It looks like MobileSafari is now referencing the HOSTS file for DNS resolution first/finally. This allows us (among other things) to start blocking certain ad sites by 127.0.0.1-ing them out... giving users a rudimentary AdBlock feature.

    ( don't think anyone has mentioned/noticed it yet, ignore if it has been talked about )
    Last edited by IvanRaide; 08-13-2008 at 09:58 PM.

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts