I'd like to use Charles Proxy to debug some networking bugs I have, and followed the directions to set it up with my Android device:
It works with the device's browser, but does does not intercept HTTPS traffic from my app. It only captures HTTP stuff like Flurry analytics. I search around, and found some posts which seemed to indicate that Android apps do not follow proxies. Is that true, and if so, can I force it? Is it possible to do so without rooting a device?
Thanks.
Related
Hi,
Anyone know does the stock browser support http proxy?
It seems I cannot find how to configure that.
Thanks,
It's not available on the stock browser (yeah I know!). There are some work arounds but you need root access. It may work with other 3rd party browsers.
Sorry up front if this is posted in the wrong location...
I am having a problem, I don't know if its the ROM (FreeGS3) or the way the browsers are configured. I have used Firefox, Default, and Dolphin, I always set them to "Desktop" mode.
Here is my problem, I go to Facebook website and I get a redirected away from what I have discovered to need to be "https" instead it sends me to "http" with gives me an html text page. If I go back up to the web address line and add the "s" in front of the "http" web address it then displays the correct web page as it should.
Can someone please tell me or direct me as to how to fix this???
It is driving me crazy...
Further Clarifications...
magic80sj said:
Sorry up front if this is posted in the wrong location...
I am having a problem, I don't know if its the ROM (FreeGS3) or the way the browsers are configured. I have used Firefox, Default, and Dolphin, I always set them to "Desktop" mode.
Here is my problem, I go to Facebook website and I get a redirected away from what I have discovered to need to be "https" instead it sends me to "http" with gives me an html text page. If I go back up to the web address line and add the "s" in front of the "http" web address it then displays the correct web page as it should.
Can someone please tell me or direct me as to how to fix this???
It is driving me crazy...
Click to expand...
Click to collapse
To further clarify Facebook requires the secured web address when navigating after log in. Not sure why my browser would not direct me properly execept maybe for this reason...
From Google Development..."Redirects and User-Agent Detection
Automatic redirection
When a website is configured to serve desktop and mobile browsers using different URLs, webmasters may want to automatically redirect users to the URL that best serves them. If your website uses automatic redirection, be sure to treat Googlebot and Googlebot-Mobile just like any other user-agent and redirect them appropriately.
Irrelevant redirects
A common issue is redirecting users to irrelevant pages. For example, if a user visits example.com/article29, your website should redirect them to the equivalent mobile-optimized page, such as m.example.com/article29, instead of to the m.example.com homepage. This makes sure that incoming links and users' bookmarks work across devices."
Can't post link since I've not posted enough.
Hello...anyone there????
magic80sj said:
To further clarify Facebook requires the secured web address when navigating after log in. Not sure why my browser would not direct me properly execept maybe for this reason...
From Google Development..."Redirects and User-Agent Detection
Automatic redirection
When a website is configured to serve desktop and mobile browsers using different URLs, webmasters may want to automatically redirect users to the URL that best serves them. If your website uses automatic redirection, be sure to treat Googlebot and Googlebot-Mobile just like any other user-agent and redirect them appropriately.
Irrelevant redirects
A common issue is redirecting users to irrelevant pages. For example, if a user visits example.com/article29, your website should redirect them to the equivalent mobile-optimized page, such as m.example.com/article29, instead of to the m.example.com homepage. This makes sure that incoming links and users' bookmarks work across devices."
Can't post link since I've not posted enough.
Click to expand...
Click to collapse
No one can offer ANY suggestions or solution????????????????????????????????????????
Have you changed your settings on Facebook?
Facebook settings?
psykhotic said:
Have you changed your settings on Facebook?
Click to expand...
Click to collapse
I don't mean to be rude but could you be any more vague with that question??? I have no clue what you are referring to or where you are going with that question.
Please feel free to elaborate, it would be appreciated...
anyone using this on the nexus4, i have no clue why my data says it eating like 360MB out of 500MB!:crying:
does it really work in blocking ads?
cobyman7035 said:
anyone using this on the nexus4, i have no clue why my data says it eating like 360MB out of 500MB!:crying:
does it really work in blocking ads?
Click to expand...
Click to collapse
Do you have root? If yes, I would recommend using Adaway. Great app and it works.
kwerdenker said:
Do you have root? If yes, I would recommend using Adaway. Great app and it works.
Click to expand...
Click to collapse
+1, but I guess the problem of the OP is that he doesn't know what is eating his data plan.
There are a lot of program that shows the data usage per app so you can know what to blame. I personally use avast! Mobile Security cause it counts and store the data used per app and has a built in per app Firewall to cut it.
cobyman7035 said:
anyone using this on the nexus4, i have no clue why my data says it eating like 360MB out of 500MB!:crying:
does it really work in blocking ads?
Click to expand...
Click to collapse
According to the FAQ Adblock will appear to use most of your data because the data is passing through it.
It is basically just a HTTP proxy, so it should block web page ads as well as the browser versions.
Adaway uses a different method - it simply blocks the ad server dns entries so they can't be looked up. No data is passing through the adaway app. It also works for SSL which Adblock doesn't.
I don't know which way is best - I use Adaway and am happy with it. Adblock supports the well maintained browser blocklists (and works in a similar way), but requires the proxy run in the background and filter all your traffic.
isangelous said:
According to the FAQ Adblock will appear to use most of your data because the data is passing through it.
It is basically just a HTTP proxy, so it should block web page ads as well as the browser versions.
Adaway uses a different method - it simply blocks the ad server dns entries so they can't be looked up. No data is passing through the adaway app. It also works for SSL which Adblock doesn't.
I don't know which way is best - I use Adaway and am happy with it. Adblock supports the well maintained browser blocklists (and works in a similar way), but requires the proxy run in the background and filter all your traffic.
Click to expand...
Click to collapse
If you have root, Adaway is the better way to block ads. Since it's doing it at a system level, you don't need anything additional like the proxy running in the background (proxies are a bit of a privacy concern in my opinion, even if it's running locally on your phone). Also you can add any host source you like in Adaway, so it supports most if not any blocklist Adblock supports
The main point abaout Adblock is, that you can use it on non-rooted phones.
kwerdenker said:
If you have root, Adaway is the better way to block ads. Since it's doing it at a system level, you don't need anything additional like the proxy running in the background (proxies are a bit of a privacy concern in my opinion, even if it's running locally on your phone). Also you can add any host source you like in Adaway, so it supports most if not any blocklist Adblock supports
The main point abaout Adblock is, that you can use it on non-rooted phones.
Click to expand...
Click to collapse
They use different blocklists - adaway is simply a list of domains but adblock rules are more powerful. They can be a domain or just part of a url, they can apply only to certain websites, they can apply to html tags, etc. I use these features quite a bit on the desktop version.
I think Adaway is a better way of blocking ads in apps and is good enough for browser ad blocking for now. I think Adblock is better for the browser and wish Chrome supported extensions because I do agree with you that running the proxy is not the best way to do this. Once it has proven stable and has a few more features it might be worth it. At the very least you need to be able to limit it to Chrome - I don't want to depend on that background service for all data.
So for now Adaway is the better all-rounder. It is a shame both are system wide so you can't use both where they are better suited.
isangelous said:
They use different blocklists - adaway is simply a list of domains but adblock rules are more powerful. They can be a domain or just part of a url, they can apply only to certain websites, they can apply to html tags, etc. I use these features quite a bit on the desktop version.
I think Adaway is a better way of blocking ads in apps and is good enough for browser ad blocking for now. I think Adblock is better for the browser and wish Chrome supported extensions because I do agree with you that running the proxy is not the best way to do this. Once it has proven stable and has a few more features it might be worth it. At the very least you need to be able to limit it to Chrome - I don't want to depend on that background service for all data.
So for now Adaway is the better all-rounder. It is a shame both are system wide so you can't use both where they are better suited.
Click to expand...
Click to collapse
Ah ok, now I understand what you are getting at and I think our opinions are not that different. What I meant with my original post was "between the two in their current states, adaway is the better solution".
If chrome for android would get an addon system, I would probably install adblock for it too
Is there any way to add a rule to Edge Mobile on Windows 10 Mobile to a certain link or domain to set a custom user agent on that domain. So you'll like spoof that domain and show it as if it's in that device. Google usually do this on YouTube and Google Search, they don't let the other devices, platforms or even 3rd party browsers to have like a certain feature or layout. So I want to set it on those domains to get a better card layout on Google Search and better YouTube web app on W10M Edge. is there any way to do this? Like the remote Dev tools? Anything? Any config file built in on Edge like Active X Compability List?
Is there a way to block ads in apps? I remember AdAway being a thing, is it still? And does it work on our phones? I tried searching for it in magisk and didn't find anything
Both AdAway and AdGuard successfully blocked all in-app ads on my 9 Pro. Your choice depends on root / no root.
I use OISD full list (https://oisd.nl), comprehensive blocking system-wide. Go with https://abp.oisd.nl in AdGuard, or https://hosts.oisd.nl in AdAway.
Adaway is my choice, super easy super light super reliable!
I've been using Adblock until I found nextdns sevice using private DNS option. In my opinion it is way better. And no root needed.
also, duckduckgo browser recently started a beta for their in app, systemwide ad blocking, you just have to download the browser and apply for the beta. I don't use it (nextdns) but I wanted to mention it here for others
If rooted, then AdAway is very good
Best way to do it is by enabling private DNS under your connection settings and using dns.adguard.com, that'll get rid of ads
Alberhasky said:
Best way to do it is by enabling private DNS under your connection settings and using dns.adguard.com, that'll get rid of ads
Click to expand...
Click to collapse
Nextdns uses private DNS too, but it is fully configurable. You can add your filters, whitelist services and more.
In my opinion the best and the cheapest (free, lol) way to block ads on phone, and mb on whole wi-fi spot is to use pi-hole.
If you don't have raspberry pi, or don't want to install you can you it on your old (not too old tho..) Android phone.
GitHub - DesktopECHO/Pi-hole-for-Android: Pi-hole/Unbound Raspbian APK Installer for Android 5.0+ devices (requires root)
Pi-hole/Unbound Raspbian APK Installer for Android 5.0+ devices (requires root) - GitHub - DesktopECHO/Pi-hole-for-Android: Pi-hole/Unbound Raspbian APK Installer for Android 5.0+ devices (requires...
github.com
Just tested, works good. Root your phone, install pi-hole by guide in readme, set DNS in DHCP on your router to local address of your Android phone and forget about phone, leaving it plugged into the wall.
By using web ui you can configure so much filters as you want.
You can also combine it with dnscrypt-proxy in termux. Download android bin from releases, chmod +x dnscrypt-proxy, change dnscrypt-proxy.toml to your requirements, mandatory step is to change listening address port from 53 to one you like, I use 5354. After that execute, go to web console, set custom DNS to 127.0.0.1#5354.