Skip to content

Instantly share code, notes, and snippets.

@marron-akanishi
Last active February 11, 2024 11:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save marron-akanishi/7175018104b652fc154838d1ab8b976e to your computer and use it in GitHub Desktop.
Save marron-akanishi/7175018104b652fc154838d1ab8b976e to your computer and use it in GitHub Desktop.
TOKIMEKIカスタマイズ
html {
overscroll-behavior-x: none;
}
section.publish-group.vk-publish-group.publish-group--expanded {
left: 64px !important;
opacity: 0.8;
}
setInterval(() => {
document.querySelector("button[aria-label='投稿ウィンドウを開く']")?.click();
const continueMode = document.querySelector("label[for='continue_mode']");
if (!continueMode?.parentNode.classList.contains('checked')) {
continueMode.click();
}
}, 200);
document.addEventListener('keydown', (e) => {
if (e.ctrlKey && e.key === "Enter") {
document.querySelector('button.publish-form__submit')?.click();
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment