Created
October 14, 2019 02:51
-
-
Save shao1555/e83f0853dac296b9481a3059faae0e03 to your computer and use it in GitHub Desktop.
淘宝(Taobao)、天猫(Tmall)の注文画面をきれいにして印刷しやすくする
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
[".banner", "#p4p_ad", "#footer", ".J_guess-you-like", "#J_TbFooter", "#J_xiaomi_dialog", "#appBanner", "#appAldAdvert", "#appP4pAdvert", "#site-nav", "#J_MUIMallbar"].forEach(function(selector){ | |
document.querySelectorAll(selector).forEach(function(node){ | |
node.style.display = "none"; | |
}); | |
}); | |
document.querySelectorAll("html,body").forEach(function(node){ | |
node.style.backgroundColor = "#fff"; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment