diff --git a/firefox/userscripts/alison_auto_starter.user.js b/firefox/userscripts/alison_auto_starter.user.js index 30edca9..f43e1af 100644 --- a/firefox/userscripts/alison_auto_starter.user.js +++ b/firefox/userscripts/alison_auto_starter.user.js @@ -1,10 +1,11 @@ // ==UserScript== -// @name alison.com auto starter +// @name The alison.com auto starter // @namespace http://tampermonkey.net/ // @version 1.0 // @description Auto click "Start topic" on alison.com -// @match https://alison.com/topic/learn/* // @author lainiwa +// @match https://alison.com/topic/learn/* +// @icon https://www.google.com/s2/favicons?sz=64&domain=alison.com // @grant none // ==/UserScript== diff --git a/firefox/userscripts/atomatic_chatgpt_retry.user.js b/firefox/userscripts/atomatic_chatgpt_retry.user.js index 30be2a9..35cb425 100644 --- a/firefox/userscripts/atomatic_chatgpt_retry.user.js +++ b/firefox/userscripts/atomatic_chatgpt_retry.user.js @@ -1,8 +1,8 @@ // ==UserScript== // @name Atomatic ChatGPT Retry // @namespace http://tampermonkey.net/ -// @version 0.1 -// @description try to take over the world! +// @version 1.0 +// @description Automatic retry for ChatGPT // @author lainiwa // @match https://chat.openai.com/chat // @icon https://www.google.com/s2/favicons?sz=64&domain=openai.com diff --git a/firefox/userscripts/xvideos_skip_disclaimer.user.js b/firefox/userscripts/xvideos_skip_disclaimer.user.js new file mode 100644 index 0000000..f23081a --- /dev/null +++ b/firefox/userscripts/xvideos_skip_disclaimer.user.js @@ -0,0 +1,34 @@ +// ==UserScript== +// @name AutoClick Disclaimer Button +// @namespace http://tampermonkey.net/ +// @version 1.0 +// @description Auto click a disclaimer button +// @author lainiwa +// @match https://www.xvideos.com/* +// @icon https://www.google.com/s2/favicons?sz=64&domain=xvideos.com +// @grant none +// ==/UserScript== + +(function() { + 'use strict'; + + // Function to click the button + var clickButton = function() { + var button = document.querySelector('.disclaimer-enter-straightsShortSiteName'); + if(button){ + button.click(); + // Disconnect the observer after clicking the button + observer.disconnect(); + } + }; + + // Create an observer instance + var observer = new MutationObserver(clickButton); + + // Configuration of the observer + var config = { childList: true, subtree: true }; + + // Pass in the target node, as well as the observer options + observer.observe(document.body, config); + +})();