{"id":2946149,"date":"2012-08-06T01:32:13","date_gmt":"2012-08-06T01:32:13","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/plugin-insert-javascript-and-css-javascript-with-documentwrite\/"},"modified":"2016-08-20T14:17:34","modified_gmt":"2016-08-20T14:17:34","slug":"plugin-insert-javascript-and-css-javascript-with-documentwrite","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/plugin-insert-javascript-and-css-javascript-with-documentwrite\/","title":{"rendered":"[Plugin: Insert JavaScript and CSS] Javascript with document.write()"},"content":{"rendered":"<p>I&#8217;m wanting to add JavaScript generated by <a href=\"http:\/\/johnhaller.com\/jh\/useful_stuff\/obfuscate_mailto\/\">Obfuscate Mail<\/a>, which uses the document.write() method. However, this plugin doesn&#8217;t seem to actually write anything to the post. Ideally, I would like to be able to type in content on the page and then specify where I want the JavaScript to write, but if necessary, I would be alright with just putting the entire content of the page into document.write().<\/p>\n<p>https:\/\/wordpress.org\/extend\/plugins\/insert-javascript-css\/<\/p>\n","protected":false},"template":"","class_list":["post-2946149","topic","type-topic","status-closed","hentry","topic-tag-javascript"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/2946149","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/2946149\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=2946149"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}