Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Jun 2013
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Change DOM from server

    Hi all,

    I'm working on a new project and i want to receive a request from a user and to redirect him to a third party site, but on the page after i redirect my users i want them to see injected html (on the third party site.)

    i'm not really sure how to approach this problem..
    hints..?

    regards,
    Guy

  • #2
    Senior Coder Dormilich's Avatar
    Join Date
    Jan 2010
    Location
    Behind the Wall
    Posts
    3,342
    Thanks
    13
    Thanked 349 Times in 345 Posts
    i'm not really sure how to approach this problem..
    you don’t.

    injecting HTML into another’s website is called XSS (Cross Site Scripting).

    you have to ask the third party, whether there is something that they can let you do (like a public API that allows to display your content on their site)
    The computer is always right. The computer is always right. The computer is always right. Take it from someone who has programmed for over ten years: not once has the computational mechanism of the machine malfunctioned.
    André Behrens, NY Times Software Developer


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •