Last active
March 1, 2019 03:25
-
-
Save pacochi/e1b0b440109471571add59f4f5444b82 to your computer and use it in GitHub Desktop.
thiscatdoesnotexist.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
// ==UserScript== | |
// @name thiscatdoesnotexist reload assist | |
// @namespace hen.acho.co | |
// @version 0.190301 | |
// @description click cat's picture and reload | |
// @author pacochi | |
// @match https://thiscatdoesnotexist.com | |
// @downloadURL https://gist.github.com/pacochi/e1b0b440109471571add59f4f5444b82/raw/thiscatdoesnotexist_reload.user.js | |
// @grant none | |
// ==/UserScript== | |
// ものぐさして location.reload 直つっこみしたら TypeError: 'reload' called on an object that does not implement interface Location. て言われた | |
document.body.firstChild.addEventListener('click', () => location.reload()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment