Andy E

United Kingdom

whattheheadsaid.com

Age: 31

I'm mainly a JavaScript coder, with some experience in other languages.

If I helped you a lot, dontations are welcome via GitTip, but just a thanks, an up vote or the green check is enough :-)

1d
awarded Popular Question
Nov
21
comment Is there a way to detect if a browser window is not currently active?
@JohnBob: the code is wrapped in an IIFE, and it's intended to be a starting point for your own implementation. That means you can either put your code in the onchange function, you can leave it as it is (if you want to keep the class change on the body), or you can call your own function at that point.
Nov
20
awarded Necromancer
Nov
18
awarded Guru
Nov
13
comment What's the purpose of tinyhippos-injected script?
What's funny about this is I just received an email from a colleague and the subject/summary had this script in it. It looks like the extension is forcing its script injection into whatever iframe her webmail client is using to compose emails.
Nov
12
awarded Great Answer
Nov
10
comment What does reputation represent?
Another note on the participation thing; I used to participate and have a lot of rep, but I barely get any time to these days and I still average ~70 rep per day.
Nov
5
comment Is there a way to detect if a browser window is not currently active?
@user149: sadly there isn't. I consider this to be a bug in the implementations though, so it might be a good idea to vote on them on the respective trackers (the links are in these comments).
Nov
2
awarded Good Answer
Oct
14
revised Can beforeunload/unload be used to send XmlHttpRequests reliably
edited title
Oct
14
revised Can beforeunload/unload be used to send XmlHttpRequests reliably
New specced API requires a different answer
Oct
14
answered "c.defaultView.getComputedStyle() is null" issue in Firefox
Oct
13
comment What is the best JavaScript image processing library?
@Loupax: yes, it's been down for at least this past week. I've added a link to the GitHub page so that people can at least find the source code from this answer.
Oct
13
revised What is the best JavaScript image processing library?
added 103 characters in body
Oct
7
awarded firefox
Oct
6
awarded Notable Question
Oct
6
comment What is the Command Line Equivalent of "Safely Remove Drive"?
OK, I'm not down voting because I don't have enough rep X-D. But I'm certainly not up voting :-P.
Oct
6
comment What is the Command Line Equivalent of "Safely Remove Drive"?
@NateEldredge: "For a flash drive, this is reasonable..." – actually, it's not and I'm down voting for this reason: last year I had to do an app qa deployment and naively used a quick command along the lines of cp /path/to /drive && umount drive. This rendered 2 flash drives (temporarily) unwritable until I realised it was the command that caused it. Running "Scan & repair" on a Windows machine fixed the drives. DaboRoss' answer below is much safer.
Oct
6
revised Check for when a user has selected to print using javascript
deleted 2 characters in body
Oct
6
awarded Enlightened
1 2 3 4 5