Skip to content

Instantly share code, notes, and snippets.

@philopon
Last active December 19, 2015 00:19
Show Gist options
  • Save philopon/5868182 to your computer and use it in GitHub Desktop.
Save philopon/5868182 to your computer and use it in GitHub Desktop.
click to playなどポップアップ回避
: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
@philopon
Copy link
Author

urlbarをどこか見えるところに追加してから、.vimperatorrcに追記。
ポップアップを自動で出すか否かを#urlbarのdisplayで確認してるっぽい(display: noneでは表示されてしまう)のでつらい。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment