homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Visit PubCon.com
Home / Forums Index / WebmasterWorld / Webmaster General
Forum Library, Charter, Moderators: phranque

Webmaster General Forum

add javascript code to thousands of .html files

 3:04 am on Jun 27, 2006 (gmt 0)

I want to add a javascript code piece to thousands of .html files (the javascript is a stats code piece). Is there any way to add it automatically to all my .html files, to save me cutting and pasting it into every .html file individually? I would be so, so grateful if anyone can help.

PS I have dreamweaver if this can do it.



 4:19 am on Jun 27, 2006 (gmt 0)

Do a search for a piece of software called 'BK ReplaceEM'

Will search and replace through a specified folder or set of files.


 4:56 am on Jun 27, 2006 (gmt 0)

dreamweaver does that, set up a site using the site stuff, that contains the thousands of pages, then use edit find/replace to add the line between two lines that are the same on each page.

Global Options:
 top home search open messages active posts  

Home / Forums Index / WebmasterWorld / Webmaster General
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved