MyBB Community Forums

Full Version: [B] Javascript doesn't work!!!
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Well, I was tring:
<!-- ONE STEP TO INSTALL APOLOGIZE E-MAIL:

   1.  Paste the coding into the BODY of your HTML document  -->

<!-- STEP ONE: Copy this coding into the BODY of your HTML document  -->
		  
<BODY>

<CENTER>

<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->

<a href="" onMouseover="alert('Why are you putting your cursor here?');
alert('I did not say you could!');
alert('I think you should e-mail me and say your sorry!');
alert('Yeah you better do it before i get mad!!!');
document.bgColor='black';
document.fgColor='White';
window.location.href='mailto:[email protected]?subject=I am sorry!';">Hi!</a>
</CENTER>

<p><center>
<font face="arial, helvetica" size="-2">Free JavaScripts provided<br>
by <a href="http://javascriptsource.com">The JavaScript Source</a></font>
</center><p>

<!-- Script Size:  0.50 KB  -->

And it didn't work. Even thow HTML was enabled...

http://www.firefox.dajoob.com/showthread...1&#pid3371
Is javascript dissabled or is this a bug?
Not an bug, onclick, alert and so on does not work since it's an possible security issue.
In functions_post.php
this patch provided by Ryan (try to remove XSS Cross-site scripting issues).
It's intended functioning, because we strip Javascript that may be harmful (such as alerts)
OK, is there a way to make this work if I have access to admin-cp and the files?
For you or for everyone?
Search the functions_post.php file for.
this patch provided by Ryan (try to remove XSS Cross-site scripting issues).
under that is the functions to remove it.