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
| // ==UserScript== | |
| // @name recreation.gov reservation checker | |
| // @version 0.1 | |
| // @description Checks for reservation by refreshing the page | |
| // @include /^https:\/\/www\.recreation\.gov\/camping\/campgrounds\/.*\/availability | |
| // ==/UserScript== | |
| 'use strict'; | |
| var refreshTimer = 15000 | |
| function checkForAvailability () { | |
| var available = false; |
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
| // ==UserScript== | |
| // @name Yosemite script | |
| // @version 0.1 | |
| // @include http://www.recreation.gov/campsiteSearch.do | |
| // @require http://code.jquery.com/jquery-2.1.0.min.js | |
| // ==/UserScript== | |
| function runGreaseScript() { | |
| if ($("div div:contains('No suitable availability shown')").length > 0) { |
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
| git config --global alias.commitprev "commit --amend --no-edit" |
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
| // ==UserScript== | |
| // @name _Reload and click demo | |
| // @include https://www.kickstarter.com/projects/597507018/pebble-time-awesome-smartwatch-no-compromises/pledge/new?clicked_reward=false | |
| // @require http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js | |
| // @grant GM_addStyle | |
| // ==/UserScript== | |
| /*- The @grant directive is needed to work around a major design | |
| change introduced in GM 1.0. | |
| It restores the sandbox. | |
| */ |
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: | |
| var line1 = document.getElementsByClassName('mapaddress')[0].innerText; | |
| var win = window.open('http://www.walkscore.com/score/'+line1); | |
| win.focus(); |