Skip to content

Instantly share code, notes, and snippets.

@acevif
Last active July 1, 2021 15:39
Show Gist options
  • Save acevif/307e920167721799371c012345890248 to your computer and use it in GitHub Desktop.
Save acevif/307e920167721799371c012345890248 to your computer and use it in GitHub Desktop.
jobcan強制遷移.user.js
// ==UserScript==
// @name jobcan強制遷移
// @namespace http://tampermonkey.net/
// @version 0.4
// @description jobcan強制遷移
// @author acevif@gmail.com
// @match https://ssl.jobcan.jp/employee/man-hour-manage
// @icon https://www.google.com/s2/favicons?domain=jobcan.jp
// @grant none
// ==/UserScript==
(function() {
'use strict';
var ele = $("*[name=month]");
//alert(ele.val());
if (ele.val() != 6) {
ele.val('6').change();
ele.css( "background", "red" );
}
ele.css( "background", "pink" );
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment