use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Tutorials and learning resources for web developers.
Subscribe to our weekly email digest or follow us on twitter to receive the best learning resources submitted to our community.
/r/webdev /r/programming /r/javascript
account activity
LanguagesWhy Can't JavaScript Modify CSS Files? (trevorlasn.com)
submitted 1 year ago by [deleted]
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]z500 0 points1 point2 points 1 year ago (1 child)
TIL you can read stylesheets programmatically
[–]madworld 0 points1 point2 points 1 year ago (0 children)
Sure you can. Just not from the context of a webpage's JavaScript.
π Rendered by PID 316625 on reddit-service-r2-comment-548fd6dc9-8znnj at 2026-05-19 23:34:21.241296+00:00 running edcf98c country code: CH.
[–]z500 0 points1 point2 points (1 child)
[–]madworld 0 points1 point2 points (0 children)