The post() function contains the GM_xmlhttpRequest() function, and (I
assume) GM_xmlhttpRequest() returns the target page, but it doesn't
store or return the data returned by GM_xmlhttpRequest().
You have this:
function post(url, data, cb) {
GM_xmlhttpRequest({...});
}
I think you want this:
function post(url, data, cb) {
return GM_xmlhttpRequest({...});
}
Or this:
function post(url, data, cb) {
var page = GM_xmlhttpRequest({...});
return page
}
On 17/01/2010 18:28, Kopernik 1A wrote:
But the frame is generated and placed in site properly.
The problem is the post() function does not work I think...
On 17 Sty, 18:08, vBm<[email protected]> wrote:
On Jan 17, 5:26 pm, Kopernik 1A<[email protected]> wrote:
var iframe = document.createElement('iframe');
iframe.src = 'about:blank';
I believe that you have encountered limitation presented in GM 0.8.2
default behavior for about: uri is that it is disabled for security
reasons.
read about it at [1]
[1]http://wiki.greasespot.net/Scriptable_content
--
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.