Live data from Hacker News

Review my weekend HTML5 project: DropMocks

dropmocks.com

21–30 of 115 posts

Re: Review my weekend HTML5 project: DropMocks

#23

didnt pass my browser sniffer, firefox 3.6 on ubuntu, but I know that supports drag and drop uploads, I wrote an image uploader the other week http://dropup.net/

That's strange - my Firefox 3.6.6 on Ubuntu works with it OK. I wonder if the browser detect script I'm using is having issues, as another poster said that Chromium was failing, where it doesn't on my machines :\

Cool domain name; wish I'd thought of something that short.

Re: Review my weekend HTML5 project: DropMocks

#28
post #26

How are you determining which browsers are compatible with it? It seems like the best way might be to use modernizr: http://www.modernizr.com/ . Or are you using more than just the html5 drag and drop API?

Looking at the code you just posted it looks like this is what you did:

// HAMLET HAMLET HAMLET

function isValidBrowser() {

  var browser = BrowserDetect.browser;
  var version = BrowserDetect.version;

  return (
    (browser == 'Chrome' && version >= 6) ||
    (browser == 'Firefox' && version >= 3.6)
  );
}

Re: Review my weekend HTML5 project: DropMocks

#30
post #9
post #8

Fucking brilliant! I'd love to hack on this... are you using app engine? Is it open source? In particular, you know what would make this rock*10^6? facebook/dropbox integration.

I would very much like to have this auto-pull from Dropbox folders; it is something for another weekend. I just posted the source: http://github.com/glenmurphy/dropmocks

Bah, instead of running my own app instance, do you mind if I make a Chrome extension on top of it, and you can push the code you like back into the running version?

Meta-question: if a Chrome extension uses significant server-side resources, should one ask the site host first? (legally, I think the answer is "no")

Post reply on HN