WCS,
A similar jQuery include was already on the web page, but I have added the
@require in case I need it in the future.
Thanks 1E6,
BB
On Sunday, November 23, 2014 8:21:03 AM UTC-6, Web-Crawling Stickler wrote:
>
> In the absence of a specific error message from the Console
> (Ctrl-Shift-J), it's hard to be sure, but it looks like your script uses
> jQuery but doesn't @require it:
>
> // @require http://code.jquery.com/jquery-1.11.1.min.js
>
> For future reference, you may want to try "block HTML element on webpage"
> or similar; widget is not the standard terminology.
>
> On 2014-11-22 17:10, BrianP007 wrote:
>
> Hi,
>
> Sorry if this is a duplicate question, but it got zero hits on search
> [Results: about 0 for block specific widget on webpage]
>
> There is a webpage I like to read, but it has a scrolling picture widget
> which updates every ~3 seconds. With terminal ADHD, each update distracts
> me for about 2 seconds reducing my already anemic reading efficiency by
> ~67%.
>
> The best solution I have been able to accomplish so far is in Firefox to
>
> Right click -> inspect element
>
> click on picture scroller
>
> page up to find "widget challengesWinnersWidget"
>
> right-click and delete node.
>
> It works perfectly until I (eventually) move to the next page or until the
> page automatically updates.
>
> I have tried Adblock Plus half a dozen different ways with no effect. The
> solution provided by the Adblock Plus technical support moderator is also
> totally ineffective. It would be nice if Adblock could merge their
> deleting technology with their hiding technology. Whether it gets deleted
> or hidden, I can't tell the difference as long as it is gone.
>
> At least there is some consolation in the fact that the Expert Solution
> provided by the software manufacturers Customer Support Guru was no more
> effective than my Quixotic attempts. If GreaseMonkey works here, then I can
> rationalize these difficulties as the result of poor software rather than
> abject technical ineptitude. :)
>
> The page is http://www.dpreview.com and the code which when deleted,
> removes the entire widget is:
>
> <div class="widget challengesWinnersWidget"><div
> class="widgetTitle">Finished challenges</div><div
> class="widgetContent"><div class="challengesWinnersWidgetContent"
> id="challengeWinnersWidget">
>
> Researching similar items, I have tried these blocking attempts:
>
> --------------------------------------------------------
>
> // ==UserScript==
>
> // @name Background Change
>
> // @namespace http://www.example.com/ juliet/
>
> // @description Change the background colour of a page
>
> // @include http://www.dpreview.com/*
>
> // @grant none
>
> // ==/UserScript==
>
> var badDivs = $("div div:contains('challengesWinners')");
>
> badDivs.remove ();
>
> //<script>
>
> //$( "challengesWinnersWidget" ).hide();
>
> //</script>
>
> //<script>
>
> //$( "challengesWinnersWidgetContent" ).hide();
>
> //</script>
>
> //<script>
>
> //$( "widget.challengesWinnersWidget" ).hide();
>
> //</script>
>
> What am I doing wrong?
>
> Cheerio,
>
> Brian
>
> --
> You received this message because you are subscribed to the Google Groups
> "greasemonkey-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected] <javascript:>.
> To post to this group, send email to [email protected]
> <javascript:>.
> Visit this group at http://groups.google.com/group/greasemonkey-users.
> For more options, visit https://groups.google.com/d/optout.
>
>
> --
>
--
You received this message because you are subscribed to the Google Groups
"greasemonkey-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/greasemonkey-users.
For more options, visit https://groups.google.com/d/optout.