elemenop
06-22-2006, 05:45 PM
I have been struggling with finding a solution for this problem for a few days, and being unfamiliar with scripting for the most part, I was hoping someone here may be able to point me in the right direction.
I setup a simple Moblog through blogger.com to record an upcoming roadtrip, and relized that my cellphone provider (Verizon) adds in some marketing blurb to evey MMS I send. This creates a mess of text and <br /> tags that I want to get rid of without having to log in and manually edit the code.
I assumed DOM scripting would be the easiest bet, to just point it to the element, check that the text string was present and if so, delete the parentnode of that text string. Unfortunetly, I can not find any information about someone dong this before, so I am stuck.
Here is the page I was testing with (http://www.platypie.com/test.htm).
Obviously, I want the script to look at the page onLoad and if it sees a text node with the specified text, to delete that node and leave only my original caption.
Thanks in advance if you can point me in a direction to look or have any ideas.
I setup a simple Moblog through blogger.com to record an upcoming roadtrip, and relized that my cellphone provider (Verizon) adds in some marketing blurb to evey MMS I send. This creates a mess of text and <br /> tags that I want to get rid of without having to log in and manually edit the code.
I assumed DOM scripting would be the easiest bet, to just point it to the element, check that the text string was present and if so, delete the parentnode of that text string. Unfortunetly, I can not find any information about someone dong this before, so I am stuck.
Here is the page I was testing with (http://www.platypie.com/test.htm).
Obviously, I want the script to look at the page onLoad and if it sees a text node with the specified text, to delete that node and leave only my original caption.
Thanks in advance if you can point me in a direction to look or have any ideas.