Skip to content

Instantly share code, notes, and snippets.

@tatzyr
Created June 30, 2019 02:10
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 tatzyr/7a35e441aae97a355bca440cf629c1e6 to your computer and use it in GitHub Desktop.
Save tatzyr/7a35e441aae97a355bca440cf629c1e6 to your computer and use it in GitHub Desktop.
// ==UserScript==
// @name Auto Accept △ Complex
// @namespace https://github.com/tatzyr/
// @version 0.1.0
// @description Auto Accept △ Complex
// @include https://www.sankakucomplex.com/mature-content-disclaimer/*
// @match https://www.sankakucomplex.com/mature-content-disclaimer/*
// @run-at document-end
// @copyright 2018, Tatzyr
// ==/UserScript==
(function() {
function clickYes(doc) {
const link = doc.querySelector('#primary > div > div.main-box-inside > p > a:nth-child(2)');
link.click();
}
clickYes(document);
}());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment