Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re^2: Sharing JS-Code on perlmonks.orgby LanX (Saint) |
on May 19, 2009 at 09:48 UTC ( [id://764876]=note: print w/replies, xml ) | Need Help?? |
oops... wow that's much easier than what I figured out. (silly me! : ) The following code in my free nodelet loaded and executed code from my scratchpad:
(my example code changes the title of the window, without stopping the build up of the page like alert() does) just some notes:
1. With my method I needed to truncate some html-code, now I realize that it's the browser who inserted this code by itself. Why do you consider sharing JS-code as a risk? An intruder can only manipulate pages within the perlmonks sandbox not my online banking. IMHO using opensource software is a much higher risk...
Cheers Rolf
In Section
Perl Monks Discussion
|
|