Skip to content

Add YouTube Disable Autoplaying#59

Merged
adamlui merged 2 commits into
awesome-scripts:masterfrom
lumynou5:master
Aug 21, 2025
Merged

Add YouTube Disable Autoplaying#59
adamlui merged 2 commits into
awesome-scripts:masterfrom
lumynou5:master

Conversation

@lumynou5

Copy link
Copy Markdown
Contributor

The userscript prevents playlists, shorts, and hovered videos on the home page from autoplaying on YouTube.

No screenshots because screenshots cannot tell the feature.

@adamlui

adamlui commented Aug 13, 2025

Copy link
Copy Markdown
Member

Can you add a YouTube icon meta to the userscript?

@lumynou5

Copy link
Copy Markdown
Contributor Author

I think the manager has icons for the sites?

圖片

I don't use icons because they're duplicated (in this case.)

@adamlui

adamlui commented Aug 13, 2025

Copy link
Copy Markdown
Member

Unfortunately not all managers (like TM) display icon w/o meta:

image

You could fix by adding:

// @icon         https://www.google.com/s2/favicons?sz=48&domain=youtube.com
// @icon64       https://www.google.com/s2/favicons?sz=64&domain=youtube.com

@lumynou5

Copy link
Copy Markdown
Contributor Author

Fine. I think requesting decorative small images doesn't cost much.

By the way, why not to use the original URL in the HTML, i.e. https://www.youtube.com/s/desktop/8a664e3f/img/logos/favicon_48x48.png? Though it doesn't have 64x64, but I suppose the Google cached one also gets 64x64 by scaling?

@adamlui

adamlui commented Aug 13, 2025

Copy link
Copy Markdown
Member

I think google api relies on dimension variants to optimize the icons returned, also it auto-updates as favicons are re-designed

@adamlui adamlui left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sup @lumynou5 when you have time to add the icon meta I can merge it

@lumynou5

Copy link
Copy Markdown
Contributor Author

done

@adamlui adamlui merged commit c0bbab5 into awesome-scripts:master Aug 21, 2025
1 check passed
@devactivity-app

Copy link
Copy Markdown

Pull Request Summary by devActivity

Metrics

Cycle Time: 9d 21h 30m Coding Time: 21h 17m Review Time: 8d 6h 24m Comments: 6

Achievements

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants