Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #36318

GreaseMonkey - How to call another userscript.

Path csiph.com!aioe.org!.POSTED.wIgm+2MIUUYkuZKIR0Uhug.user.gioia.aioe.org!not-for-mail
From "R.Wieser" <address@not.available>
Newsgroups comp.lang.javascript
Subject GreaseMonkey - How to call another userscript.
Date Sat, 6 Apr 2019 10:27:41 +0200
Organization Aioe.org NNTP Server
Lines 17
Message-ID <q89nuc$1k4n$1@gioia.aioe.org> (permalink)
NNTP-Posting-Host wIgm+2MIUUYkuZKIR0Uhug.user.gioia.aioe.org
X-Complaints-To abuse@aioe.org
X-Priority 3
X-MSMail-Priority Normal
X-MimeOLE Produced By Microsoft MimeOLE V6.00.2900.5512
X-Notice Filtered by postfilter v. 0.9.2
X-Newsreader Microsoft Outlook Express 6.00.2900.5512
X-RFC2646 Format=Flowed; Original
Xref csiph.com comp.lang.javascript:36318

Show key headers only | View raw


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


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