the key is you must add a tag in web.config file own to the current web application :

so inside you wouild find the file.open it and browse to 'SafeMode' tag, inside it you'll add this tag :

in this example by indicating 'VirtualPath="/*"' i assumed that script is safe inside all my pages, so personalize yours you will replace it with the page path like: /_catalogs/masterpage/default.master for just execute script inside default.aspx
Aucun commentaire:
Enregistrer un commentaire