{"id":844,"date":"2006-11-27T01:10:12","date_gmt":"2006-11-26T23:10:12","guid":{"rendered":"http:\/\/www.mummila.net\/nuudelisoppa\/index.php\/?p=844"},"modified":"2006-11-27T01:10:12","modified_gmt":"2006-11-26T23:10:12","slug":"wordpress-and-javascript-links-use-text-control","status":"publish","type":"post","link":"https:\/\/mummila.net\/nuudelisoppa\/2006\/11\/27\/wordpress-and-javascript-links-use-text-control\/","title":{"rendered":"WordPress and JavaScript links: use Text Control!"},"content":{"rendered":"<p>When writing the <a href=\"http:\/\/mummila.net\/nuudelisoppa\/index.php\/?p=843\">previous post<\/a>, WordPress was seriously trying to prevent me from publishing a link with &#8216;javascript&#8217; as its protocol (&lt;a href=&#8221;javascript:<i>the actual JavaScript was here<\/i>&#8220;&gt;&#8230;&lt;\/a&gt;). As publishing that link was, kinda, the point of the post, I had to make it work.<\/p>\n<p>WordPress Codex&#8217;s <a href=\"http:\/\/codex.wordpress.org\/Using_Javascript\">Using Javascript<\/a> told me to try a plugin called <a href=\"http:\/\/dev.wp-plugins.org\/wiki\/TextControl\">Text Control<\/a>, so I installed it, and with No Formatting and No Character Encoding selected, the JavaScript link came to life.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>When writing the previous post, WordPress was seriously trying to prevent me from publishing a link with &#8216;javascript&#8217; as its protocol (&lt;a href=&#8221;javascript:the actual JavaScript was here&#8220;&gt;&#8230;&lt;\/a&gt;). As publishing that link was, kinda, the point of the post, I had to make it work. WordPress Codex&#8217;s Using Javascript told me to try a plugin called [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[9387,30],"class_list":["post-844","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-blog","tag-bugsglitches"],"_links":{"self":[{"href":"https:\/\/mummila.net\/nuudelisoppa\/wp-json\/wp\/v2\/posts\/844","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mummila.net\/nuudelisoppa\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mummila.net\/nuudelisoppa\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mummila.net\/nuudelisoppa\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/mummila.net\/nuudelisoppa\/wp-json\/wp\/v2\/comments?post=844"}],"version-history":[{"count":0,"href":"https:\/\/mummila.net\/nuudelisoppa\/wp-json\/wp\/v2\/posts\/844\/revisions"}],"wp:attachment":[{"href":"https:\/\/mummila.net\/nuudelisoppa\/wp-json\/wp\/v2\/media?parent=844"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mummila.net\/nuudelisoppa\/wp-json\/wp\/v2\/categories?post=844"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mummila.net\/nuudelisoppa\/wp-json\/wp\/v2\/tags?post=844"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}