MozillaZine

ADDing to clipboard......

User Help for Mozilla Firefox
wknplaya

User avatar
 
Posts: 7
Joined: October 27th, 2003, 4:26 pm

Post Posted October 27th, 2003, 4:34 pm

First i would like to say that "Mozilla Firebird rocks". cheers to the dev team :).
And now that i have payed my respectes...heres the problem, Certain site links sometimes save info [text] to the clipboard for easy pasting i am referring to mirc links from packetnews IE<--that god awful browser does it but sadly MoZy does not :(, am i doing something wrong???? or hasn;t this feature been added? thx in adv.





Wknplaya
-Wknplaya™

XF

User avatar
 
Posts: 2059
Joined: December 5th, 2002, 11:10 am
Location: Italy

Post Posted October 27th, 2003, 4:55 pm

Do you mean ctrl+c <-> ctrl+v? Right click -> Copy? Build? OS?
..::XF::..

wknplaya

User avatar
 
Posts: 7
Joined: October 27th, 2003, 4:26 pm

Post Posted October 27th, 2003, 4:58 pm

i mean www.packetnews.com when u click a link it adds info to the clipboard so that when u press ctrl+v it will paste it......this doesn;t work in mozyF for some reason :(.



wknplaya™
-Wknplaya™

wknplaya

User avatar
 
Posts: 7
Joined: October 27th, 2003, 4:26 pm

Post Posted October 27th, 2003, 5:08 pm

Also www.di.fm when i click oon a music link mozilla/mozilla f does not open the player extension[winamp or windows mediaplayer]."
and why does mozilla have a built in mirc? why can;t it just load the regular mirc install??[filed under pointless feature]. k thx.


[edit][ok squash the winamp bit i found a way around it ...but still this feature would be helpfull for audio links on the net that load a specific player][/edit]
Last edited by wknplaya on October 27th, 2003, 5:11 pm, edited 1 time in total.
-Wknplaya™

old momokatte
 
Posts: 0
Joined: December 31st, 1969, 5:00 pm

Post Posted October 27th, 2003, 5:11 pm

wknplaya wrote:i mean www.packetnews.com when u click a link it adds info to the clipboard so that when u press ctrl+v it will paste it......this doesn;t work in mozyF for some reason :(.


It's because Mozilla doesn't support the window.clipboardData object or the window.clipboardData.setData() method. Those are proprietary to MS Internet Explorer. There is also a method that works in Mozilla, but it requires a bit more code and a security privileges prompt.

wknplaya

User avatar
 
Posts: 7
Joined: October 27th, 2003, 4:26 pm

Post Posted October 27th, 2003, 5:13 pm

momokatte wrote:
wknplaya wrote:i mean www.packetnews.com when u click a link it adds info to the clipboard so that when u press ctrl+v it will paste it......this doesn;t work in mozyF for some reason :(.


It's because Mozilla doesn't support the window.clipboardData object or the window.clipboardData.setData() method. Those are proprietary to MS Internet Explorer. There is also a method that works in Mozilla, but it requires a bit more code and a security privileges prompt.


so what is it?? how can i make mozilla do it?
-Wknplaya™

XF

User avatar
 
Posts: 2059
Joined: December 5th, 2002, 11:10 am
Location: Italy

Post Posted October 27th, 2003, 5:13 pm

I don't really understand what you're trying to do... Basically you should just right click and choose "Copy link location". This will copy the address to the OS's clipboard.
Ragurdaing irc:// links, you should use Mozilla or the Chatzilla extension...
..::XF::..

wknplaya

User avatar
 
Posts: 7
Joined: October 27th, 2003, 4:26 pm

Post Posted October 27th, 2003, 5:22 pm

[quote="XF"]I don't really understand what you're trying to do... Basically you should just right click and choose "Copy link location". This will copy the address to the OS's clipboard.
Ragurdaing irc:// links, you should use Mozilla or the Chatzilla extension..
I don;t want the irc:// link it works fine and opens mirc if u were to use packetnews and mouse over a packet u will notice a mouse over that says /msg yada yada yada this is supposed to be sent to clipboard when u click it. but it is not :(.


[edit] ah squash that as well lol i figured how to get the /msg :).[/edit] link properties :)
-Wknplaya™

wknplaya

User avatar
 
Posts: 7
Joined: October 27th, 2003, 4:26 pm

Post Posted October 27th, 2003, 7:25 pm

Um now the Back button vanished i have tried different skins reloading defaults and nothing any ideas?
-Wknplaya™

XF

User avatar
 
Posts: 2059
Joined: December 5th, 2002, 11:10 am
Location: Italy

Post Posted October 28th, 2003, 1:58 pm

Did you try the themes listed in this thread?
..::XF::..

Deelight
 
Posts: 7
Joined: November 23rd, 2004, 10:48 am

Post Posted November 25th, 2004, 10:18 am

There is another way to copy to the clipBoard. With the following method you are not dependant on what browser the user has, BUT your user does need the flashplayer 7 plugin or higher.........

Here's how it goes:

In a flashmovie make a button with the following action:

on (release) {
System.setClipboard(_root.copy_var);
}

There are two ways you can populate the "copy_var" variable inside flash:

1) Using swLiveConnect (not supported by all browsers) --> window.document.mymovie.SetVariable("copy_var","whatever");

2) Or by appending you text to the movie parameter via GET (works in all browsers) --> <param name="movie" VALUE="mymovie.swf?copy_var=whatever">

There is a restriction that you can only copy text to the clipBoard though, and no other data formats Smile

Give it a go and let me know if you find this fix usefull.

Guest
Guest
 

Post Posted December 7th, 2004, 5:31 am

koDiacc PostPosted:

Type "about:config" in the URL-bar

then modify the tag:
signed.applets.codebase_principal_support

from false to true.

now it works

Return to Firefox Support


Who is online

Users browsing this forum: Google Adsense [Bot] and 24 guests