Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/violentmonkey/violentmonkey
/ fetchCode
Function
fetchCode
src/injected/index.js:22–22 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
20
const
isFF68 =
'cookie'
in Document[PROTO];
21
const
url = location.href;
22
const
fetchCode =
async
() => (
await
fetch(url, { mode:
'same-origin'
}))::getText();
23
let
code =
await
fetchCode();
24
let
busy;
25
let
oldCode;
Callers
1
index.js
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected