[HELP] Activate Vpn Hosts when opening an application (youtube/twitch) - Tasker Tips & Tricks

Hey everybody! I downloaded this app from the store (Link here using a host.txt file) and I wanted to make so I could switch it on when opening apps like youtube or twitch (i use it to block ads).
Is there a way I can do that with tasker? I'm no expert user and for what I tryed so far I cannot find any way, maybe someone here could help me out!
Thanks in advance!
p.s: If there is any way to accomplish the same with another app, that would be fine as well

If you have root, just put the file in /system/etc/hosts with the correct permissions.
If not, an app called AdBlock Plus has a VPN function, if I remember right.

Use a profile that triggers when YouTube launches. In the entry task, have an action that launches your vpn app.

Related

[Answered][Cognition] Turn off ad blocking?

Hi,
I am currently using Cognition 4.4.8 by Design Gears. I understand he has implemented some sort of ad blocking which blocks ads in many apps and it seems some websites.
Now I love this in some apps, but there are others (XDA app) which I would like to support. Is it possible to modify these blocked settings to allow some apps or even disable it completely?
Thanks
Sid
Download AdFree Android from the Market then use the "revert hosts" option and it'll restore the hosts file to stock, which means no more ad blocking. You can then use the same app to update hosts file, which will start blocking ads again.
Thank you
That worked

Ad blockers dont work

I tried them all; adfree, adaway, adblock + and nothing seems to block ads.
Had the issue with 4.2.2 and now with 4.3. There are ads in the browser and all the apps.
I have root and downloaded hosts file, tried the web server option and nothing works.
vkass said:
I tried them all; adfree, adaway, adblock + and nothing seems to block ads.
Had the issue with 4.2.2 and now with 4.3. There are ads in the browser and all the apps.
I have root and downloaded hosts file, tried the web server option and nothing works.
Click to expand...
Click to collapse
Wifi or 3g?
On 3g is network dependent, if your operator is using a proxy then adaway will not work.
Just check with wifi and you are right there are no ads.
I guess theres nothing that can be done with lte
1. tip:
install elixir2 and deactivate for every app activities e.g. with following names:
.ad.
.google.analytics.
.advert.
...
2. tip:
install xposed framework, then download the modules "youtube adaway" (blocks ad on youtube) and "xod" (blocks a lot of google ad in many apps)
3. tip:
use dolphin browser and activate the option called something like "show flash-content only when clicked on", like this no flash-based ad will be shown/loaded during surfing
With these quite simple tips most ad I would ever see on my phone is vanished and won't drain battery etc.
Btw. see my thread about battery life, if you want more info on these tips (because i included the mentioned 3 with more details in my thread)
Thanks dolphin works great and I see no ads.
Also installed the xposed modules since the YT ads bugged me the most, to lazy for the elixir2 though, it's good enough like this.
You have some good advice in your thread, I already do most of it, what I need anyway.
This is an awesome add blocker...
http://forum.xda-developers.com/showthread.php?t=1916098
Sent from my C6603 using XDA Premium 4 mobile app
If anyone is having the same issue, try to leave the apn proxy blank.
I'm on bell and it works, I get a connection and there are no ads.

Root detection for MyQ apps

It appears the Chamberlain and LiftMaster MyQ apps are now detecting root and complain that some features are not compatible with my device. Tried adding the app to the Magisk Hide list but it doesn't seem to make a difference.
https://play.google.com/store/apps/details?id=com.chamberlain.android.liftmaster.myq
Any ideas what could be done?
Some apps detect not only root itself but common root apps such as Titanium Backup. If you don't already have Magisk set up with a randomized package name that could help. If you do already or it still doesn't work after I would try removing your root apps or seeing if they have their own hide functionality like randomizing the package name.
Sent from my Phone using Tapatalk
Hiding Magisk Manager works for me.
I tried clearing the app data thinking that maybe they check once and keep track of it, but it didn't help. I'm not a fan of hiding Magisk Manager, so I'll just live with it the way it is, I use a password manager to fill in the password so it's not horrible.
Why don't you like hiding magisk manager?
My phone wasn't even rooted and myQ was giving me the error message that it won't save the credentials. I had LuckyPatcher program installed but after its deletion myQ allowed me to save the username password combination. Btw what an annoying company Chamberlain is, they want $9/month to integrate myQ with ITTT or Google Home. Any workarounds?
Yeah I work around to enable Google home integration as well as Alexa integration would be to used Z-Wave enabled garage controller. The bad part is you'll need to wire it into one of the handheld garage door openers to bypass the Chamberlayne encryption and then you'll have to register the garage door controller with a custom device template in your home automation system to where your garage door is seen as a light and then you'll be able to use the command turn on or turn off and then the name of your garage door device name it's a major pain in the butt but it works. Home automation device manufacturers specifically include code that intentionally block or restrict voice commands to open or close the garage doors for liability purposes as well as laws that have been signed into a fact that Force manufacturers to restrict voice enabled commands for garage doors
Old thread but I got a Chamberlain myQ for Christmas. Saw root detection. I selected myQ in Magisk Hide settings and cleared the storage l/data for the myQ app. No issues for me. I just double checked writing this post too.

Blocking Websites and Accessibility Issues

Hello all,
I am trying to use an app (BlockSite) to block me from accessing certain websites. In order for the app to work, I have to give it access through the accessibility settings. However, everytime I restart my phone, the accessibility settings reeset. How can I fix this?
maybe you could try something like Adaway, it works in root and non-root modes. you can add sites to it's blacklist and it won't accept or allow traffic there.
blokada works great. It blocks ads and specific web site.

Question install blocking app

hello,
are its possbile and how to install on galaxy watch an app that blocking with password a specific app like in google play?
i mean, in google paly there is a few app to install that protect to not open specific applications.
are its possible?
for example, i want to blocking the browser of Samsung that or will be unable to install it, or blocking it with a password,
someone know the best way how to do it?
many thank on advance.
Best you can do is disable and hide it.
hello,
many thanks for your reply.
what you mean to block and hide, the play store app?
if yes, after time its will be able to unhide it.
are you know an option to protect with a password?
many thanks again.
No, the browser is pre-installed by Samsung. You can go into the HOME SCREEN settings (press on an empty space on one of the home screens and select settings). There you will find HIDE APPS ON HOME AND APPS SCREEN. On that menu, you can hide any of the apps so they do not show on the phone. If you ever want to use them, then just un-hide them.

Categories

Resources