您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
allows to bypass missing certificate problem by changing WSS to WS. need to enable Mixed content in browser settings
当前为
// ==UserScript== // @name Enter semi dead surviv.io by using HTTP. Needs browser settings adjusted (see info). // @namespace http://tampermonkey.net/ // @version 0.1 // @description allows to bypass missing certificate problem by changing WSS to WS. need to enable Mixed content in browser settings // @author garlic // @match https://surviv.io/ // @icon https://www.google.com/s2/favicons?sz=64&domain=surviv.io // @grant none // @license MIT // @run-at document-start // ==/UserScript== (function() { 'use strict'; { window.WebSocket=class WebSocket extends window.WebSocket { constructor(e) { var url = new URL(e); url.port=''; url.protocol='ws'; super(url.toString()); this.onerror = function(z) { console.warn(z); /* maybe it's due to Mixed content ban, should explain to user */ if(!e.includes("team")) console.prompt("This error might be because need to enable security settings (Enter semi dead surviv.io by using HTTP userscript Tampermonkey)"); } } } } })();