Userscript as library

Script exchange and development requests
Post Reply
jianjiak
Posts: 1
Joined: 04.05.17 10:02:20

Userscript as library

Post by jianjiak » 04.05.17 12:46:54

Is it possible to use the "userscript1" as a library for another "userscript2" in Tampermonkey? Without using the "@resource file://", both scripts will be installed from GitHub.

For example:
@name userscript1
...
function X(){
...
}

@name userscript2
...
var x = userscript1 -> function X()

Post Reply

Return to “Userscripts”

Who is online

Users browsing this forum: No registered users and 1 guest