{"id":49,"date":"2008-10-09T06:12:00","date_gmt":"2008-10-09T10:12:00","guid":{"rendered":"http:\/\/www.searchenginegenie.com\/programming-blog\/copy-to-clipboard-with-javascript-on-mozilla-or-netscape-browsers\/"},"modified":"2010-07-19T14:19:50","modified_gmt":"2010-07-19T18:19:50","slug":"copy-to-clipboard-with-javascript-on-mozilla-or-netscape-browsers","status":"publish","type":"post","link":"https:\/\/www.searchenginegenie.com\/programming-blog\/copy-to-clipboard-with-javascript-on-mozilla-or-netscape-browsers\/","title":{"rendered":"Copy to Clipboard with Javascript on Mozilla or Netscape Browsers"},"content":{"rendered":"<p>Hope all may know that by using Javascript select() and execCommand(&#8220;Copy&#8221;)<br \/>\nfunction we may able to select all the contents and copy those selected contents into our clipboard.<\/p>\n<p>However, this function will work only in Internet Explorer (all version) by default, but not in Mozilla or Netscape browsers. To enable these Javascript Copy to Clipboard function in the Mozilla and Netscape Browsers, please follow the steps to provided below<\/p>\n<p>1) Type <strong>about:config <\/strong>in the browser address bar.<br \/>\n2) Now, in the Filter window search for the following:<br \/>\n<strong>signed.applets.codebase_principal_support<\/strong><br \/>\n3) Set the Boolean value to <strong>true<\/strong> for Firefox or enter <strong>true or 1<\/strong> for Mozilla browsers.<br \/>\nKeep in mind that Preference names are case-sensitive.<\/p>\n<p>Once you have made this simple settings on your Mozilla or netscape browsers you may use the copy to clipboard function on your browsers.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hope all may know that by using Javascript select() and execCommand(&#8220;Copy&#8221;) function we may able to select all the contents and copy those selected contents into our clipboard. However, this function will work only in Internet Explorer (all version) by default, but not in Mozilla or Netscape browsers. To enable these Javascript Copy to Clipboard [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[70],"class_list":["post-49","post","type-post","status-publish","format-standard","hentry","category-programming","tag-javascript-on-mozilla-or-netscape"],"_links":{"self":[{"href":"https:\/\/www.searchenginegenie.com\/programming-blog\/wp-json\/wp\/v2\/posts\/49","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.searchenginegenie.com\/programming-blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.searchenginegenie.com\/programming-blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.searchenginegenie.com\/programming-blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.searchenginegenie.com\/programming-blog\/wp-json\/wp\/v2\/comments?post=49"}],"version-history":[{"count":2,"href":"https:\/\/www.searchenginegenie.com\/programming-blog\/wp-json\/wp\/v2\/posts\/49\/revisions"}],"predecessor-version":[{"id":145,"href":"https:\/\/www.searchenginegenie.com\/programming-blog\/wp-json\/wp\/v2\/posts\/49\/revisions\/145"}],"wp:attachment":[{"href":"https:\/\/www.searchenginegenie.com\/programming-blog\/wp-json\/wp\/v2\/media?parent=49"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.searchenginegenie.com\/programming-blog\/wp-json\/wp\/v2\/categories?post=49"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.searchenginegenie.com\/programming-blog\/wp-json\/wp\/v2\/tags?post=49"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}