[Q] How to block a site - Galaxy S III Q&A, Help & Troubleshooting

Hi all, I've heard this is a helpful community and I've found nothing anywhere else so I thought I'd ask here.
I want to block my phone's access to a website, for productivity reasons. I find myself at work constantly opening a tab to a stupid "funny things on the internet" sites and scrolling through it when I should be paying attention or being productive. On my computer I activated a helpful chrome extension that denied access to specific sites and it works wonderfully, but I can find no such thing for my phone. All I can find is "explicit content" filters as well as an ad-block ap, "Block it!" that I was able to jerry-rig in to blocking the site, but it often caused other problems, like denying any internet access whatsoever.
So is there any other method to just block a single website? A friend mentioned doing something with IP addresses? I'm willing to try pretty much anything, and will root my phone if that is necessary (I've been looking for an excuse to do that anyways!)
Thanks much!

You can download "hosts editor" from play store.
You can block site by adding a new entry:
- IP address: 127.0.0.1
- hosts: addresses of sites that you would block divided by semicolon
Inviato dal mio GT-I9300 utilizzando Tapatalk

Related

How To: Block Ads On Non-Rooted Systems

Its done via DNS blocking. You'll need to go into network settings in TFP, long hold on your wifi connection and click modify network. Then you must click on 'Use Static IP'.
IP address Choose a static address, just keep the current value as it should automatically be filled in.
Gateway will also be router's address
Netmask should be 255.255.255.0
Now the most important change to make is on DNS 1 and on DNS 2 settings. Put the following DNS servers on TFP's DNS settings.
These servers are provided by http://www.adbarricade.com/ - dedicated to blocking ads
74.53.155.162
69.93.216.138
These servers are provided by http://www.fooldns.com/fooldns-community/english-version/ - dedicated to blocking ads, tracking cookies, maleware, ect. These are located outside of US, so it would be slower for some depending on your location.
87.118.111.215
81.174.67.134
There are provided by http://www.opendns.com - the fastest of the bunch. This is not for ad blocking specifically but it can block ads. (see below)
208.67.222.222
208.67.220.220
You'll need to register with OpenDNS, in settings go to web filtering and put in any domain you want to block. Only thing is that its limited to blocking 25 domains.
These domains should get rid of ads on most sites.
ad.doubleclick.net
ad.yieldmanager.com
adadvisor.net
adlog.com.com
ads.mobilityware.com
adservices.google.com
advertising.com
apps.mobilityware.com
b.scorecardresearch.com
campaign-tapad.s3.amazonaws.com
ctxt.tribalfusion.com
google-analytics.com
googleadservices.com
ib.adnxs.com
intellitxt.com
media.admob.com
media.mobpartner.mobi
munchkin.marketo.net
origin.collective-media.net
pagead2.googlesyndication.com
pixel.quantserve.com
static.ak.fbcdn.net
swappit.tapad.com
view.atdmt.com
zedo.com
Wow, thanks ! Works as a charm.
Thanks, works great.
will this block ads that pop up on apps?
I use Adfree, but I thanked you anyways. Super cool post, thanks for taking the time to post it!
Sent from my EEEPAD using Tapatalk 2
benefit14snake said:
I use Adfree, but I thanked you anyways. Super cool post, thanks for taking the time to post it!
Sent from my EEEPAD using Tapatalk 2
Click to expand...
Click to collapse
AdFree is simpler to use for people with Root, but there are some people who do not want to root their Prime, and some who simply can't (damn .21 update), and this is a good alternative for them
benefit14snake said:
I use Adfree, but I thanked you anyways. Super cool post, thanks for taking the time to post it!
Sent from my EEEPAD using Tapatalk 2
Click to expand...
Click to collapse
Nice to see you read the OPs title.
Great post. I've been using OpenDNS on my home network and devices for years.
Something I experienced when my laptop was set to use OpenDNS, similar to your guide, is the public library WiFi network didn't allow my custom DNS setting.
In order to get any service there, I had to set my laptop adapter's DNS setting back to Auto and it would work. Just a heads up on case someone is having trouble while out and about.
Sent from my VS910 4G using Tapatalk
tnx bro for help..have any question:
"You'll need to register with OpenDNS, in settings go to web filtering and put in any domain you want to block. Only thing is that its limited to blocking 25 domains"
my setting have only security, customization, stats logs and advanced settings..but not see "web filtering"..help me pls?
mata77 said:
tnx bro for help..have any question:
"You'll need to register with OpenDNS, in settings go to web filtering and put in any domain you want to block. Only thing is that its limited to blocking 25 domains"
my setting have only security, customization, stats logs and advanced settings..but not see "web filtering"..help me pls?
Click to expand...
Click to collapse
Click on dashboard, settings, click on your IP address, then you'll see the content filtering settings.
For gods sake people. I read the god damn op. I was just saying thanks for making this. I'm already taken care of because I'm unlocked but it is nice to see effort put towards people that are not. Don't ****ing assume.
This forum is going to **** on a daily basis because everyone has a stick up their ass.
All I said was I USE ADFREE BUT THANKS FOR MAKING THIS.
Edit: didn't mean to come off as such an a hole but it is frustrating when people assume you don't read the op just because you say thanks. I really love xda but I've found myself avoiding the general section because it is plauged with trolls. I really love flashing and modifying my devices and usually when I post it is to either say thanks or tell about my experiences but apparently some people have nothing better to do than try to flame people. Thanks to the op for providing a great option to unrooted people. Thanks to the devs that make xda as great as it is. Thanks to any members that have helped me when I needed it. Trolls please just go away you are ruining this amazing forum.
Sent from my XT912 using Tapatalk 2
Either I'm overthinking this or there's one more piece to make this work seamlessly.
On my laptop, I keep a program running, OpenDNS Updater, so when my ISP changes my dynamic IP, it updates my OpenDNS account. Or, if I take it out somewhere to another WiFi, it updates my account and carries my settings to requests to OpenDNS from that new IP.
I haven't seen an app to do that for Android. If your ISP changes your IP or you go out and use your device on a different WiFi than home, where you probably first associated OpenDNS to, then you won't be using custom settings, only OpenDNS' default public profile. The system can't tell it's you elsewhere unless you tell it.
You can manually update IP addresses from the web interface but that's not easy to remember.
I didn't see an app that would update OpenDNS.
Sent from my VS910 4G using Tapatalk 2
yumms said:
Click on dashboard, settings, click on your IP address, then you'll see the content filtering settings.
Click to expand...
Click to collapse
Can't see "content filering settings" section too. The only ones present are Security, Customization, Stats and Logs, Advanced Settings. Am I missing something?
yumms said:
Its done via DNS blocking. You'll need to go into network settings in TFP, long hold on your wifi connection and click modify network. Then you must click on 'Use Static IP'.
IP address will be your router's address
Gateway will also be router's address
Netmask should be 255.255.255.0
Click to expand...
Click to collapse
Uhhh, not sure how this could work when your IP is the same as the gateway. Was that a typo?
Ardito said:
Can't see "content filering settings" section too. The only ones present are Security, Customization, Stats and Logs, Advanced Settings. Am I missing something?
Click to expand...
Click to collapse
Have you added a network yet? Under dashboard, click settings and click add this network. Under "your networks" click on your ip address for the filter settings.
teh_lorax said:
Uhhh, not sure how this could work when your IP is the same as the gateway. Was that a typo?
Click to expand...
Click to collapse
Whoops, you're right, that shouldn't be.
yumms said:
Have you added a network yet? Under dashboard, click settings and click add this network. Under "your networks" click on your ip address for the filter settings.
Click to expand...
Click to collapse
I think I've found the solution. From OpenDNS support forum:
"OpenDNS Use At Home:
If you plan on using OpenDNS at home and also plan on using our web content filtering services, please click the 'Get Started' link under 'Parental Controls' to create an account"
If you choose "Premium DNS" instead of "Parental Control" during the registration, the content filtering section is missing.
Now I have to open a support ticket for change that setting. After that, all should be fine.
Thank you for sharing this useful trick.
Ardito.
AdBarricade doesn't seem to block in app ads.
At least not with a few I'm running...
---
Sent from my Transformer Prime TF201
If using OpenDNS make sure to block Business Services category, it blocks crap load ad servers. Along with Adware category of course.
Hi everyone. This is probably my first post on the forum, but I have been a lurker for a little while now.
@yumms: Excellent Post. Good work and thanks for sharing this awesome technique and information.
I would like to point out, also, that you can edit your routers DNS server to one of the suggested DNS IPs yumms posted. If your router allows it, you to turn off automatically assigned DNS and enter in a different DNS IP address then what your ISP uses.
I do not know enough about all routers, but my Netgear WNR3500 has the DNS settings on the basic settings section. I suspect that most will have a similar setting; but, I can guess that modem/wireless router combo supplied by an ISP may not.
Doing this blocked ads for every device on my network, laptops, tablets, ipads, etc
My apologies if this is common knowledge and has been posted many times before.
Is this for PC or android phone cause I held on my WiFi on my phone until my finger turned blue and nothing happens. I googled and got here because mobpartner is driving me crazy. When I enlarge the page to see better mobpartner ad enlarges until it takes all the screen

[Q] ROM developers: How to increase concurrent HTTP connections?

Hi Folks,
My company is importing some Android-based TV boxes from China, and we're experiencing a strange bug with some apps we are developing to run on them. I'm trying to find a specific solution that I can tell them to implement in a firmware upgrade, but I am not sure where to look, so I hope someone here can help!
Anyway here is the problem. In some apps (especially Adobe AIR-based ones), there seems to be a limit to concurrent HTTP requests to a web server. On an earlier ICS 4.0.4 firmware for these devices, this did not cause any problems. But they recently released a JB 4.1.1 firmware, and this problem occurs.
Let's say an app requests 20 items by HTTP from a web server (XML files, PNG or JPG images). What will happen is about 2/3 of these will be sent back, and the rest just remains blank, as if in a perpetual waiting status.
Looking at the web server's logs, there is no requests at all for these missing items.
And, it's totally random. If you re-launch the app, the missing items will be different ones.
So, I am guessing the app can only request so many things at the same time.
No, does anyone know of a system property that could be adjusted to solve this?
BTW I am unable to replicate this bug on any other device. The TV boxes in question are based on Rockchip 3066 SoC's
Using modern HTTP (i.e. HTTP/1.1), you should never open an excessive amount of sessions. Never more than four simultaneous. Using HTTP/1.1 keep-alive, all requests are sent using those four sessions interleaved. If opening one session per object, and doing this in parallel, you'd most certainly lose things due to resource starvation, e.g. the server gets out of worker forks.
That's the weird thing, on the web server, keepalive is on (I also tested with it off, it was worse)
So maybe it's the opposite, AIR or the firmware or something is trying to send more requests than it should, so some are blocked indefinitely?
eTiMaGo said:
That's the weird thing, on the web server, keepalive is on (I also tested with it off, it was worse)
So maybe it's the opposite, AIR or the firmware or something is trying to send more requests than it should, so some are blocked indefinitely?
Click to expand...
Click to collapse
Not blocked, but replied with a TCP reset. Run tcpdump to see what's going on.
Thanks for the tip, I managed to root the box and run tcpdump on it, but I'm a bit lost now... I tried to filter RST packets on port 80 but can't seem to find any.
Any hints on what I should look for/command syntax to use?
eTiMaGo said:
Thanks for the tip, I managed to root the box and run tcpdump on it, but I'm a bit lost now... I tried to filter RST packets on port 80 but can't seem to find any.
Any hints on what I should look for/command syntax to use?
Click to expand...
Click to collapse
Dump all packets between the hosts: tcpdump -i ethx -s1500 -w packets.pcap host host.nr.one and host host.nr.two
Run the app, then analyze the packets.pcap file for any anomalies (tcpdump -r packets.pcap).

[Q] Block other browsers

Is there a way to block access to browsers? I would like the user of a Samsung galaxy Pocket (version 4.0.4) to be able to access one browser only.
---
Reason for my enquiry:
The browser in use has a blacklist filter which block websites, but indeed you can easily bypass it by installing a new browser.
My past attempts:
I have searched for a long time but could not find anything that worked. The browsers I have found which can block other browsers are not compatible with this device.
I have also searched for alternative ways of blocking websites though a blacklist but all of those solutions require rooting the device, which I do not have enough technical confidence to do.
Blocking Play store is not either an option since you would be able to install new browsers in other ways.
I don't think you're going to find any -no root- solution to this, Rooting is very easy these days for most phones, usually just a plug in and click a button procedure. Gone are the day's of mounting filesystems and meticulously typing in adb commands and sitting there nervously while your phone potentially bricks itself...!
Sent from my C5303 using Tapatalk 4 Beta
why would you block websites?
I sometimes online, there are some sites automatically appear, very annoying.

How to redirect a web link

Hi All, I would like your help thinking what is the best way to redirect a browser link to another, let me explain:
If the user is trying to browse to:
http://SPECIFIC_WEBSITE/SpecificPage.aspx?type=3&id=4451714
I would like to redirect the mobile to (with the same id):
http://SPECIFIC_WEBSITE/DifferentPage.aspx?id=4451714
There is a common website that I use all the time, and most of the links are like the first one, than it shows annoying ads, after you close the ad, it will redirect to the second one... I would like to skip it.
how can I do it? I thought about using adaway, but i think it uses DNS level, which doesn't help me.
local proxy maybe? some kind of script in the kernel?
any idea?
Thanks,
AYahoo.

DNS.ADGUARD.COM ISSUES

Hello,so i have recently been having a problem on my Android devices with regards to blocking ads with the private dns setting in Android 10 and 11. For some reason when i enable this on my two phones in settings by using dns.adguard.com to block ads.
I since the weekend am unable to use my Facebook and Instagram apps. Both dont load properly,are slow and do not refresh feeds at all. In Google Chrome,the sport streaming sites i use also suddenly refuse letting me watch anything if i dont disable the ad blocking first. None of this was ever a problem before this weekend.
What is strange is that it is only affecting my Android devices. I use adguard on Chrome with all my Windows 10 home p.c. and laptops and they are all working fine still accessing the same sites and feeds. Is anyone else experiencing this and does anyone know of a way to fix it please?
dns.adguard.com is a website that doesn't exist.
Interesting,but if it doesnt exist,howcome it is used by so many to block ads?
jwoegerbauer said:
dns.adguard.com is a website that doesn't exist.
Click to expand...
Click to collapse
Trace.Oneil said:
Interesting,but if it doesnt exist,howcome it is used by so many to block ads?
Click to expand...
Click to collapse
Ask these people this question.

Categories

Resources