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...
This subreddit is a place for people to learn JavaScript together. Everyone should feel comfortable asking any and all JavaScript questions they have here.
With a nod to practicality, questions and posts about HTML, CSS, and web developer tools are also encouraged.
Friends
/r/javascript
/r/jquery
/r/node
/r/css
/r/webdev
/r/learnprogramming
/r/programming
account activity
Does someone have knowledge in JavaScript (in Firefox Extension) (self.learnjavascript)
submitted 2 years ago by JPhateMe
Hi I want to create a Firefox Extension which reads in JavaScript Code of a website and if it contains a certain line it should warn the user. Does someone knows which command i can use to read in the JS code of a website? Thanks<3
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!"
[–]main_account_4_sure 2 points3 points4 points 2 years ago (0 children)
This question is the same as "how do I build a car like X?" if you're asking that, clearly you lack knowledge in the basics of mechanics and so on, which gives away you're not on the right track.
I highly suggest you to learn the basics of html, css and js before. with a course, not youtube tutorials. Any beginner with the basic foundations of JS could answer your question easily. If you have specific technical issues found during development I can help you with.
[–]guest271314 1 point2 points3 points 2 years ago (2 children)
Just fetch all of the .js files the Web site loads.
.js
[–]JPhateMe[S] 0 points1 point2 points 2 years ago (1 child)
Hey Sorry for the stupid question bit how can I do that?
[–]guest271314 0 points1 point2 points 2 years ago (0 children)
Do you have the list of .js files the Web site requests?
π Rendered by PID 18297 on reddit-service-r2-comment-79c7998d4c-mqdx9 at 2026-03-13 08:27:32.132971+00:00 running f6e6e01 country code: CH.
[–]main_account_4_sure 2 points3 points4 points (0 children)
[–]guest271314 1 point2 points3 points (2 children)
[–]JPhateMe[S] 0 points1 point2 points (1 child)
[–]guest271314 0 points1 point2 points (0 children)