-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathgemz-web.user.js
More file actions
28 lines (26 loc) · 1.01 KB
/
gemz-web.user.js
File metadata and controls
28 lines (26 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// ==UserScript==
// @name Gemz web
// @version 1.0
// @author mudachyo
// @match *://ff.notgemz.gemz.fun/*
// @icon https://ff.notgemz.gemz.fun/favicon.ico
// @run-at document-start
// @grant none
// @downloadURL https://github.com/mudachyo/Gemz/raw/main/gemz-web.user.js
// @updateURL https://github.com/mudachyo/Gemz/raw/main/gemz-web.user.js
// @homepage https://github.com/mudachyo/Gemz
// ==/UserScript==
(function() {
'use strict';
// Изменить User-Agent
var newUserAgent = "Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Mobile/15E148 Safari/604.1";
Object.defineProperty(navigator, 'userAgent', {
get: function() { return newUserAgent; }
});
Object.defineProperty(navigator, 'platform', {
get: function() { return 'iPhone'; }
});
Object.defineProperty(navigator, 'vendor', {
get: function() { return 'Apple Computer, Inc.'; }
});
})();