Auto-continue to image.user.js 679 B

12345678910111213141516171819202122232425
  1. // ==UserScript==
  2. // @name Auto-continue to image
  3. // @namespace http://tampermonkey.net/
  4. // @version 2025-06-10
  5. // @description Automatically click the "continue to image" button on certain sites.
  6. // @author You
  7. // @match https://imx.to/i/*
  8. // @icon https://www.google.com/s2/favicons?sz=64&domain=imx.to
  9. // @grant none
  10. // ==/UserScript==
  11. (function() {
  12. 'use strict';
  13. document.setTimeout(() => {
  14. let btn = document.getElementById('continuebutton');
  15. if (!btn) {
  16. btn = document.getElementsByName('imgContinue')[0];
  17. }
  18. if (btn) {
  19. btn.click();
  20. }
  21. }, 200);
  22. })();