dcsimg
www.webdeveloper.com
Results 1 to 1 of 1

Thread: Changing contents of arbitrary webpages

  1. #1
    Join Date
    Oct 2007
    Location
    Vienna, Austria
    Posts
    397

    Changing contents of arbitrary webpages

    Hello to you. I asked in another thread about wrapping webpages and changing their contents (like for example pornolize.com does) I was thinking about a server-side solution. Now it occured to me that maybe it could be done on the client side.

    Imagine the following: I have a webpage with an input and a script. I type an URL into the input field, the script fetches the document (if that can't be done, then with help of an app on my web server), parses it as DOM, does whatever changes and writes it into the document.

    It will also add itself (the script), so subsequent navigation will keep the changes on pages occuring.

    Is this possible? Or am I just raving?

    Update: A more specific question comes to mind. Is there a way to fetch a document by URL from Javascript? Something like var webdeveloper = fetch_url('http://www.webdeveloper.com/'); ?
    Last edited by Sixtease; 11-23-2007 at 08:39 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles