Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tweak important youtube rule #1300

Merged
merged 1 commit into from
Sep 3, 2023
Merged

Tweak important youtube rule #1300

merged 1 commit into from
Sep 3, 2023

Conversation

ryanbr
Copy link
Collaborator

@ryanbr ryanbr commented Sep 3, 2023

Safer way to "important" a rpnt scriptlet is using a comment /important/

youtube.com,youtubekids.com,youtube-nocookie.com##+js(rpnt, script, /(\(function serverContract\(\)|writeEmbed|var _F_cssRowKey)/, '/*important*/ const pruner=text=>{let json=JSON.parse(text);for(k...

This way it won't affect any function

@ryanbr ryanbr self-assigned this Sep 3, 2023
@ryanbr ryanbr merged commit 97fcea0 into master Sep 3, 2023
4 checks passed
@ryanbr ryanbr deleted the update-ytts branch September 3, 2023 08:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant