Where can I find a Big Dumb Arrow Javascript library?
March 7, 2018 1:59 PM   Subscribe

I have an extremely basic website with a link to a file. When the user clicks on that link, I want the download to start and for a big arrow to appear pointing at where the download is happening (bottom left toolbar for Chrome, the download arrow at the top right for Firefox, etc.). Like this site does. Surely someone has written a javascript library that detects the browser and points an arrow at the appropriate location, right? Seems like a really common use case, but I'm having trouble tracking such a thing down. Where can I find one?
posted by JDHarper to Computers & Internet (5 answers total) 1 user marked this as a favorite
 
Does that one you linked to even work reliably correctly? If you already have other stuff downloading, won't it point to the wrong file?
posted by aubilenon at 3:52 PM on March 7, 2018


There are so many scenarios where this wouldn't point to the right place even with correct browser detection and 100% accurate information about where downloads appear by default in every (currently) existing version that it seems foolish to even attempt this as it will be more confusing than not trying at all.
posted by turkeyphant at 4:14 PM on March 7, 2018 [1 favorite]


This seems to do what you're after:

http://pbojinov.github.io/arrow-js/
posted by coleboptera at 4:16 PM on March 7, 2018 [3 favorites]


As far as Firefox goes, that download arrow/indicator is repositionable, so it may not be in the default position. Mine is dead center, just after the url field. The upper right is taken up by icons for AdBlock, Ghostery, etc. Your pointer would be aimed at the wrong spot for me.
posted by Thorzdad at 7:22 PM on March 7, 2018


That script will do the trick, thanks!

It doesn't work on the Mac for Safari, but it does work for Chrome, Firefox, and IE on Windows and Chrome on the Mac.

Like Thorzdad says, it is slightly off position in my Firefox, but it does draw the eye into the general right direction. So I'm hoping that'll be enough to help the people who say things like "I don't see any download arrow anywhere!"
posted by JDHarper at 11:01 AM on March 8, 2018


« Older Should I pay cash for a house?   |   Do I need to delete my ex & his family/friends... Newer »
This thread is closed to new comments.