Created
August 17, 2015 19:52
-
-
Save maimainoue/a33ec96b810d71df964b to your computer and use it in GitHub Desktop.
goo mail ヘッダ部分削除
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 goo mail ヘッダ部分削除 | |
// @namespace GOO_MAIL | |
// @include *://mail.goo.jp/* | |
// @version 1 | |
// @grant none | |
// ==/UserScript== | |
var wppb = document.evaluate('//td[@id=\'skin_spacing_top_row\']' | |
, document.body, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue; | |
if( wppb != null ) { | |
wppb.parentNode.removeChild(wppb); | |
} | |
document.evaluate('//div[@class=\'ZToolbar ZWidget\']' | |
, document.body, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).style.top = 84 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment