Jun 252007
 

FireFox implemented a scripting-security feature that should do its work better than a question “Do you allow this script to run” or something along that line. Because users will press YES, since they are browsing and don’t want to be annoyed with pop-ups…
One of the items that can’t be done from scripting anymore is an XMLHTTPRequest (to another site). Basically the thing that runs AJAX. Without it, you would not have AJAX.

Now FireFox is asking us to sign our Javascript, so it will know the script is what it’s supposed to be. But wait….not only the Javascript (or external .js file), but the whole page.

WTF?

APEX generates pages on the fly, and you can include javascript in the page definition. But there is no complete page to sign. So how do I solve a “Permission denied to call method XMLHTTPRequest.open”? Any framework that dynamically generates pages will suffer from the same problem, so….any thoughts on this one? I can’t just alter the framework to do some server-side proxying only to overcome the fact that the client can’t request an URL.

 Posted by at 01:39

  One Response to “FireFox signed scripts”

  1. Hi Reginald,
    Did you uncomment the proxy-setting in your httpd.conf file. You’ll need to add your mapviewer port to this file, otherwise your cooperation between apex and mapviewer wont work.
    Good luck,
    Wijnand

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

(required)

(required)