I am trying to change the location of the parent window of a window.open-function-made window.
Error:
Access Denied Line 1
opener.location = "JavaScript:alert(\'active\');var formName = \"freeRTE_content\"; var item=document.all[formName]; var t = true;var theSelection = item.createRange().text; if (!theSelection) { var t = false; } if (!false) { var t = false; } if(t) { item.createRange().text = \''.$code.'\'; } ";