Advanced Search

Results 1 to 3 of 3

Thread: Find and Replace

  1. #1
    Join Date
    Dec 2008
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Find and Replace

    Does anyone know where I can get a javascript that finds text in a html page and replaces it with the info/code I want.

    Example.I want the script to replace <a href="favs.php">favs</a> with <a href="favs.php">My favs</a><br><a href="pubfavs.php">public favs</a>

    I'm going to use it in a greasemonkey script so I can't use tags like <body onLoad="....

  2. #2
    Join Date
    Jan 2008
    Posts
    4,158
    Thanks
    28
    Thanked 623 Times in 619 Posts
    Blog Entries
    1

  3. #3
    Join Date
    Dec 2008
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Sorry, but I'm a complete n00b and that was greek to me

Bookmarks

Posting Permissions

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