cross domain permission denied problem



Hi folks, I'm trying to access window opener properties for some ad
code. Sometimes the launching page is in a different domain, and i need
my script to recognize this fact and move on to something else without
producing the "permission denied" error for all users to see. i've
already got if(opener){etc.} in there but that still returns as true,
even though we theoretically can't access properties of the opener
which is in another domain.

Can anybody think of any solutions that don't involve ugly active X
objects? I guess what i'm basically looking for is some way of saying
"if permission is denied on this object, don't try to access it's
properties and set to a default value instead".

Thanks

.



Relevant Pages

  • Re: convert FAT32 to NTFS problem?
    ... sDiskLetter = obiLogicalDisk.DeviceID ... >>> Your script is always launching convert.exe on the local machine. ... >>> script connects to the remote computer using WMI, and gets the drives of the ...
    (microsoft.public.scripting.vbscript)
  • Re: obshell.run hangs (2)
    ... >>>main script runs a loop that just launches each sub process at a certain ... The SUBscript is being launched ... > from the MAINscript which is in a continuous loop firing off the ... MAINscript to wait for each one to complete before launching a different ...
    (microsoft.public.scripting.wsh)
  • Re: Checking for running process
    ... > I've created a simple WSH script for the Win2000 computers in my kid's ... classroom that attempts to solve the problem of the kids launching multiple ... get impatient and click multiple times and launch the app a bunch of times. ... its own PID. ...
    (microsoft.public.scripting.wsh)
  • Re: Command Line Interface
    ... > with passwords to log into their account, ... The script was put in etc/skel so ... > was in deparation that the boss told them to come to me and ask ... > bad hdb was quickly replaced with a new one and folks watched ...
    (comp.os.linux.misc)
  • Re: Search & replace, but increment with every replace
    ... I gave it a whirl though and have not had any luck yet. ... I simplified my script to contain just this line now: ... Field one of the file is strictly integers however, ... This will save some folks many hours of work and they will be ...
    (comp.unix.shell)

Loading