Title: Set attribute - how to use? · uBlockO · Discussion #18 · GitHub
Open Graph Title: Set attribute - how to use? · uBlockO · Discussion #18
X Title: Set attribute - how to use? · uBlockO · Discussion #18
Description: Set attribute - how to use?
Open Graph Description: Hi, how can I use set attribute scriplet in this case? I want to add [selected="SELECTED"] as a part of option[value="Solved (Permanently)"] like this: There is a sample how to use sa.js https://ra...
X Description: Hi, how can I use set attribute scriplet in this case? I want to add [selected="SELECTED"] as a part of option[value="Solved (Permanently)"] like this: There is a sample how to ...
Opengraph URL: https://github.com/orgs/uBlockO/discussions/18
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"QAPage","mainEntity":{"@type":"Question","name":"Set attribute - how to use?","text":"Hi, how can I use set attribute scriplet in this case?
\nI want to add [selected=\"SELECTED\"] as a part of option[value=\"Solved (Permanently)\"]
\n\nlike this:
\n\nThere is a sample how to use sa.js https://raw.githubusercontent.com/uBlock-user/uBO-Scriptlets/master/scriptlets.js but I don't understand it properly.
","upvoteCount":1,"answerCount":6,"acceptedAnswer":{"@type":"Answer","text":"\nexample.com##+js(sa, preload, none, video)
\n
\nfirst param is name of attribute
\nsecond param is attribute value
\nthird param is CSS selector
","upvoteCount":2,"url":"https://github.com/orgs/uBlockO/discussions/18#discussioncomment-2415008"}}}
| route-pattern | /_view_fragments/Voltron::DiscussionsFragmentsController/show/orgs/:org/:discussion_number/discussion_layout(.:format) |
| route-controller | voltron_discussions_fragments |
| route-action | discussion_layout |
| fetch-nonce | v2:e008cb18-a9b2-3df6-01bd-8bda1f4a0499 |
| current-catalog-service-hash | 9f0abe34da433c9b6db74bffa2466494a717b579a96b30a5d252e5090baea7be |
| request-id | C7BE:119FD0:418465:54B90C:698E818A |
| html-safe-nonce | 567f81d8bcf789aedf8c2772cc2cf118ef8b8cb3cec0eedad621fb3fca37d6c0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDN0JFOjExOUZEMDo0MTg0NjU6NTRCOTBDOjY5OEU4MThBIiwidmlzaXRvcl9pZCI6IjEzODY5NDQ0MjU5NzY4MjQyMDIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 0c6a8537f329047cb0a6335cdc3dce3c06fde0e43669a1ab4dd21688531ef96c |
| hovercard-subject-tag | discussion:3954956 |
| github-keyboard-shortcuts | repository,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/Voltron::DiscussionsFragmentsController/show/orgs/uBlockO/18/discussion_layout |
| twitter:image | https://opengraph.githubassets.com/7aed25cb6f2cdbfcf6be31ec08b29b5d766b7f95b21748d875cadf5e82e193c8/orgs/uBlockO/discussions/18 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/7aed25cb6f2cdbfcf6be31ec08b29b5d766b7f95b21748d875cadf5e82e193c8/orgs/uBlockO/discussions/18 |
| og:image:alt | Hi, how can I use set attribute scriplet in this case? I want to add [selected="SELECTED"] as a part of option[value="Solved (Permanently)"] like this: There is a sample how to use sa.js https://ra... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | cb2828a801ee6b7be618f3ac76fbf55def35bbc30f053a9c41bf90210b8b72ba |
| turbo-cache-control | no-preview |
| octolytics-dimension-user_id | 148974853 |
| octolytics-dimension-user_login | uBlockO |
| octolytics-dimension-repository_id | 89163410 |
| octolytics-dimension-repository_nwo | uBlockO/uBO-Scriptlets |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 89163410 |
| octolytics-dimension-repository_network_root_nwo | uBlockO/uBO-Scriptlets |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | f7a12861f7011eecb14bcc4388a767d829a52dfc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width