News:

OK A-holes.  It's fixed.  Enjoy the orange links, because I have no fucking idea how to change them.  I basically learned scripting in four days to fix this damned thing. - Andy

Main Menu

Author Topic: The only site I'll ever need...  ( 634,502 )

CT III

  • Administrator
  • Johnny Evers Fan Club
  • Posts: 3,828
  • Location: NonDescript
Re: The only site I'll ever need...
« Reply #3255 on: February 19, 2014, 03:56:43 PM »
Quote from: J. Walter Weatherman on February 19, 2014, 03:42:40 PM
Quote from: Bort on February 19, 2014, 01:54:19 PM
Quote from: PenFoe on February 19, 2014, 01:41:13 PM
Quote from: R-V on February 18, 2014, 09:34:50 AM
How do I filter words or phrases out of my Twitter timeline? I use twitter.com on my computer and the Twitter app on my iphone. Guessing I may need to change that.

Serious question - what are you trying to filter?

Holidays Road.

Here you go...

var tweets = document.getElementsByClassName('tweet');
for (var i = 0; i < tweets.length; ++i) {
    var tweet = tweets[i],
        content = tweet.getElementsByClassName('tweet-text')[0].innerHTML;
    if(/holiday[ _\-\+]?ro([\-o]|oa)*ad/i.test(content)) {
        tweet.style.display = 'none';
    }
}


Won't work in IE8 or earlier.

In handy bookmarklet form:

javascript:(function(){var%20tweets=document.getElementsByClassName('tweet');for(var%20i=0;i<tweets.length;++i){var%20tweet=tweets[i],content=tweet.getElementsByClassName('tweet-text')[0].innerHTML;if(/holiday[%20_\-\+]?ro([\-o]|oa)*ad/i.test(content)){tweet.style.display='none';}}})();


Then it's useless to me.

Yeti

  • Johnny Evers Fan Club
  • Posts: 4,248
Re: The only site I'll ever need...
« Reply #3256 on: March 19, 2014, 02:55:44 PM »
No posts in here for 2 days? GHEY.

Saul Goodman

  • Not NOT Sterling
  • Johnny Evers Fan Club
  • Posts: 6,511
  • Location: California
Re: The only site I'll ever need...
« Reply #3257 on: March 19, 2014, 05:55:50 PM »
Quote from: Yeti on March 19, 2014, 02:55:44 PM
No posts in here for 2 days? GHEY.

I'm already sick of watching Javier Baez chase sliders in the dirt (especially with runners on), how's that?
You two wanna go stick your wangs in a hornet's nest, it's a free country.  But how come I always gotta get sloppy seconds, huh?

Brownie

  • Johnny Evers Fan Club
  • Posts: 3,279
Re: The only site I'll ever need...
« Reply #3258 on: March 19, 2014, 08:57:31 PM »
Quote from: Yeti on March 19, 2014, 02:55:44 PM
No posts in here for 2 days? GHEY.

Fuck, it's silent in here.

J. Walter Weatherman

  • Johnny Evers Fan Club
  • Posts: 5,485
Re: The only site I'll ever need...
« Reply #3259 on: March 19, 2014, 11:10:10 PM »
Quote from: Sterling Archer on March 19, 2014, 05:55:50 PM
Quote from: Yeti on March 19, 2014, 02:55:44 PM
No posts in here for 2 days? GHEY.

I'm already sick of watching Javier Baez chase sliders in the dirt (especially with runners on), how's that?

Let's not.
Loor and I came acrossks like opatoets.

Yeti

  • Johnny Evers Fan Club
  • Posts: 4,248
Re: The only site I'll ever need...
« Reply #3260 on: March 19, 2014, 11:32:17 PM »
He K'd with the bases loaded. He stink.


World's #1 Astros Fan

  • Johnny Evers Fan Club
  • Posts: 5,089
  • Location: Hoffman Estates, IL
Re: The only site I'll ever need...
« Reply #3261 on: March 20, 2014, 08:21:37 AM »
Yeti, what have you done to this thread?  Can't you just let this shit-for-brains messageboard die in peace?
Just a sloppy, undisciplined team.  Garbage.

--SKO, on the 2018 Chicago Cubs

ChuckD

  • Johnny Evers Fan Club
  • Posts: 2,502
Re: The only site I'll ever need...
« Reply #3262 on: March 20, 2014, 08:30:13 AM »
Five dingers. Five ribbies. Nice choice, Jimpstink.


World's #1 Astros Fan

  • Johnny Evers Fan Club
  • Posts: 5,089
  • Location: Hoffman Estates, IL
Re: The only site I'll ever need...
« Reply #3263 on: March 20, 2014, 08:36:09 AM »
Quote from: ChuckD on March 20, 2014, 08:30:13 AM
Five dingers. Five ribbies. Nice choice, Jimpstink.



MY COLT at #8.
Just a sloppy, undisciplined team.  Garbage.

--SKO, on the 2018 Chicago Cubs

ChuckD

  • Johnny Evers Fan Club
  • Posts: 2,502
Re: The only site I'll ever need...
« Reply #3264 on: March 20, 2014, 08:49:07 AM »
Quote from: PANK! on March 20, 2014, 08:36:09 AM
Quote from: ChuckD on March 20, 2014, 08:30:13 AM
Five dingers. Five ribbies. Nice choice, Jimpstink.



MY COLT at #8.

Against higher quality opposition, no less. Hopefully the reason we've only seen him DH/1B is because Jepstink is supremely confident in his defense at 3B.

Slaky

  • Johnny Evers Fan Club
  • Posts: 7,883
  • Location: Bucktown
Re: The only site I'll ever need...
« Reply #3265 on: March 20, 2014, 08:59:18 AM »
Wow Javier Baez has the same number of homers in Spring at Jordan Danks. NOT IMPRESSED

World's #1 Astros Fan

  • Johnny Evers Fan Club
  • Posts: 5,089
  • Location: Hoffman Estates, IL
Re: The only site I'll ever need...
« Reply #3266 on: March 20, 2014, 09:16:22 AM »
Quote from: Slaky on March 20, 2014, 08:59:18 AM
Wow Javier Baez has the same number of homers in Spring at Jordan Danks. NOT IMPRESSED

How DARE you, sir!
Just a sloppy, undisciplined team.  Garbage.

--SKO, on the 2018 Chicago Cubs

PenFoe

  • Johnny Evers Fan Club
  • Posts: 4,739
Re: The only site I'll ever need...
« Reply #3267 on: March 20, 2014, 09:37:28 AM »
Quote from: ChuckD on March 20, 2014, 08:30:13 AM
Five dingers. Five ribbies. Nice choice, Jimpstink.



Intrepid Reader: Chuck

Great, another selfish home run hitter. Just what we need.
I can't believe I even know these people. I'm ashamed of my internet life.

CT III

  • Administrator
  • Johnny Evers Fan Club
  • Posts: 3,828
  • Location: NonDescript
Re: The only site I'll ever need...
« Reply #3268 on: March 20, 2014, 10:48:16 AM »
Quote from: ChuckD on March 20, 2014, 08:49:07 AM
Quote from: PANK! on March 20, 2014, 08:36:09 AM
Quote from: ChuckD on March 20, 2014, 08:30:13 AM
Five dingers. Five ribbies. Nice choice, Jimpstink.



MY COLT at #8.

Against higher quality opposition, no less. Hopefully the reason we've only seen him DH/1B is because Jepstink is supremely confident in his defense at 3B.

Unfortunately, it's because he's got dead arm.  Tommy John disease, no doubt.

Saul Goodman

  • Not NOT Sterling
  • Johnny Evers Fan Club
  • Posts: 6,511
  • Location: California
Re: The only site I'll ever need...
« Reply #3269 on: March 20, 2014, 11:17:12 AM »
Quote from: Slaky on March 20, 2014, 08:59:18 AM
Wow Javier Baez has the same number of homers in Spring at Jordan Danks. NOT IMPRESSED

Not leading this group in strikeouts though, thanks to that weirdo Hunter Pence!
You two wanna go stick your wangs in a hornet's nest, it's a free country.  But how come I always gotta get sloppy seconds, huh?