What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 130 Stack Exchange communities.

I have a question on Stack Overflow asking why JavaScript still runs after being disabled

I thought it was a programming-specific question but it has received 3 close votes now.

To quote the FAQ, we should ask questions about:

  • a specific programming problem
  • a software algorithm
  • software tools commonly used by programmers
  • practical, answerable problems that are unique to the programming profession

What should I do to preserve the question and get a proper answer (there's still none as of now) instead of getting it closed? And does the presence of close-votes prevent a question from getting seen? The view count has stopped for quite a while.

EDIT: A moderator has closed this question twice and locked it. Can someone kindly suggest a better site to ask this question?

share|improve this question
1  
At least make your question self-contained. It should not rely on other questions our outside resources. –  Bart Feb 18 '13 at 14:44
    
@Bart It isn't. I put that in after people try to close it. –  Antony Feb 18 '13 at 14:44
3  
You are asking about undefined behavior - what happens to JS when it gets disabled by the user while running. It is browser/implementation dependent, and you didn't supply the details. –  Oded Feb 18 '13 at 14:46
    
@Oded The details are in the fiddle. You have an example to see what is going on and all the relevant codes. I have a summary of the functions used in the question. –  Antony Feb 18 '13 at 14:48
18  
"The details are in the fiddle"...well, that's wrong. The details should be in the question. –  Bart Feb 18 '13 at 14:48
1  
One close question is not the end of the world. Try to be part of the community and understand what the rest think and try to close it - after you understand that, you may change it (or not change it and just accept it). –  Aristos Feb 18 '13 at 14:48
1  
That's part of the problem. A link to jsfiddle is a nice extra to a self contained question - if you had posted all the relevant code as well... –  Oded Feb 18 '13 at 14:48
    
@Oded I didn't want to make this question too long to read. Maybe I should now. –  Antony Feb 18 '13 at 14:49
    
@Oded: Edited to include the relevant code from the fiddle. –  Linuxios Feb 18 '13 at 14:50
6  
Even if someone says "yes, it's a loophole" it's still loophole in the browser itself, in the way it's handling JavaScript. Nothing we, as programmers, can do and it should be addressed by the developers of each browser exposing such behavior. Personally I'm not flagging your question but can understand why it's flagged. –  Shadow Wizard Feb 18 '13 at 14:51
1  
That's a good thing to strive for, but a sscce is probably best. –  Oded Feb 18 '13 at 14:51
    
@Oded Thanks for the info. –  Antony Feb 18 '13 at 14:53
5  
Editing a lecture into your question is against the site's policies and was just really not a good idea. You were already discussing it on Meta. –  David Robinson Feb 20 '13 at 18:20
1  
@Antony If you think that question should be edited, by all means suggest an edit. I can't handle them all. –  Bart Feb 20 '13 at 18:51
2  
What do you want me to do? I can't suggest a better site, if that's what you looking for. –  Bart Feb 20 '13 at 18:58

1 Answer 1

Congratulations, it's an off-topic question!

Please excuse my plumply answer, but I'm a little bit tired of dancing around the cake. So, let's get to the core, the FAQ:

  • a specific programming problem -> Kind of...
  • a software algorithm -> Nope
  • software tools commonly used by programmers -> Nada
  • practical, answerable problems that are unique to the programming profession -> Not really...

So, that's 0.5 out of 4 (that's your score in the "Let's check the FAQ game"). Your question is not really well-formed because:

  • You dump a lot of code on us
  • Give us little to no information what that code is doing
  • Provide us with little to no information what you want to achieve
  • Provide us with no information about the environment you tested the code in.

Additionally it is off-topic because, even if it shows a bug in a browser where you're able to run JavaScript when it is disabled, it should be reported on the appropriate bug-tracker...or, in a very very very very narrow case, asked on Super User.

share|improve this answer
    
Hey! It was not me to dump you a lot of codes. See who edited my question first! –  Antony Feb 18 '13 at 14:57
7  
@Antony: JsFiddle and Gist links are even worse... –  Time Traveling Bobby Feb 18 '13 at 15:00
    
Then how can I properly explain the situation to you without an example to see what's going on? –  Antony Feb 18 '13 at 15:02
    
@Antony: Well commented code together with the explanations of "Why was this code written/What does it solve", "How it does that", "What it's supposed to do" and "What it actually does". –  Time Traveling Bobby Feb 18 '13 at 15:04
    
Having a working example to experiment on is better than having pages of codes for people to dig through. I actually mentioned quite clearly what the code does. –  Antony Feb 18 '13 at 15:06
2  
@Antony you should have the smallest amount of code that can reliably reproduce the problem in the question. Also, there's the other issues DemonBobby points out in his answer. –  George Stocker Feb 20 '13 at 17:56
    
@GeorgeStocker I think I have the code that produces just that problem in the question. But is SO the wrong place to ask this question? –  Antony Feb 20 '13 at 17:57
    
"Additionally it is off-topic because, even if it shows a bug in a browser where you're able to run JavaScript when it is disabled, it should be reported on the appropriate bug-tracker...or, in a very very very very narrow case, asked on Super User." –  George Stocker Feb 20 '13 at 18:25
    
@GeorgeStocker But Super User is "not about programming and software development". –  Antony Feb 20 '13 at 18:32

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .