AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

[Confirmed] Chrome and Opera break clipboard copy with \xA0

 
Reply to topic    AutoHotkey Community Forum Index -> Bug Reports
View previous topic :: View next topic  
Author Message
TheLeO



Joined: 11 Jun 2005
Posts: 264
Location: England ish

PostPosted: Mon Nov 24, 2008 5:23 am    Post subject: [Confirmed] Chrome and Opera break clipboard copy with \xA0 Reply with quote

Moderator note: see also [Confirmed] Flash 10 problem: No more Copy Code to Clipboard

Just to save you guys future troubles.

I found out that google chrome damages scipts if they're copied from the forum using the "copy" button.

I.e I've copied:
http://www.autohotkey.com/forum/viewtopic.php?p=233294#233294

but when I ran it, the code failed at line 8, telling me that the line wasn't recognised....

[edit]
as a workaround, you can manually select the whole text, instead of using the copy button
[edit close]

Just thought it would be worth knowing.... :


P.s other than that, google chrome rocks.
_________________
::
I Have Spoken
::


Last edited by TheLeO on Fri Nov 28, 2008 2:23 am; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
BookwormDragon



Joined: 08 Nov 2008
Posts: 14

PostPosted: Mon Nov 24, 2008 5:54 am    Post subject: Reply with quote

Hmm. When that happens to me, from any browser, I have found that replacing all the quote marks (single & double) within the script usually fixes the problem. I have no idea why, but it does.
Back to top
View user's profile Send private message
Krogdor



Joined: 18 Apr 2008
Posts: 1390
Location: The Interwebs

PostPosted: Mon Nov 24, 2008 6:09 am    Post subject: Reply with quote

Just manually highlight the whole script and copy it, rather than using the copy button.
Back to top
View user's profile Send private message AIM Address
evan
Guest





PostPosted: Mon Nov 24, 2008 7:19 am    Post subject: Reply with quote

my vista ultra doesnt even do anything when i click that button with firefox.
not only ahk forum, but other sites like photobucket too
Back to top
Frankie



Joined: 02 Nov 2008
Posts: 2850

PostPosted: Mon Nov 24, 2008 12:30 pm    Post subject: Reply with quote

i have visa home premium and it lets me copy on photobucket but does nothing here
Back to top
View user's profile Send private message
jballi



Joined: 01 Oct 2005
Posts: 747
Location: Texas, USA

PostPosted: Sun Dec 14, 2008 3:03 am    Post subject: Reply with quote

Old post. Additional information...

If the copy link works at all (See: http://www.autohotkey.com/forum/viewtopic.php?t=37021), I've confirmed that the Chrome script that copies the code to the clipboard does copy hidden junk to the clipboard making the result un-runnable. The problem appears to only occur on lines with leading spaces. Chrome is replacing every other leading space with CHR(160) which appears to looks like a regular space character when viewed with most editors. Here's an example:

Code:
Script:
-------------------------
        if instr(A_LoopField,"FM")=1
            if SubStr(A_LoopField,3) is Number
-------------------------



ASCII values:
-------------------------
160,32,160,32,160,32,160,32,105,102,32,105,110,115,116,114,40,65,95,76,111,111,112,...
160,32,160,32,160,32,160,32,160,32,160,32,105,102,32,83,117,98,83,116,114,40,65,95,...
-------------------------


Just thought I'd pass this on...

Moderator: Move to "Bug Reports" or "General Info" ??
Back to top
View user's profile Send private message Send e-mail
engunneer



Joined: 30 Aug 2005
Posts: 8255
Location: Maywood, IL

PostPosted: Sun Dec 14, 2008 7:32 am    Post subject: Reply with quote

I think bug reports that apply to the webpage are normally moved to bug reports section. I think this problem is also known anyway, but has not been fixed yet.

The trouble is, nobody will find the information anyway unless a sticky post is made, but I prefer not to make one.

I have moved this to bug reports.
_________________

(Common Answers)
Back to top
View user's profile Send private message Visit poster's website
polyethene



Joined: 11 Aug 2004
Posts: 5248
Location: UK

PostPosted: Sun Dec 14, 2008 11:24 am    Post subject: Reply with quote

This problem is known, somebody else reported it a while ago. Chrome and Opera do not apply my regex correctly, leaving \xA0 bytes as they are when they should be converted to \x20. Despite this bug with their JavaScript implementations phpBB2 is flawed by as because it should leave code text unformatted in <pre> tags. As a workaround you may try setting the cookie codeblock-tab=0 in your browser for autohotkey.com which would convert \xA0\xA0 to \x09, but since I do not use either Chrome or Opera so I cannot confirm this.

I'll tag this post as confirmed so nobody else will create a similar thread.
_________________
GitHubScriptsIronAHK Contact by email not private message.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Joy2DWorld



Joined: 04 Dec 2006
Posts: 561
Location: Galil, Israel

PostPosted: Wed Dec 17, 2008 8:49 pm    Post subject: Reply with quote

not to be too totally off topic, but when I tried to install chrome it started taking stats on my system and attempted to upload them to google.

re-installed in a VM, and started looking at it. Is very freaky. Google is recording all of the keystrokes. maybe missed where to turn that off, but why would want to install direct spyware is little creepy for me personally. Nothing against Google (used Google desktop for long time), but continuous stream of what I type in my url (and thus all sites visited, etc.) is at least for me, creepy feeling.
_________________
Joyce Jamce
Back to top
View user's profile Send private message
Guest






PostPosted: Fri Dec 19, 2008 3:37 am    Post subject: Reply with quote

Joy2DWorld wrote:
Google is recording all of the keystrokes.
How can you tell?
Back to top
Ice_Tea



Joined: 12 Jan 2008
Posts: 131

PostPosted: Fri Dec 19, 2008 3:43 am    Post subject: Reply with quote

Joy2DWorld wrote:
but continuous stream of what I type in my url (and thus all sites visited, etc.) is at least for me, creepy feeling.


Erhm, firefox does this to, as it searches through google when you type in the URL bar... well as I've heard, they DO save some (a very small amount) of the URL keywords that they receive... You can disable the search function so that Google doesn't receive it... There could always be someone else who could be watching anyways, so it's not really a big deal, you prolly have been runnin' around with firefox which does the EXACT same thing...
_________________
Back to top
View user's profile Send private message
polyethene



Joined: 11 Aug 2004
Posts: 5248
Location: UK

PostPosted: Fri Dec 19, 2008 10:07 am    Post subject: Reply with quote

Ice_Tea wrote:
firefox does this to, as it searches through google when you type in the URL bar
No, it searches Google, Yahoo or any other search engine that supports suggestions-as-you-type in the search bar, not the address bar. There is an option in Chrome to disable search suggestions (as with Firefox), but Google still collects other type of data. The open source Chromium builds are safer but they lack functionality.
_________________
GitHubScriptsIronAHK Contact by email not private message.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Joy2DWorld



Joined: 04 Dec 2006
Posts: 561
Location: Galil, Israel

PostPosted: Fri Dec 19, 2008 3:10 pm    Post subject: Reply with quote

Titan wrote:
Ice_Tea wrote:
firefox does this to, as it searches through google when you type in the URL bar
No, it searches Google, Yahoo or any other search engine that supports suggestions-as-you-type in the search bar, not the address bar. There is an option in Chrome to disable search suggestions (as with Firefox), but Google still collects other type of data. The open source Chromium builds are safer but they lack functionality.


exactly.

when I type a search term in search box, I expect that that term will be sent to search engine.

but that is different than sending ALL the url's i goto, (and even parts of them).

ie. trick of putting search box and url box together = you send Google not just search terms, but urls you type in as well.


there are many free packet sniff progs,
the google encoding is right in their open source release,
you can directly decode to see what is sent..

very freaky.


looks like at install they also fingerprint your system & grab your user info & info about progs you installed, etc.

anyhow.
_________________
Joyce Jamce
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    AutoHotkey Community Forum Index -> Bug Reports All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group