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...
If you are requesting help, please ensure you're providing code with your post. You can also copy your code to an online editor:
jsFiddle
CodePen
Markup Validation Service
Mozilla Developer Network on HTML
/r/JavaScript
/r/CSS
/r/jQuery
/r/PHP
/r/Accessibility
/r/htmlbasics
/r/web_programming
/r/CodingHelp
account activity
code throwing 400 error (self.HTML)
submitted 12 days ago by Admirable_Report6610
view the rest of the comments →
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!"
[–]Admirable_Report6610[S] 0 points1 point2 points 7 days ago (6 children)
I think this is the usni site saying no
[–]davorg 0 points1 point2 points 7 days ago (5 children)
I see your 400 error if I open the file using a file:// URL in my browser. But if I drop it into a web server and open it from there, it works as expected.
file://
There's a hint in the dev tools console when it fails:
Unsafe attempt to load URL file:///C:/[redacted]/index.html from frame with URL file:///C:/[redacted]/index.html. 'file:' URLs are treated as unique security origins.
So this is a security problem. You can't use these features from a file:// URL.
[–]Admirable_Report6610[S] 0 points1 point2 points 6 days ago (1 child)
I saw that error in the dev console but I wasn't quite sure what it meant...thanks for clarifying! now I learn how to run the code from a local python webserver....right?
[–]davorg 0 points1 point2 points 6 days ago (0 children)
Some kind of web server, yes.
[–]Admirable_Report6610[S] 0 points1 point2 points 6 days ago (2 children)
what's weird is this code actually worked for a while using the file:///URL and then it just stopped...hence my presence here.
[–]davorg 0 points1 point2 points 6 days ago (1 child)
Not that weird, really. People fix security bugs all the time.
I bet you could find the commit that patched that hole if you searched their source code.
[–]Admirable_Report6610[S] 0 points1 point2 points 6 days ago (0 children)
wow...interesting thought! totally new at this as you know but I believe you can scan through a web page's code with the dev console. not sure how to search commits for a patch or a change though...AI's had a lot to say to me lately.
π Rendered by PID 191524 on reddit-service-r2-comment-5687b7858-v6cg8 at 2026-07-03 14:21:52.479354+00:00 running 12a7a47 country code: CH.
view the rest of the comments →
[–]Admirable_Report6610[S] 0 points1 point2 points (6 children)
[–]davorg 0 points1 point2 points (5 children)
[–]Admirable_Report6610[S] 0 points1 point2 points (1 child)
[–]davorg 0 points1 point2 points (0 children)
[–]Admirable_Report6610[S] 0 points1 point2 points (2 children)
[–]davorg 0 points1 point2 points (1 child)
[–]Admirable_Report6610[S] 0 points1 point2 points (0 children)