Created
April 9, 2015 14:18
-
-
Save puyo-sh/1d16c2a576702ae3d638 to your computer and use it in GitHub Desktop.
ブラウザ三国志 アクションパネル位置調整
This file contains 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 3gokushi-ActionPanelAdjust | |
// @namespace https://github.com/puyo-sh/bro3 | |
// @description ブラウザ三国志 アクションパネル位置調整 | |
// @include http://*.3gokushi.jp/* | |
// @version 1.0 | |
// @require http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js | |
// ==/UserScript== | |
// 2015.04.09 ver1.0 とりあえず作成 | |
// BeyondのStyle調整と干渉する為無理やり調整 | |
(function ($){ | |
// アクションパネル位置調整 | |
actionAdjust = function(){ | |
j$("div#action").css({ | |
'cssText': 'right: 0 !important; left:auto !important;' | |
}); | |
} | |
if(location.pathname.indexOf('/village.php') != -1){ | |
// Run | |
actionAdjust(); | |
} | |
})(jQuery); | |
jQuery.noConflict(); | |
j$ = jQuery; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment