How do I legitimately hijack website content?
August 15, 2007 5:25 PM Subscribe
HTML/Javascript: I need to "hijack" website content so that it appears to be hosted by a different domain (with the full knowledge and cooperation of all parties).
My boss maintains a website at, let's say, boss.example.com. He has an affiliation with another organization with a nicer domain name, let's say, fancyexample.com
He would like to allow users of fancyexample.com to go to fancyexample.com/boss and see all of his boss.example.com content as though it were hosted on fancyexample.com. So if a user went to fancyexample.com/boss/homepage.html they would see that in the address bar but the content would be pulled from boss.example.com/homepage.html
Ultimately, I want to write a small shell page to place on fancyexample.com that "hijacks" the boss.example.com content in as seamless a way as possible. I believe that this can be done very simple using javascript and a frame but I don't have much web programming experience.
Again, don't worry, my boss, boss.example.com, and fancyexample.com all know about this and approve completely.
posted by jedicus to technology (7 answers total) 2 users marked this as a favorite
posted by tmcw at 5:44 PM on August 15, 2007