Launchpad has imported 2 comments from the remote bug at https://bugzilla.mozilla.org/show_bug.cgi?id=526237.
If you reply to an imported comment from within Launchpad, your comment will be sent to the remote bug automatically. Read more about Launchpad's inter-bugtracker facilities at https://help.launchpad.net/InterBugTracking. ------------------------------------------------------------------------ On 2009-11-03T16:47:00+00:00 Jonathan Hayward wrote: User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.4) Gecko/20091028 Ubuntu/9.10 (karmic) Firefox/3.5.4 Build Identifier: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.4) Gecko/20091028 Ubuntu/9.10 (karmic) Firefox/3.5.4 I want to use a localhost, port 8022 Ajaxterm's (JS-based) Paste button and I have not found a way to enable it yet. I have created a user.js with the contents: user_pref("capability.policy.policynames", "allowclipboard"); user_pref("capability.policy.allowclipboard.sites", "http://localhost"); user_pref("capability.policy.allowclipboard.Clipboard.cutcopy", "allAccess"); user_pref("capability.policy.allowclipboard.Clipboard.paste", "allAccess"); No observable change in behavior; Ajaxterm still complains that its Javascript paste attempt is getting a permission denied error. Changing the second line to: user_pref("capability.policy.allowclipboard.sites", "http://localhost http://localhost:8022"); does not work. I have tried to edit about:config but not found options that look like they will help. I have more specifically been using modified Ajaxterm, changed in its CSS from Ajaxterm 0.10, available from http://jonathanscorner.com/terminal/ ; there has been no change to the JavaScript. This issue has also been discussed at the Mozillazine thread at http://forums.mozillazine.org/viewtopic.php?f=38&t=1570755&p=7901815#p7901815. I have upgraded my computer from Jaunty to Karmic; Firefox 3.0.x under Jaunty was allowing the JavaScript paste in question. Jonathan http://JonathansCorner.com/ Reproducible: Always Steps to Reproduce: 1. On a similar system, download and unpack http://jonathanscorner.com/terminal/enhanced-terminal-0.11.tar.bz2 , enter the unpacked directory, and run ./ajaxterm.py 2. Point Firefox 3.5.4 to http://localhost:8022/ 3. Select and copy some text. 4: In the browser window, click on the word "Paste" at the top right hand of the screen. [Observed behavior: immediately below the paste button, a message of "Access denied more info" appears] 5: Quit Firefox. 6: Add the following to the user.js file in the <salt>.default directory, creating user.js if needed: user_pref("capability.policy.policynames", "allowclipboard"); user_pref("capability.policy.allowclipboard.sites", "http://localhost"); user_pref("capability.policy.allowclipboard.Clipboard.cutcopy", "allAccess"); user_pref("capability.policy.allowclipboard.Clipboard.paste", "allAccess"); 7: Restart Firefox. 8: Select some text again, and click the paste button. [I get the same error as before attempting to enable access.] Actual Results: As described in the steps to reproduce; each time the "Paste" button is clicked, there is an error message indicating that the script was not allowed to paste via JavaScript. Expected Results: On step 8, the previously copied text should have been pasted into the window as if it had been typed in. Reply at: https://bugs.launchpad.net/firefox/+bug/472882/comments/1 ------------------------------------------------------------------------ On 2009-11-06T19:45:01+00:00 Mozilla-bugs-micahscomputing wrote: Ubuntu Bug: https://bugs.launchpad.net/ubuntu/+source/firefox-3.5/+bug/472882 Reply at: https://bugs.launchpad.net/firefox/+bug/472882/comments/5 ** Changed in: firefox Importance: Unknown => Medium -- Firefox 3.5 - Allow JS Access to clipboard on a limited basis https://bugs.launchpad.net/bugs/472882 You received this bug notification because you are a member of Registry Administrators, which is the registrant for NULL Project. _______________________________________________ Mailing list: https://launchpad.net/~registry Post to : [email protected] Unsubscribe : https://launchpad.net/~registry More help : https://help.launchpad.net/ListHelp

