Adam wrote on 05 nov 2007 in comp.lang.javascript:
Evertjan,
my client is doing a legal dance with the FDA in the US, where due to
'unsubstantiated' medical claims being made about herbal or natural
ingredients, his lawyer advised him that he should open a seperate
window, with no links back to his site, and it also must obscure his
parent page, in order to convey the medical or health effects of his
product. i'm not interested in the legal dance, i'm just trying to
technically fulfill his request. the cross-browser thing is not that
important, just simply a popup that will open to obscure the parent.
i didn't really think this was such a huge deal. i could waste hours
not being a JS scripter; if someone can do it for ten bucks, i'm game.
Don't let me laugh, Adam.
Doing the impossible for 10 lousy dollars is impossible, you could
deduce, not only in principle, look for "impossible" in a dictionary, but
also because the deal would involve 10's of thousands of such currency to
that lawyer.
the cross-browser thing is not that important, just simply a popup
that will open to obscure the parent.
So de lawyer would be content, if the thing works on IE5,
not on IE5.5, IE6, IE7, FF2, IEmac, Safari, IE7+IE7pro,
Conqueror, text browsers, mobile browsers, google cache, etc?
Doing the impossible is(!) a "Huge Deal", as it would involve Higher
Powers than simple Javascript. It could even involve the DOM.
just simply a popup that will open to obscure the parent.
The word "simply" says it all, since when is The Impossible simple?
open a seperate window, with no links back to his site,
Wouldn't that window be on his site?
And, if it were on a seperate domain, "his other site",
wouldn't it have a document.referrer pointing to "his site"?
Wouldn't "his other site" not have a whois poining to his company,
complete with address and phone numbers?
His lawyer must be mad, as what he asks will never convince a court.
i'm not interested in the legal dance
You should be.
Obscuring a window does not substantiate 'unsubstantiated' medical
claims. Not even if it were cross-browser proof. A simple mouse click
would undo the obscurement on many operating systems anyway.
His lawyer must be mad, as what he asks will never convince a court.
You could become an accomplice to a fraudulent act.
A good thing for you that it is impossible.
Better go and earn some money elsewhere.