Greasy Fork is available in English.

Unblock GameModels3D

2020/6/28 15:39:04

اعتبارا من 28-06-2020. شاهد أحدث إصدار.

// ==UserScript==
// @name        Unblock GameModels3D
// @namespace   Violentmonkey Scripts
// @match       *://gamemodels3d.com/*
// @grant       none
// @version     1.4
// @author      WengH
// @run-at      document-idle
// @description 2020/6/28 15:39:04
// ==/UserScript==

(function() {
    if (typeof viewer !== 'undefined') {
        viewer.saveButton.onclick = function() {
            self.saveModel(document.title.split(':')[0].trim())
        }
    }
    if (typeof loginForm !== 'undefined') {
        loginForm = function(a, b){
            console.log(a, b);
            if (a === undefined || a === 'needRegister')
                return
            else if (['visual', 'armor', 'hitbox'].includes(a))
                go(a)
            else if (b !== undefined) {
                SetModule(a, b)
            }
            else {
                CONTROLLER.setCharacteristics(a)
            }
        }
    }
})();