.<*Gartic-Viewer*>.

A Gartic script that allows you to enter a room as a viewer with a simple right-click on the desired room name in Gartic.

  1. // ==UserScript==
  2. // @name .<*Gartic-Viewer*>.
  3. // @namespace http://tampermonkey.net/
  4. // @version 1.0.2
  5. // @description A Gartic script that allows you to enter a room as a viewer with a simple right-click on the desired room name in Gartic.
  6. // @author Scripter_Plus
  7. // @match *://gartic.io/*
  8. // @grant none
  9. // @icon https://static.roocket.ir/images/avatar/2024/4/29/f2Sqmpbwyp6tvzs6kMVRVilOBr7fRO0RIYnW3Tzt.png
  10. // ==/UserScript==
  11.  
  12. (function() {
  13. 'use strict';
  14.  
  15. document.addEventListener('contextmenu', function(event) {
  16. let target = event.target.closest('a');
  17. if (target && target.href.includes("gartic.io")) {
  18. event.preventDefault();
  19. let viewerURL = target.href + "/viewer";
  20. window.open(viewerURL, '_blank');
  21. }
  22. });
  23. })();

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址