# Snowboarder Bo:  Enough with the fucking quarry

**URL:** <https://boards.straightdope.com/t/snowboarder-bo-enough-with-the-fucking-quarry/732525>\
**Category:** The BBQ Pit\
**Created:** [September 25, 2015, 10:55pm UTC](https://boards.straightdope.com/t/snowboarder-bo-enough-with-the-fucking-quarry/732525 "2015-09-25T22:55:07Z")\
**Posts on this page:** 1\
**Showing post:** 337

<div class="post-metadata">

**Author:** ![Morgenstern](https://avatars.discourse-cdn.com/v4/letter/m/f9ae1b/32.png) [@Morgenstern](https://boards.straightdope.com/u/Morgenstern)\
**Post date:** [September 28, 2015, 5:19pm UTC](https://boards.straightdope.com/t/snowboarder-bo-enough-with-the-fucking-quarry/732525/337 "2015-09-28T17:19:29Z")

</div>

Maybe **Polerius** will come along and help others with this little gem.

> [@Greasemonkey script to replace annoying phrases on the SDMB (e.g. quarry throwing)](https://boards.straightdope.com/t/greasemonkey-script-to-replace-annoying-phrases-on-the-sdmb-e-g-quarry-throwing/669347/1):
>
> Below is a script for people who use Greasemonkey in Firefox or Chrome.
> 
> Replace any string on the SDMB. Especially useful for frequently occurring annoying phrases. (Especially powerful if you happen to know regular expressions, but still useful if you don’t)
> 
> Just edit the “var replacements = {” entry with things you would like to see replaced.
> 
> In the two examples below, the quarry-throwing phrase is always replaced by “LOL”. In the first example using a simple string, and in the second example using a regular expression in order to catch several possible versions of the phrase.
> 
> ```auto
> 
> // ==UserScript==
> // @name Replace any string on SDMB
> // @namespace Polerius
> // @description Replace any string in threads on SDMB
> // @include http://boards.straightdope.com/sdmb/*
> // ==/UserScript==
> 
> (function() 
> {
> var replacements = {
> "Let's go to the quarry and throw stuff down there" : "LOL",
> "Let's go (down )?to the quarry and throw (shit|stuff) (down|in) (there|here)" : "LOL"
> };
> 
> var allPosts = document.getElementsByClassName('alt1');
> 
> for (var i = 0; i < allPosts.length; i++)
> {
> var kids = allPosts*.children;
> for (var j=0; j<kids.length; j++)
> {
> if (kids[j].id.match(/^post_message_/))
> {
> var newHTML = kids[j].innerHTML;
> //alert(newHTML);
> for (var old_str in replacements)
> {
> newHTML = newHTML.replace(RegExp(old_str,"mg"), replacements[old_str]);
> }
> kids[j].innerHTML = newHTML;
> }
> }
> }
> })();
> 
> ```

---

_[View the full topic](https://boards.straightdope.com/t/snowboarder-bo-enough-with-the-fucking-quarry/732525)._
