Hi all
I'm trying to capture some information in a document opened by dqsd, such as the location.href or title of a web page, I always get "access denied" error. Am I doing soemthing wrong here? I really appreciate your help.
here's my test script:
<search function="test">
<name>test</name>
<category></category>
<contributor>tester</contributor>
<link>http://imdb.com/</link>
<email></email>
<description>
</description>
<name>test</name>
<category></category>
<contributor>tester</contributor>
<link>http://imdb.com/</link>
<email></email>
<description>
</description>
<script><![CDATA[
function test(q)
{
var newWindow = window.open("http://imdb.com");
var n = newWindow.document.location;
alert(n);
function test(q)
{
var newWindow = window.open("http://imdb.com");
var n = newWindow.document.location;
alert(n);
}
]]></script>
]]></script>
<copyright>
Copyright (c) 2002 David Bau
Distributed under the terms of the
GNU Public License, Version 2 (http://www.gnu.org/copyleft/gpl.txt)
</copyright>
</search>
Copyright (c) 2002 David Bau
Distributed under the terms of the
GNU Public License, Version 2 (http://www.gnu.org/copyleft/gpl.txt)
</copyright>
</search>
Do you Yahoo!?
Yahoo! Search - Find what you’re looking for faster.