Last active
December 19, 2015 00:19
-
-
Save philopon/5868182 to your computer and use it in GitHub Desktop.
click to playなどポップアップ回避
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
:javascript <<EOM | |
var btn = document.getElementById('notification-popup-box'); | |
document.getElementById('liberator-statusline').appendChild(btn); | |
EOM | |
:style chrome://* <<EOM | |
#urlbar { | |
width: 0px !important; | |
height: 0px !important; | |
overflow: hidden !important; | |
visibility: hidden !important; | |
} | |
EOM |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
urlbarをどこか見えるところに追加してから、.vimperatorrcに追記。
ポップアップを自動で出すか否かを#urlbarのdisplayで確認してるっぽい(display: noneでは表示されてしまう)のでつらい。