Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #36318
| From | "R.Wieser" <address@not.available> |
|---|---|
| Newsgroups | comp.lang.javascript |
| Subject | GreaseMonkey - How to call another userscript. |
| Date | 2019-04-06 10:27 +0200 |
| Organization | Aioe.org NNTP Server |
| Message-ID | <q89nuc$1k4n$1@gioia.aioe.org> (permalink) |
Hello all, I would like to be able to run another userscript from within the first one. The problem: The second userscript cannot be "@include" -ed, as it depends on what the first script finds. Case in question: Googles cached pages. Depending on where the cached page came from I would like to call another (already written for that page) userscript. Remark: I've seen an 'unsafeWindow.xxx' solution, but do not really want to expose the userscript to the webpage. Regards, Rudy Wieser
Back to comp.lang.javascript | Previous | Next — Next in thread | Find similar | Unroll thread
GreaseMonkey - How to call another userscript. "R.Wieser" <address@not.available> - 2019-04-06 10:27 +0200 Re: GreaseMonkey - How to call another userscript. JJ <jj4public@vfemail.net> - 2019-04-07 02:20 +0700 Re: GreaseMonkey - How to call another userscript. Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-04-07 01:51 -0700
csiph-web