Click here to Skip to main content
15,886,564 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello,

I saw there a many articels for this problem.
For example http://interwebguru.blogspot.de/2010/01/how-to-disable-javascript-alerts-in.html[^]

But none of them works for me.
I'm using XULRunner 29.0 with GeckoWebBrowser (GeckoFX 29.011.0).

The problem can be reproduced in new version of FireFox, too.

I have a simple Html hosted via IIS:

HTML
<!DOCTYPE HTML>
<html>
	<head>	
		<script type="text/javascript">			
			window.onload = function() {
				alert('alert');
			}
		</script>
	</head>
	<body>
		Thats my body!
	</body>
</html>


So with the settings of this article the alert should not appear, but it does.
Does anyone have an idea how to not show the alert in my html?
I tried multiple ways (in about:config, creating user.js, using default/strict), nothing brings the result.

Kind regards
Posted
Updated 15-Dec-14 6:14am
v2
Comments
ZurdoDev 15-Dec-14 13:24pm    
Perhaps look for a FireFox tech support forum?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900