Last active
August 29, 2015 14:14
-
-
Save steadystatic/799f5ba2e7b5ecaa0628 to your computer and use it in GitHub Desktop.
Bookmarklet for m.uber.com, see here now: https://github.com/steadystatic/uber-alert-chrome
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| javascript:uberCheck=setInterval(function(){if (document.getElementById('set-pickup-btn').className.indexOf("unavailable")===-1){var audio=document.createElement("audio"); audio.src="//bit.ly/1CqZfVJ"; audio.addEventListener("ended", function(){document.removeChild(this);}, false); audio.play(); cleanup(uberCheck);}}, 1000); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| uberCheck = setInterval(function() { | |
| if (document.getElementById('set-pickup-btn').className.indexOf("unavailable") === -1) { | |
| var audio = document.createElement("audio"); | |
| audio.src = "//bit.ly/1CqZfVJ"; | |
| audio.addEventListener("ended", function() { | |
| document.removeChild(this); | |
| }, false); | |
| audio.play(); | |
| cleanup(uberCheck); | |
| } | |
| }, 1000); |
Author
steadystatic
commented
Jan 27, 2015
- Copy raw code of file, 'available-uber-alert-min'
- Open up m.uber.com and add it as a bookmark, drag bookmark to bookmarks toolbar
- Right click and Edit bookmark you made, replace the URL with text you copied from 'available-uber-alert-min'
- Drag bookmark to bookmarks bar if its not there, click it to beep at you when you're on m.uber.com. Leave the tab open and when an Uber is available you'll hear a car horn honk.
Hey Mike..... This is brad.. My kids call me Furd... for Bradfurd... guess its my new user name
Author
Hey Brad – let me know what an Uber driver thinks of this bookmarklet! Thanks for checking it out.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment