Created
August 26, 2015 20:34
-
-
Save maimainoue/0f528fc088dd3b9d8699 to your computer and use it in GitHub Desktop.
goo mail ヘッダ部分削除2
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
// メアドの行を削除 | |
var skin_spacing_app_row = document.evaluate('//td[@id=\'skin_spacing_app_row\']' | |
, document.body, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue; | |
if( skin_spacing_app_row != null ) { | |
skin_spacing_app_row.parentNode.removeChild(skin_spacing_app_row); | |
} | |
// DwtCalendar | |
var skin_tr_tree_footer = document.evaluate('//tr[@id=\'skin_tr_tree_footer\']' | |
, document.body, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue; | |
if( skin_tr_tree_footer != null ) { | |
skin_tr_tree_footer.parentNode.removeChild(skin_tr_tree_footer); | |
} | |
var DwtCalendar = document.evaluate('/div[@id=\'DWT38\']' | |
, document.body, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue; | |
if( DwtCalendar != null ) { | |
DwtCalendar.parentNode.removeChild(DwtCalendar); | |
} | |
// skin_tr_search | |
var skin_tr_search = document.evaluate('//tr[@id=\'skin_tr_search\']' | |
, document.body, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue; | |
if( skin_tr_search != null ) { | |
skin_tr_search.parentNode.removeChild(skin_tr_search); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment