haeeshoo Posted May 25, 2011 Posted May 25, 2011 (edited) The chat room was down today, so what else was there to do than to fix its pesky copy/paste limitations As hardcore chat room users know by now, copy paste in the chat room is "broken", if you have a version of java that is recent enough.That is, you can still copy paste within the chat application, but nothing between the chat application and another application(e.g. pasting a youtube link doesn't work anymore).To fix this, you can do the following 3 steps on your own computer (but read the final paragraph about why perhaps you don'twant to fix it):STEP 1. on your computer, find the file called "java.policy". I cannot tell you where to go looking as my system is different from yours.You can probably use some "search" that is built-in your operating system to find it.STEP 2. edit the file in a text editor (notepad if you're using windows). It should contain a section that looks as follows:// default permissions granted to all domainsgrant { // Allows any thread to stop itself using the java.lang.Thread.stop() // method that takes no argument. // Note that this permission is granted by default only to remain // backwards compatible. // It is strongly recommended that you either remove this permission // from this policy file or further restrict it to code sources // that you specify, because Thread.stop() is potentially unsafe. // See the API specification of java.lang.Thread.stop() for more // information. permission java.lang.RuntimePermission "stopThread"; // allows anyone to listen on un-privileged ports permission java.net.SocketPermission "localhost:1024-", "listen"; // "standard" properies that can be read by anyone permission java.util.PropertyPermission "java.version", "read"; permission java.util.PropertyPermission "java.vendor", "read"; permission java.util.PropertyPermission "java.vendor.url", "read"; <lots of lines cut out>};just before the closing };, enter the following text and save (make sure you don't make typing mistakes, or it won't work) permission java.awt.AWTPermission "accessClipboard";so the new file should look like:// default permissions granted to all domainsgrant { // Allows any thread to stop itself using the java.lang.Thread.stop() // method that takes no argument. // Note that this permission is granted by default only to remain // backwards compatible. // It is strongly recommended that you either remove this permission // from this policy file or further restrict it to code sources // that you specify, because Thread.stop() is potentially unsafe. // See the API specification of java.lang.Thread.stop() for more // information. permission java.lang.RuntimePermission "stopThread"; // allows anyone to listen on un-privileged ports permission java.net.SocketPermission "localhost:1024-", "listen"; // "standard" properies that can be read by anyone permission java.util.PropertyPermission "java.version", "read"; permission java.util.PropertyPermission "java.vendor", "read"; permission java.util.PropertyPermission "java.vendor.url", "read"; <lots of lines cut out> permission java.awt.AWTPermission "accessClipboard";};STEP 3. close all windows of your browser, restart your browser, enter the chat room and try it out Note that this change in JAVA's default behaviour was made on purpose by oracle (the current owners of JAVA),because non-trusted web applications could use it to steal information from your clipboard (like: if youcopy pasted your password recently, it would still sit in the clipboard, and a java malware application could stealit from the clipboard and store it somewhere).It-works-for-me Edited May 25, 2011 by haeeshoo
Shay Posted May 26, 2011 Posted May 26, 2011 Thanks, this worked great for me!Note to Windows 7 users, you will need to run notepad as an administrator or it won't let you save the changes to this file.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now