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
11d

You can open a link in a specific Browser using share. When you long press a link and select share > Firefox, you will open it in Firefox. Probably works with all browsers.

@[email protected]
link
fedilink
English
122d

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
7
edit-2
2d

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.

@[email protected]
link
fedilink
English
218h

Good work; that’s quite the code!

@[email protected]
link
fedilink
English
102d

No need for outside tools, go to Settings>Apps>Default Apps>Opening Links and set which apps open which links. No idea if it’s an Android or a Graphene feature, since I’m on Graphene as well. I’ve set up Revanced to handle all my Youtube links, works flawlessly.

@[email protected]
creator
link
fedilink
English
42d

that unfortunately only works if you have another app (not browser) that can play Youtube video like Revanced or NewPipe. If you have 2 browsers and no Youtube apps installed, there will be no options to select the youtube.com links.

masterofn001
link
fedilink
English
5
edit-2
2d

I am on graphene.

Give me a minute.

Go to settings > apps > default apps > opening links

Select vanadium > select in browser
Should now say don’t allow to open links.

Set your preferred browser to open in app.

Test.

@[email protected]
creator
link
fedilink
English
42d

thanks but i swear i must be missing something here:

  1. Settings / Apps / Defaults Apps / Opening Links

  2. Vanadium => Open in browser. It now says Dont allow to open links

  3. Firefox => Open in App. It now says Allow to open links

I assume Vanadium is still aet as Default browser in Settings/Appa/Default App / Browser app. Then, I only do the steps you show above.

Test: tap on anylink => vanadium opens.

@[email protected]
link
fedilink
English
2
edit-2
2d

Have you tried Grayjay? It’s supposed to support using your account.

Alternatively there are a couple browsers specifically for making a website behave like an app: Hermit and Native Alpha.

Auster
link
fedilink
11d

Grayjay doesn’t allow adding comments to Youtube, only to their own protocol.

Brave Little Hitachi Wand
link
fedilink
English
1
edit-2
17h

Real people comment on YouTube? I had sincerely hoped that all those “we getting out of [reference] with this one” and “thank the algorithm” comments were AI.

Auster
link
fedilink
115h

If they are bots, they’ve been running for well over a decade, close to two perhaps. The other possibility is that Youtube simply historically doesn’t foster in-depth comments.

Seems like a choice, doesn’t it?

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
  • 13 users / day
  • 78 users / week
  • 486 users / month
  • 1.13K users / 6 months
  • 1 subscriber
  • 2.28K Posts
  • 40.4K Comments
  • Modlog