Jump to content

Disable JavaScript and Flash


dhope

Recommended Posts

Hi,

 

I am creating a page editor for my site and I was wondering if there was a way to disable the javascript and flash use on a page when I load it up in the editor.

 

At the moment when the page loads up the flash and javascript are interfering with the editor.

 

I hope this makes sense  :shrug:

 

Thanks in advance

Link to comment
https://forums.phpfreaks.com/topic/232511-disable-javascript-and-flash/
Share on other sites

First your editable content area should be iframed to avoid security issues and conflicts. I assume you have an "Edit HTML" button, whenever the user change the HTML code, you would need to scan it for any scripts (including events) or flash objects and remove them.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.