Skip to content

Instantly share code, notes, and snippets.

@masaakif
Last active August 29, 2015 14:04
Show Gist options
  • Save masaakif/d88dd39a6bd9f76517c0 to your computer and use it in GitHub Desktop.
Save masaakif/d88dd39a6bd9f76517c0 to your computer and use it in GitHub Desktop.
Suginami_Library_New_Tweaks.user.js
// ==UserScript==
// @id d88dd39a6bd9f76517c0
// @name Suginami_Library_New_Tweaks.user.js
// @version 1.0
// @namespace
// @author
// @description
// @include https://www.library.city.suginami.tokyo.jp/licsxp-opac/WOpacTifTilDetailYoyCartDispAction.do
// @run-at document-end
// ==/UserScript==
//
var OK_CODES_NAME = "okCodes";
var newHidden = document.createElement("input");
newHidden.type = "hidden";
newHidden.name = OK_CODES_NAME;
newHidden.value = "OPACYOY005";
document.prevRequestForm.appendChild(newHidden);
document.prevRequestForm.action = "/licsxp-opan/WOpacYoyCartExecAction.do";
document.prevRequestForm.submit();
@papai01
Copy link

papai01 commented Jul 18, 2014

hi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment