0

I'm trying to remove the following line of code from http://trakt.tv/calendars/my/shows/ using Greasemonkey:

<a href="/vip">
    <div class="huckster-vip-square">
        <div class="inner">
            <div class="text">
                <h1>Support Trakt & become a VIP!</h1>
                <h2>Hide advertising, unlock extended features and help Trakt grow.</h2>
                <div class="btn btn-primary">Learn More</div>
            </div>
        </div>
    </div>
</a>

How can I do that?

serenesat
  • 4,611
  • 10
  • 37
  • 53
  • See, also, ["How to use greasemonkey to selectively remove content from a website"](http://stackoverflow.com/q/9169032/331508), and many others. – Brock Adams Mar 27 '15 at 02:58

1 Answers1

0

You may try it with jQuery. Please refer to this question for using jQuery in Greasemonkey.

The JavaScript code would be like:

$("a[href='/vip']").remove();
Community
  • 1
  • 1
Wenli Wan
  • 605
  • 5
  • 8