MCPcopy Create free account
hub / github.com/Tampermonkey/tampermonkey / HTM_generateScriptId

Function HTM_generateScriptId

src/environment.js:775–780  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

773/* ######### Helpers ############ */
774
775var HTM_generateScriptId = function(){
776 var ret = '';
777 ret += ((new Date()).getTime().toString());
778 ret += Math.floor ( Math.random ( ) * 6121983 + 1 )
779 return ret;
780};
781
782var HTM_runMyScript = function(HTM_request) {
783 var TM_storage_listeners = [];

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…