2015年4月10日 下午7:56于 "Andrey L" <[email protected]>写道:
> Can I write a script, which will allow user *to choose* and then to block > particular page elements? > > I use Hootsuite web-application, which shows a number of tweets in the > following format: > > <div id="tweet_112160347_586216537368956928" class="_message message " > externalpostid="586216537368956928" externaluserid="3091523721"> > <!-- Metadata Attribution --> > <div class="-messageBody"> <span class="_moreMenu actions rb-a-2" > ><span class="icon-13 arrowDown"></span></span> <a class="networkAvatarLink > _userInfoDropdown _dragUser" href="#" title="haraquzozix" postid= > "586216537368956928"></a> > <img class="networkAvatar isLoaded" src=" > https://pbs.twimg.com/profile_images/578989158309322752/2ZjDLBXu_normal.png > "> <a href="#" class="_username networkName _userInfoPopup" title= > "haraquzozix">haraquzozix</a> > <span class="messageDescription"> > <a class="postTime _postPermalink _postTime" href=" > http://twitter.com/haraquzozix/status/586216537368956928" target="_blank" > datetime="2015-04-09T20:18:08"> > Apr 09, 9:18pm > через > NipaTipa2 > </a> > </span> > <p class="_baseTweetText _tweetText messageContent">Tweet message > content</p> > </div> > </div> > <p class="_baseTweetText _tweetText messageContent">Tweet message > content</p> > > I would like to be able to click one such message and choose 'Block' from > the context menu. Then message content (`Tweet message content` in my > example above) should be saved somewhere. And once I look at Hootsuite page > again, all tweets with such message content should be hidden. > > It should work with many blocked texts (tweets). > > Can it be done with Greasemonkey? Or should I write a browser extension to > do it? > > -- > 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. > -- 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.
