1. Are you ready for the Galaxy S20? Here is everything we know so far!

Is it possible to block specific links/URLs?

Discussion in 'Android Help' started by sparkhee93, Mar 4, 2016.

  1. sparkhee93

    sparkhee93 Lurker
    Thread Starter

    My situation calls for blocking specific links/URLs or even ones that contain that specific URLs but not necessarily the site's domain itself. For example, let's say I have an extreme phobia of ducks but my friends want to pull a prank on me and pull up a image search for ducks from Google on my phone.

    But because I don't want to have to see any pictures or even searches of ducks, I want to restrict it.

    I already know that changing the hosts file to redirect a specific website's domain back to 127.0.0.1 will cause the website to refuse the connection. But I still want to be able to use Google as my search engine so the rewriting hosts file is out of the option.

    For example, when I search "ducks" on Google, I get these URLs:
    Going from that, I want to restrict any URLs that contain either "https://www.google.com/search?q=ducks" and "https://www.google.com/#q=ducks".

    Is this possible?

    I have a rooted Samsung Galaxy Note 4 with CMRemix v7.2 if that information is going to make any difference.
     


  2. scary alien

    scary alien not really so scary
    Moderator

    I'm guessing you might be looking for something like Net Nanny? (Play Store link) or another similar app...

    Web page description: Net Nanny for Android
     
  3. sparkhee93

    sparkhee93 Lurker
    Thread Starter

    Is there anyway I can do this without having to download the mentioned app? I'm not really looking into filtering for inappropriate stuff. I was hoping there would be a way through altering some files, similar to changing hosts.
     
  4. sparkhee93

    sparkhee93 Lurker
    Thread Starter

    I tried editing the hosts file. It works with the general domain ("www.google.com") but once you get specific with the URL, it doesn't work.
     
Loading...
Similar Threads - possible block specific
  1. afroag
    Replies:
    3
    Views:
    394
  2. PGB1213
    Replies:
    11
    Views:
    535
  3. triplemaya
    Replies:
    11
    Views:
    523
  4. montecarlo1987
    Replies:
    7
    Views:
    283
  5. Abbzzzzz
    Replies:
    6
    Views:
    414
  6. Kjartan Raaby
    Replies:
    1
    Views:
    317
  7. Devang Shah
    Replies:
    0
    Views:
    727
  8. montecarlo1987
    Replies:
    18
    Views:
    989
  9. Xyberz
    Replies:
    2
    Views:
    928
  10. willsp28
    Replies:
    26
    Views:
    1,435

Share This Page

Loading...