Last active
December 9, 2015 12:00
-
-
Save 5l/c56ff5b319057117499c to your computer and use it in GitHub Desktop.
Change night mode in "gakkougurashi.com"
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
// Chrome console | |
$("body").removeClass('morning').addClass('night');url="core_sys/images/main/top/main_img_ni.jpg";a=new Image();a.onload=function(){$("#main_img").children("img").attr({'src':url});};a.src=url; | |
// URL | |
javascript:(function(){$("body").removeClass('morning').addClass('night');url="core_sys/images/main/top/main_img_ni.jpg";a=new Image();a.onload=function(){$("#main_img").children("img").attr({'src':url});};a.src=url;})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment