Skip to content

Instantly share code, notes, and snippets.

@wraith13
Created December 23, 2021 02:00
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 wraith13/459a7ee9ac4d4c43f1a67d5418b7c392 to your computer and use it in GitHub Desktop.
Save wraith13/459a7ee9ac4d4c43f1a67d5418b7c392 to your computer and use it in GitHub Desktop.
pixiv slide show
// Code to make pixiv's login screen a full-screen slideshow
// pixiv のログイン画面をフルスクリーンスライドショーにするコード
// How to use:
// 使い方:
// 1. Open https://accounts.pixiv.net/login with web browser
// 1. Webブラウザで https://accounts.pixiv.net/login を開く
// 2. Paste this code into the developer console and run it.
// 2. 開発者コンソールにこのコードをペーストして実行。
Array.from(document.getElementsByClassName("signup-form")).forEach(i => i.style.display = "none");
Array.from(document.getElementsByClassName("toggle-button-box")).forEach(i => i.style.display = "none");
Array.from(document.getElementsByClassName("krkr-popup-icon-wrapper")).forEach(i => i.style.display = "none");
document.getElementById("background-slideshow").requestFullscreen();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment