Skip to content

Instantly share code, notes, and snippets.

@masaakif
Created March 22, 2012 04:44
Show Gist options
  • Select an option

  • Save masaakif/2156095 to your computer and use it in GitHub Desktop.

Select an option

Save masaakif/2156095 to your computer and use it in GitHub Desktop.
Suginami Ward library tweaks
// ==UserScript==
// @name Suginami Ward Tweaks
// @namespace http://gist.github.com/2156095
// @include https://www.library.city.suginami.tokyo.jp/TOSHOW/asp/WwYoySettei.aspx*
// ==/UserScript==
tweaks();
function tweaks() {
var comboLib = document.evaluate("//select[@id='cmbUkeKan']", document, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue;
comboLib.selectedIndex = 5; // 宮前
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment