Skip to content

Instantly share code, notes, and snippets.

@puyo-sh
Created April 9, 2015 14:18
Show Gist options
  • Save puyo-sh/1d16c2a576702ae3d638 to your computer and use it in GitHub Desktop.
Save puyo-sh/1d16c2a576702ae3d638 to your computer and use it in GitHub Desktop.
ブラウザ三国志 アクションパネル位置調整
// ==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