awhost
01-07-2005, 01:46 PM
Hello,
Through an affiliate program I am wanting to take a long URL with affiliate code/etc and put it under one of my domains. I understand I can simply create frames and put that other site in there. However:
1. Some sites mask the real HTML in View Source, how do you do this?
2. When the user clicks to order and is switched to https, the browsers "lock" icon does not appear. But if I was to make my domain always use https, then they will get the pop up boxes about non-secure content before they order. Are there any tricks for this?
3. The links within the site reveal the other site when hovering over them. Is there a way to override this in JavaScript?
Thanks,
Neofree
the_pm
01-07-2005, 02:04 PM
1. You can declare entities in your code instead of using regular characters, but this is very easily thwarted if someone really wants to see your markup. You can't hide markup, period. It just can't be done. I've seen scripts/services that concoct half-baked "security" mechanisms, but anyone who cares will get around it, and anyone who doesn't care isn't who you want to mask against anyway.
2. Don't know, but playing tricks with browser mechanisms that report on security status doesn't sound like a very good thing...
3. Reliably across browsers? No. With the exception of Internet Explorer, there's not another browser in current release that allows site authors to monkey around with important user features such as this. You can alter the status bar area in Internet Explorer pretty easily using JS, and in my experience most regular IE users are not savvy enough about the Internet to disable JS or at least filter scripts so they are not subjected to annoyances such as status bar overrides. So at least you'll fool this group. http://www.codeave.com/javascript/code.asp?u_log=7005 will show you how.
awhost
01-07-2005, 02:10 PM
I was thinking, couldn't I just create a CNAME record for may domain to theirs? Wouldn't that just be easier? wouldn't hide the parameters, but it would at least not leave the customer wondering why the went to a different domain right away when typing mine in.
the_pm
01-07-2005, 02:24 PM
Hmm, you got me there. Maybe someone who knows more about canonical name records can give you an answer.
Voxxit
01-07-2005, 02:41 PM
You cant take http://www.whatever.com/?affiliateid=1 and turn it into a cname. Only host.domain.com can work.
awhost
01-07-2005, 02:45 PM
I knew that much.. I just tried and it seems 3 of us have different results, must be DNS. I knew I'd still have the parameters, but at least the domain would remain same. 1 person said it worked. But I cant verify it yet.
awhost
01-07-2005, 03:09 PM
Doesnt seem to work.. I think their server is checking the URL as it gives a server generated error (not a typical error).
Just gonna contact them and see what they say or use a different affiliate system.