D
Daz
Hi everyone.
Is it possible to remove a script that has been added to a page? I have
asked this question before, and was told that it was pretty much
impossible to do, unless of course, I deleted the function. I have had
a little think, and I might have stumbled upon a method of achieving
this, without having to know what functions you actually want to
delete. It might be a method already in practise, so I doubt it's
original, which is why I am asking as I am hoping someone can save me a
lot of time experimenting.
If I dynamically load a script into a hidden iframe, and then delete
the iframe. Would that delete the script that are supposedly in it's
scope? Or would they remain, but be unusable. I would like to use
iframes almost like a namespace, for temporary scripts. Periodically, I
would like to remove the iframe, and replace it with a clean one. Can
anyone tell me off the top of their head if this is likely to work?
Many thanks.
Daz.
Is it possible to remove a script that has been added to a page? I have
asked this question before, and was told that it was pretty much
impossible to do, unless of course, I deleted the function. I have had
a little think, and I might have stumbled upon a method of achieving
this, without having to know what functions you actually want to
delete. It might be a method already in practise, so I doubt it's
original, which is why I am asking as I am hoping someone can save me a
lot of time experimenting.
If I dynamically load a script into a hidden iframe, and then delete
the iframe. Would that delete the script that are supposedly in it's
scope? Or would they remain, but be unusable. I would like to use
iframes almost like a namespace, for temporary scripts. Periodically, I
would like to remove the iframe, and replace it with a clean one. Can
anyone tell me off the top of their head if this is likely to work?
Many thanks.
Daz.