Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
L
lcc-shape
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
wangmingming
lcc-shape
Commits
2c624850
Commit
2c624850
authored
Sep 12, 2023
by
wang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
适配不同版本 chrome
parent
61f1a3dd
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
16 deletions
+18
-16
src_run.js
src_run.js
+16
-16
sss.js
sss.js
+2
-0
No files found.
src_run.js
View file @
2c624850
...
@@ -107,7 +107,7 @@ ENV = {"windowparams":{"innerheight":853,"innerwidth":1920,"outerheight":970,"ou
...
@@ -107,7 +107,7 @@ ENV = {"windowparams":{"innerheight":853,"innerwidth":1920,"outerheight":970,"ou
const crypto = require('crypto');
//
const crypto = require('crypto');
const {proxy} = require("./jsdom/lib/jsdom/living/generated/utils");
const {proxy} = require("./jsdom/lib/jsdom/living/generated/utils");
const {randomNumberRange} = require("ghost-cursor/lib/math");
const {randomNumberRange} = require("ghost-cursor/lib/math");
module = undefined;
module = undefined;
...
@@ -972,21 +972,21 @@ WebKitMutationObserver = v_saf(function WebKitMutationObserver() {
...
@@ -972,21 +972,21 @@ WebKitMutationObserver = v_saf(function WebKitMutationObserver() {
}
}
;
;
})
})
//
crypto = v_saf(function Crypto(){if (!v_new_toggle){ throw TypeError("Illegal constructor") };
crypto = v_saf(function Crypto(){if (!v_new_toggle){ throw TypeError("Illegal constructor") };
//
this.getRandomValues = function(){
this.getRandomValues = function(){
//
v_console_log(' [*] Crypto -> getRandomValues[func]')
v_console_log(' [*] Crypto -> getRandomValues[func]')
// var e=arguments[0]; return e.map(function(x, i){return e[i]=v_random()*
1073741824});}
var e=arguments[0]; return e.map(function(x, i){return e[i]=
1073741824});}
//
this.randomUUID = function(){
this.randomUUID = function(){
//
v_console_log(' [*] Crypto -> randomUUID[func]')
v_console_log(' [*] Crypto -> randomUUID[func]')
//
function get2(){return (v_random()*255^0).toString(16).padStart(2,'0')}
function get2(){return (v_random()*255^0).toString(16).padStart(2,'0')}
//
function rpt(func,num){var r=[];for(var i=0;i<num;i++){r.push(func())};return r.join('')}
function rpt(func,num){var r=[];for(var i=0;i<num;i++){r.push(func())};return r.join('')}
//
return [rpt(get2,4),rpt(get2,2),rpt(get2,2),rpt(get2,2),rpt(get2,6)].join('-')}})
return [rpt(get2,4),rpt(get2,2),rpt(get2,2),rpt(get2,2),rpt(get2,6)].join('-')}})
//
//
Object.defineProperties(crypto,{
Object.defineProperties(crypto,{
//
subtle: {
subtle: {
//
value: v_saf(function SubtleCrypto(){})
value: v_saf(function SubtleCrypto(){})
//
}
}
//
})
})
Image = v_saf(function Image() {
Image = v_saf(function Image() {
;
;
return v_new(HTMLImageElement)
return v_new(HTMLImageElement)
sss.js
View file @
2c624850
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment