Forum Moderators: open
what i need is a script that allows me to replace or erase content, by looking for certain strings and replacing them, showing me the result.
in short: a script through which i load a page w/o the content i don't want.
i'm not capable of writing it myself, so i was wondering if such a thing already existed, or if you could point me in the right direction....
thanks a lot.
no, that's the problem.
if i had access to the serverfiles, i'd just create my own templates and fill them with data. but that's not the case, i have to work with html files, and can only edit those on the fly.
i know such scripts exist, i read about people using them to replace certain user information to make them look better on ebay...
don't want to crawl all the underground sites to find one tho, and google didn't help so far.
hope that makes it clear ;)
isn't there any command to find a string, and one to replace it? i'd be surprised if there wasn't, as it can be found in even the simplest programs, and i'm not referring to the standart text-search engine provided by most OS, but rather search-and-replace features.
if it's not really possible with java, is there any other scripting language that would be able to do that in an easier way? i don't need to do it in java, just thought it might be the common way to do such things client-side.
check this out: [java.ittoolbox.com...]
still havn't found the code tho.
well, i think i get what you say.
i think by outputting you are alos thinking about not displaying...i don't even need to erase the stuff, it's be sufficient to make it invisible, i.e. (and i don't know if that's possible either) having a script that searches for strings and adds invisibility tags around them. thinking about it, i think that might even work...waht do you think?
as to loading the page in advance: at this point, i don't care about this extremly small amount of traffic anymore...i already have the pics locally, and gonna exchange those <img=...> with local addresses using a script (i think that's gonna be easier, seen it in many places).