Created
September 16, 2018 03:46
-
-
Save TakamiChie/09bd83d9ca46ace7d237a1bc6059d919 to your computer and use it in GitHub Desktop.
Googleカレンダーにて、特定の予定を「予定あり」として表示するワンライナー(開発者ツールで使う)
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
// Googleカレンダーのスクリーンショットをとって紹介するとき、一部のイベントを伏せたいとかありませんか? | |
// そういうときのためのスクリプトです。Googleカレンダーの月ビューを表示中、開発者ツールを表示してコンソールに打ち込むコマンドです。 | |
// 下の/*隠したい予定のタイトルをここに入れる*/を隠したいイベントの名前に置き換えます。 | |
document.querySelectorAll("div[data-eventchip]").forEach((n) => {d = n.querySelector("div > span > span:last-child"); if(d.textContent == /*隠したい予定のタイトルをここに入れる*/) d.textContent = "予定あり"; }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment