. : News : . . : Message of the Week : .
You are currently viewing an archive of the Wilderness Guardians clan's IPB1 forums.

These forums were used by WG from 2008 to 2011, and now exist for historical and achival purposes only.

For the clan's current forums, CLICK HERE.
"You are a Wilderness Guardian. That northern wasteland; that land of blood, desolation and death is your dominion. Tonight we are going home."
~His Lordship
War Alert: OFF Raid Alert: OFF
PM a WG Official
 Is this possible?, Need some assistance! ;]
Posted: November 22, 2010 02:50 amTop
   


IRC Nickname: |Tezza|
Group: Emeritus
Posts: 1430
Member No.: 60
Joined: December 31, 2007
Total Events Attended: 12
Okay so I've got a bunch of .html files that I saved as "complete web page files" on firefox.

Theres a line of javascript in each file it that will automatically redirect the page to some homepage so that I can't work offline with it.
Is there a program of some sort that will search through every file and delete the line of script? [some 200 files with the same line so I can't do it manually]

Cheers guys



 
--------------------
Joined Wg - 18th January '05 (s4 vet)
Ex-WG Moderator

user posted image

Posted: November 23, 2010 04:12 pmTop
   
User Avatar

IRC Nickname: leecable
Group: Banned
Posts: 1938
Member No.: 410
Joined: April 1, 2008
Total Events Attended: 178
dont think so, best get deleting.
 
--------------------
user posted image
user posted image user posted image

Posted: November 24, 2010 08:20 amTop
   
User Avatar

IRC Nickname: RobbieThe1st
Group: Founder
Posts: 770
Member No.: 2
Joined: December 26, 2007
Total Events Attended: 49
Hm... What you'd want to do is find some text editor that supports search-and-replace on all files. Geany will do this.
Just select all files, drag them into the text editor(in this case, Geany).
Then, open the search & replace box(ctrl+H), place your string-to-be-removed in the "search" box, leave the replace box blank. Click the replace "in session" button, and click OK.
 
--------------------
Old Avatar - Paypal donation link
user posted image
I am left handed, and proud of it! Retired from RuneScape.
Old forum posts: 2275(s4+s10+wg.com)+1759(z6 old account)+474(z6 new account) Total: 4508
Join date: 4/16/05 | Get Firefox 3.5 now: http://www.getfirefox.com | RobbieSwich for Firefox

Posted: November 25, 2010 07:42 pmTop
   
User Avatar

IRC Nickname: Sean^
Group: Clan Ally
Posts: 151
Member No.: 2339
Joined: August 1, 2010
Total Events Attended: 2
QUOTE: RobbieThe2nd November 24, 2010 09:20 am
Hm... What you'd want to do is find some text editor that supports search-and-replace on all files. Geany will do this.
Just select all files, drag them into the text editor(in this case, Geany).
Then, open the search & replace box(ctrl+H), place your string-to-be-removed in the "search" box, leave the replace box blank. Click the replace "in session" button, and click OK.

Or if you want something Windows-native you can achieve the same outcome with Notepad++ - http://notepad-plus-plus.org/
 
--------------------
user posted image

user posted image

~ Elite (Council) of The Sabre Clan :: RuneFest 2010 Attendee ~
~ Ex-Descendant Guardian :: Ex-Wilderness Guardian (2005-2006) ~

Posted: November 26, 2010 06:35 amTop
   


IRC Nickname: |Tezza|
Group: Emeritus
Posts: 1430
Member No.: 60
Joined: December 31, 2007
Total Events Attended: 12
Haha cheers guys!
All good, just bribed my little brother to do it all for me (h)
 
--------------------
Joined Wg - 18th January '05 (s4 vet)
Ex-WG Moderator

user posted image