René's URL Explorer Experiment


Title: Trusted-Set-Attr is not setting valued in some cases. · uBlockO · Discussion #28 · GitHub

Open Graph Title: Trusted-Set-Attr is not setting valued in some cases. · uBlockO · Discussion #28

X Title: Trusted-Set-Attr is not setting valued in some cases. · uBlockO · Discussion #28

Description: Trusted-Set-Attr is not setting valued in some cases.

Open Graph Description: I found some cases where the attribute is not set, for example using * as selector will only set it in few elements on top of the tree of nodes but then it just stops, and don't add it to all. For ...

X Description: I found some cases where the attribute is not set, for example using * as selector will only set it in few elements on top of the tree of nodes but then it just stops, and don't add it to all. ...

Opengraph URL: https://github.com/orgs/uBlockO/discussions/28

X: @github

direct link

Domain: patch-diff.githubusercontent.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"QAPage","mainEntity":{"@type":"Question","name":"Trusted-Set-Attr is not setting valued in some cases.","text":"

I found some cases where the attribute is not set, for example using * as selector will only set it in few elements on top of the tree of nodes but then it just stops, and don't add it to all.

\n

For example using search.brave.com##+js(tsa, target, _blank, *) it is only added to <body class=\"is-pc\">, and then <style type=\"text/css\"> and <div style=\"display: contents\"> but nothing further inside of them.

\n

So using search.brave.com##+js(tsa, target, _blank, a) will not be added to any search result.

\n

if you want to compare it to the set-attr in uBlock. if you do a search.brave.com##+js(set-attr, target, 1, *) the attr will be set as expected, but of course, it is useless if it has limited values.

\n

Anyway, just letting you know, if you want to check that.

\n

Thanks for your scriptlets, they are useful. Have a good day.

","upvoteCount":1,"answerCount":1,"acceptedAnswer":{"@type":"Answer","text":"

@ghost Use search.brave.com##+js(tsa, target, _blank, *, loop)

\n
\n

search.brave.com##+js(set-attr, target, 1, *)

\n
\n

That doesn't work at all on Firefox for me.

","upvoteCount":1,"url":"https://github.com/orgs/uBlockO/discussions/28#discussioncomment-8121752"}}}

route-pattern/_view_fragments/Voltron::DiscussionsFragmentsController/show/orgs/:org/:discussion_number/discussion_layout(.:format)
route-controllervoltron_discussions_fragments
route-actiondiscussion_layout
fetch-noncev2:caf0216d-6ef9-c181-c0b3-70649072b49f
current-catalog-service-hash9f0abe34da433c9b6db74bffa2466494a717b579a96b30a5d252e5090baea7be
request-idDC96:977B5:BF456:FD198:698E5FF7
html-safe-nonce5f86284c72b5b7cee8355462bf744394aa24bc6e712878c37139e4e6f0b7bc69
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQzk2Ojk3N0I1OkJGNDU2OkZEMTk4OjY5OEU1RkY3IiwidmlzaXRvcl9pZCI6IjQwMjQyNTY4OTYzNzg0OTQ5NjciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac6d9f7c5b83f9880299b093846c143afc2760084674da532cd0001f5663ecdbf7
hovercard-subject-tagdiscussion:6070642
github-keyboard-shortcutsrepository,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/discussions_fragments/discussion_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/Voltron::DiscussionsFragmentsController/show/orgs/uBlockO/28/discussion_layout
twitter:imagehttps://opengraph.githubassets.com/d890b8db6e3a692bc23b00a4b2fb591d7b2fafca77395945cd6a13834b4690d8/orgs/uBlockO/discussions/28
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/d890b8db6e3a692bc23b00a4b2fb591d7b2fafca77395945cd6a13834b4690d8/orgs/uBlockO/discussions/28
og:image:altI found some cases where the attribute is not set, for example using * as selector will only set it in few elements on top of the tree of nodes but then it just stops, and don't add it to all. For ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None666e30cc1de8ebdf458084bf731e95deba4f074a5008f91b50803aa9a71e3725
turbo-cache-controlno-preview
octolytics-dimension-user_id148974853
octolytics-dimension-user_loginuBlockO
octolytics-dimension-repository_id89163410
octolytics-dimension-repository_nwouBlockO/uBO-Scriptlets
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id89163410
octolytics-dimension-repository_network_root_nwouBlockO/uBO-Scriptlets
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasef2d67bd549813f8aceb31f205ebdb434e9d46d38
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/uBlockO/uBO-Scriptlets/discussions/28#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Forgs%2FuBlockO%2Fdiscussions%2F28
uBlockOhttps://patch-diff.githubusercontent.com/uBlockO
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Forgs%2FuBlockO%2Fdiscussions%2F28
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fdiscussions_fragments%2Fdiscussion_layout&source=header-repo&source_repo=uBlockO%2FuBO-Scriptlets
Reloadhttps://patch-diff.githubusercontent.com/uBlockO/uBO-Scriptlets/discussions/28
Reloadhttps://patch-diff.githubusercontent.com/uBlockO/uBO-Scriptlets/discussions/28
Reloadhttps://patch-diff.githubusercontent.com/uBlockO/uBO-Scriptlets/discussions/28
uBlockO https://patch-diff.githubusercontent.com/uBlockO
Overview https://patch-diff.githubusercontent.com/uBlockO
Repositories https://patch-diff.githubusercontent.com/orgs/uBlockO/repositories
Discussions https://patch-diff.githubusercontent.com/orgs/uBlockO/discussions
Projects https://patch-diff.githubusercontent.com/orgs/uBlockO/projects
Packages https://patch-diff.githubusercontent.com/orgs/uBlockO/packages
People https://patch-diff.githubusercontent.com/orgs/uBlockO/people
Overviewhttps://patch-diff.githubusercontent.com/uBlockO
Repositorieshttps://patch-diff.githubusercontent.com/orgs/uBlockO/repositories
Discussionshttps://patch-diff.githubusercontent.com/orgs/uBlockO/discussions
Projectshttps://patch-diff.githubusercontent.com/orgs/uBlockO/projects
Packageshttps://patch-diff.githubusercontent.com/orgs/uBlockO/packages
Peoplehttps://patch-diff.githubusercontent.com/orgs/uBlockO/people
Answered https://patch-diff.githubusercontent.com/uBlockO/uBO-Scriptlets/discussions/28#discussioncomment-8121752
uBlock-userhttps://patch-diff.githubusercontent.com/uBlock-user
ghost https://patch-diff.githubusercontent.com/ghost
Generalhttps://patch-diff.githubusercontent.com/orgs/uBlockO/discussions/categories/general
Trusted-Set-Attr is not setting valued in some cases. https://patch-diff.githubusercontent.com/uBlockO/uBO-Scriptlets/discussions/28#top
ghost https://patch-diff.githubusercontent.com/ghost
Answered https://patch-diff.githubusercontent.com/uBlockO/uBO-Scriptlets/discussions/28#discussioncomment-8121752
uBlock-userhttps://patch-diff.githubusercontent.com/uBlock-user
Return to tophttps://patch-diff.githubusercontent.com/uBlockO/uBO-Scriptlets/discussions/28#top
Please reload this pagehttps://patch-diff.githubusercontent.com/uBlockO/uBO-Scriptlets/discussions/28
https://patch-diff.githubusercontent.com/uBlockO/uBO-Scriptlets/discussions/28
Please reload this pagehttps://patch-diff.githubusercontent.com/uBlockO/uBO-Scriptlets/discussions/28
https://patch-diff.githubusercontent.com/uBlockO/uBO-Scriptlets/discussions/28
ghost https://patch-diff.githubusercontent.com/ghost
Jan 14, 2024 https://patch-diff.githubusercontent.com/uBlockO/uBO-Scriptlets/discussions/28#discussion-6070642
Give feedback.https://patch-diff.githubusercontent.com/uBlockO/uBO-Scriptlets/discussions/28
uBlock-user https://patch-diff.githubusercontent.com/uBlock-user
Jan 14, 2024 https://github.com/orgs/uBlockO/discussions/28#discussioncomment-8121752
@ghosthttps://github.com/ghost
View full answer https://patch-diff.githubusercontent.com/uBlockO/uBO-Scriptlets/discussions/28#discussioncomment-8121752
Oldest https://patch-diff.githubusercontent.com/orgs/uBlockO/discussions/28?sort=old
Newest https://patch-diff.githubusercontent.com/orgs/uBlockO/discussions/28?sort=new
Top https://patch-diff.githubusercontent.com/orgs/uBlockO/discussions/28?sort=top
Please reload this pagehttps://patch-diff.githubusercontent.com/uBlockO/uBO-Scriptlets/discussions/28
https://patch-diff.githubusercontent.com/uBlockO/uBO-Scriptlets/discussions/28
uBlock-user https://patch-diff.githubusercontent.com/uBlock-user
Jan 14, 2024 https://patch-diff.githubusercontent.com/uBlockO/uBO-Scriptlets/discussions/28#discussioncomment-8121752
@ghosthttps://github.com/ghost
Give feedback.https://patch-diff.githubusercontent.com/uBlockO/uBO-Scriptlets/discussions/28
uBlock-userhttps://patch-diff.githubusercontent.com/uBlock-user
Sign up for freehttps://patch-diff.githubusercontent.com/join?source=comment-repo
Sign in to commenthttps://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Forgs%2FuBlockO%2Fdiscussions%2F28
💬 General https://patch-diff.githubusercontent.com/orgs/uBlockO/discussions/categories/general
addressed https://patch-diff.githubusercontent.com/orgs/uBlockO/discussions?discussions_q=label%3Aaddressed
https://patch-diff.githubusercontent.com/uBlock-user
https://patch-diff.githubusercontent.com/uBlockO/uBO-Scriptlets/discussions/28
https://patch-diff.githubusercontent.com/settings/replies?return_to=1
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.