You are loading a script into the unsafeWindow, which is outside the
sandbox. This is the same as if you were loading it directly in the browser -
it doesn't have access to the sandboxed Greasemonkey functions.
On 9/6/2012 10:31 AM, JE wrote:
Hi,
I'm not shure that I understand you right.
The link to the script is here:
http://scripts.die-staemme.de/gm-scripts/DSsendReportsToOBST.js
<http://scripts.die-staemme.de/gm-scripts/DSsendReportsToOBST.js>
It is called by this local script:
// ==UserScript==
// @name DSsendReportsToOBST
// @author Heinzel, Torridity
// @description Hiermit kann man auf Tastendruck Berichte zu
einem OBST-Server und DS Workbench schicken
// @namespace die-staemme.de
// @include http://*.die-staemme.de/game.php*screen=report*view=*
// ==/UserScript==
win = typeof unsafeWindow != 'undefined' ? unsafeWindow : window;
win.$.ajaxSetup({ cache: true });
win.$.getScript('http://scripts.die-staemme.de/gm-scripts/DSsendReportsToOBST.js');
--
You received this message because you are subscribed to the Google Groups
"greasemonkey-users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/greasemonkey-users/-/mLsWy-2j1lYJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/greasemonkey-users?hl=en.
--
Jay Rossiter http://www.cothlamadh.net/
503.896.6187 [email protected]
--
You received this message because you are subscribed to the Google Groups
"greasemonkey-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/greasemonkey-users?hl=en.