Facebook monitors your alert() usage
Thursday, July 16, 2009 1:31:28 PM
facebook, quirks
If you use a bookmarklet on Facebook and it calls window.alert(), it doesn't quite do what you expect. They've re-defined the entire alert() method - it will pop up a box, but it will also behind the scenes send what you tried to pop up to the server!?! Look at Facebook's alert code (shown in an appropriate setting, of course):
Since I routinely use alert() for debugging, should I be paranoid now?
I really wonder what this feature is intended for and whether they actually harvest this data and use it for anything.
David Bloomdbloom # Thursday, July 16, 2009 2:37:41 PM
MyOpera team, please fix this!fearphage # Thursday, July 16, 2009 2:52:51 PM
Originally posted by hallvors:
You could use dragonfly, no? It has a command-line like firefbug. Any reason you don't use that?Charles SchlossChas4 # Thursday, July 16, 2009 3:32:43 PM
Anonymous # Thursday, July 16, 2009 3:45:30 PM
Rafald.i.z. # Thursday, July 16, 2009 3:53:43 PM
Originally posted by Chas4:
Execute native alert.
Anonymous # Thursday, July 16, 2009 3:56:25 PM
Anonymous # Thursday, July 16, 2009 4:21:51 PM
Anonymous # Thursday, July 16, 2009 4:50:18 PM
Hallvord R. M. Steenhallvors # Thursday, July 16, 2009 5:14:24 PM
Originally posted by fearphage:
Well, I did use Dragonfly until the weird thing I was debugging claimed to run out of memory and stopped connecting to it :-p
Even though Dragonfly is quite sweet by now, window.alert() boots up a bit faster, don't you think? For some small debug tasks it's still a good tool
Anonymous # Thursday, July 16, 2009 6:11:36 PM
Anonymous # Thursday, July 16, 2009 6:12:48 PM
Anonymous # Thursday, July 16, 2009 6:39:10 PM
Anonymous # Thursday, July 16, 2009 7:24:08 PM
Hallvord R. M. Steenhallvors # Thursday, July 16, 2009 8:43:01 PM
Originally posted by anonymous:
Change your browser.. or sound settings
As always: choose the right tool for the job. Dragonfly or Firebug or window.alert().
Anonymous # Thursday, July 16, 2009 10:36:14 PM
Anonymous # Friday, July 17, 2009 2:56:59 AM
Anonymous # Friday, July 17, 2009 3:27:43 AM
Hallvord R. M. Steenhallvors # Friday, July 17, 2009 10:54:15 AM
Sigbjorn Finnesigbjornfinne # Monday, July 20, 2009 4:59:59 AM
Perhaps this is a last-line-of-defense for the alert() usages that FBJS doesn't manage to rewrite/elide from script sources? FB platform devs will hopefully shed some (real) light on why.
Anonymous # Monday, July 20, 2009 11:46:48 AM
Anonymous # Monday, July 20, 2009 11:53:14 AM
Anonymous # Tuesday, July 21, 2009 2:01:13 PM
_Grey_ # Wednesday, August 4, 2010 1:34:26 AM
I'm thinking SQL injection, or something similar must've occured here. Since the "new post" I was informed about has been removed, maybe you're already aware of the situation.
Charles SchlossChas4 # Wednesday, August 4, 2010 7:08:42 AM
Originally posted by _Grey_:
hmm this page is loading fine here in Opera 10.60, emptying the cache might help a bit