I’m using GrapheneOS, the default Vanadium browser works great but it doesnt block ads. I want to install a 2nd browser just for youtube and my specific Google account for youtube. I also tried Newpipe and similar apps, but they cant use my Google’s playlist and comments. I need them, that is why I think to use a 2nd browser.

Is there a way to set Youtube links (youtube.com, m.youtube.com…etc) to be opened in a non default browser, say Brave or Firefox?

@[email protected]
link
fedilink
English
69h

There’s things like URLCheck that allow you to check and decide on how URLs are handled, but it might be overkill

@[email protected]
creator
link
fedilink
English
3
edit-2
6h

i thought its overkill too, but i tried it out and it works surprisingly well. I use the Automation script like this, alao using Via because for some reasons Firefox/Brave keep playing audio even when you minimize. Everything from Unshort to Toast are the defaults, I only added the last 2:

{ “Unshort bit.ly”: { “regex”: “https?:\/\/bit\.ly\/.", “action”: “unshort”, “enabled”: false }, “Send everything to webhook”: { “regex”: ".”, “action”: “webhook”, “enabled”: false }, “Toast example”: { “regex”: “TrianguloY”, “action”: “toast”, “args”: { “text”: “👋🙂” } }, “YouTube to Secondary Browser”: { “regex”: “.(youtube\.com|youtu\.be).”, “action”: “open”, “args”: { “package”: “mark.via.gp” }, “enabled”: true, “stop”: true }, “Everything else to Vanadium”: { “regex”: “.*”, “action”: “open”, “args”: { “package”: “app.vanadium.browser” }, “enabled”: true, “stop”: true } }

It works. If I tap a Youtube link, Via / Brave / Firefox opens. Otherwise, it is Vanadium.

Create a post

DROID DOES

Welcome to the Android community on Lemmy. Here you can participate in amazing discussions and events relating to all things Android.

The rules for posting and commenting, besides the rules defined here for lemmy.world, are as follows:

Rules


1. All posts must be relevant to Android devices/operating system.


2. Posts cannot be illegal or NSFW material.


3. No spam, self promotion, or upvote farming. Sources engaging in these behavior will be added to the Blacklist.


4. Non-whitelisted bots will be banned.


5. Engage respectfully: Harassment, flamebaiting, bad faith engagement, or agenda posting will result in your posts being removed. Excessive violations will result in temporary or permanent ban, depending on severity.


6. Memes are not allowed to be posts, but are allowed in the comments.


7. Posts from clickbait sources are heavily discouraged. Please de-clickbait titles if it needs to be submitted.


8. Submission statements of any length composed of your own thoughts inside the post text field are mandatory for any microblog posts, and are optional but recommended for article/image/video posts.


Community Resources:


  • 1 user online
  • 46 users / day
  • 86 users / week
  • 474 users / month
  • 1.16K users / 6 months
  • 1 subscriber
  • 2.28K Posts
  • 40.3K Comments
  • Modlog