473,320 Members | 2,161 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Grease monkey multi line replacement

I'm trying to spoof page info using grease monkey to play a joke on my friend, but I don't seem to be able to get it to work.

the existing code looks something like this:

Expand|Select|Wrap|Line Numbers
  1. <tr>
  2. <td align="left">05/08</td>
  3. <td>06:12 PM</td>
  4. <td align="left">
  5.  
  6.                             <a href="javascript:openPAB('Steve Blank')">Steve Blank</a>                            
  7.                     </td>
  8. <td>
  9.  
  10.                     3 Hours/47Min
  11.                     </td>
  12. <td>Biathlon</td>
  13.  
  14. <td align="right"></td></tr>
and turn it into:

Expand|Select|Wrap|Line Numbers
  1. <tr>
  2. <td align="left">05/08</td>
  3. <td>10:00 PM</td>
  4. <td align="left">
  5.  
  6.                             <a href="javascript:openPAB('Steve Blank')">Steve Blank</a>                            
  7.                     </td>
  8. <td>
  9.  
  10.                     Did not finish
  11.                     </td>
  12. <td>Disqualified</td>
  13.  
  14. <td align="right"></td></tr>
So basically I want my friend to see his results as failing just to mess with him. He hasn't looked it up on his computer and I'd like to do this before he sees it. Since its ultimately HTML I assume I can drop the white space text, but Im not sure about the special characters. Any ideas?
May 8 '11 #1
0 1145

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Mr.Baha | last post by:
Hello, I have a situation where I am appending text to a multi-line (rich)textbox in a C# form. Now depending on which event does the appendtext, i want to distinguish the lines in the textbox by...
1
by: VMI | last post by:
In my Windows app, if I'm in a multi-line textbox and I'm writing a postal address (ie. write ist line and press <Enter>, write 2nd line and press <Enter>, etc...) how can I make sure that the...
8
by: cj | last post by:
Has MS included in VB2005 any multi-line comment methods like in C? /* This is a multi-line comment in C */ It's something I'd like to have. I did read somewhere that I could use Ctrl+K,...
23
by: Kaz Kylheku | last post by:
I've been reading the recent cross-posted flamewar, and read Guido's article where he posits that embedding multi-line lambdas in expressions is an unsolvable puzzle. So for the last 15 minutes...
3
by: Muhammad Ahsin Saleem | last post by:
Hi I want to make a multi Line List Box. This list box will have multiple lines for one item and this list box have all other functions like the single line list box. Can any body help me its...
11
by: rossum | last post by:
I want to declare a const multi-line string inside a method, and I am having some problems using Environment.NewLine. I started out with: class foo { public void PrintStuff() { const...
2
by: BillE | last post by:
I need to create a multi-line label dynamically. Since labels aren't multi-line, I'm creating a textbox and making it look like a label with the multiline property set to true. I want to...
2
by: joshusdog | last post by:
I'm writing a C++ application with an embedded Python interpreter. Command text is captured and passed to the interpreter a single line at a time. My question is this: is there a simple way of...
1
by: todWulff | last post by:
Good day folks. Let me open with the statement that I am not a C++/C programmer. The environment that I am programming in is ARMbasic, an embedded BASIC targeted toward ARM-based...
4
by: MartinRinehart | last post by:
Thinking about unclosed multi-line quotes. When you open a multi-line quote (type '"""') what does your editor do? Does it color the remainder of your text as a quote, or does it color the line...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.