Quantcast

Jump to content

» «
Photo

Override (delete) website element (table)

No replies to this topic
jackusCTB
  • jackusCTB

    Peon

  • Members
  • Joined: 29 Jun 2012
  • Belgium

#1

Posted 26 November 2013 - 04:32 PM Edited by jackusCTB, 26 November 2013 - 04:33 PM.

Hello,
is there a way to override a certain text value of a website?
For example, that's the normal Google homepage, notice the "Image" link:
Now, if I want to edit or delete the "Image" link, I would hit F12 to enter in Dev tools and then find the section and delete it, notice...
Is there a way so that everytime I open, for example, google.com this script automatically delete or edit a text box and its value?
E.g. Ad Blocker automatically delete the ads.
Pseudocode:
while (on.Page=http:mypage.com/)
{
text = "My text"
Seek.InWebPage("text")
if (text exists)
then
{
delete("text") // text = "My new edited text"
}
else
{
/// else....
}
}
The actual value that should be deleted is this and it's static, it will be always this:
<tr class="" valign="middle" align="center" height="28" >
<td class="bluetext timesroman font_size_10 align_middle" align="left">
TEXTTEXTTEXT
</td>
<td align="center" class="bluetext timesroman font_size_10 align_middle"  align="left" >
TEXTTEXTTEXT
</td>
<td class="bluetext timesroman font_size_10 align_middle"  align="left" >
TEXTTEXTTEXT
</td>
<td class="bluetext timesroman font_size_10 align_middle"  align="left" >
TEXTEXT
</td>
</tr>
Or simply don't load "from <tr> to </tr>" from the source of the website...
Thanks very much!




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users