Democratic Underground Latest Greatest Lobby Journals Search Options Help Login
Google

I'm working on something that may save the internet(s).

Printer-friendly format Printer-friendly format
Printer-friendly format Email this thread to a friend
Printer-friendly format Bookmark this thread
This topic is archived.
Home » Discuss » The DU Lounge Donate to DU
 
BikeWriter Donating Member (1000+ posts) Send PM | Profile | Ignore Tue Jan-17-06 05:29 AM
Original message
I'm working on something that may save the internet(s).
Printer Friendly | Permalink |  | Top
Heidi Donating Member (1000+ posts) Send PM | Profile | Ignore Tue Jan-17-06 05:31 AM
Response to Original message
1. You'll soon be a brazilianaire! (nt)
Printer Friendly | Permalink |  | Top
 
BikeWriter Donating Member (1000+ posts) Send PM | Profile | Ignore Tue Jan-17-06 05:36 AM
Response to Reply #1
2. I knew you'd see the value in the program, Dear!
Printer Friendly | Permalink |  | Top
 
NMMNG Donating Member (1000+ posts) Send PM | Profile | Ignore Tue Jan-17-06 05:50 AM
Response to Original message
3. Can I have, like, a brazilian of your babies?
:loveya:
Printer Friendly | Permalink |  | Top
 
BikeWriter Donating Member (1000+ posts) Send PM | Profile | Ignore Tue Jan-17-06 06:04 AM
Response to Reply #3
4. That is the best offer I've had in years, Dear.
I always did like children! :)
Printer Friendly | Permalink |  | Top
 
DainBramaged Donating Member (1000+ posts) Send PM | Profile | Ignore Tue Jan-17-06 06:07 AM
Response to Original message
5. I love that, remember this?
Printer Friendly | Permalink |  | Top
 
BikeWriter Donating Member (1000+ posts) Send PM | Profile | Ignore Tue Jan-17-06 06:25 AM
Response to Reply #5
7. Oh, I like that one! :-)
Printer Friendly | Permalink |  | Top
 
Kellanved Donating Member (1000+ posts) Send PM | Profile | Ignore Tue Jan-17-06 06:14 AM
Response to Original message
6. here
Edited on Tue Jan-17-06 06:33 AM by Kellanved
Yet another GreaseMonkey script: Copy into a file named "braz-ex.user.js" and install as usual. (and replace the part rendered as a link with the plain url). Edit: the DU software is a little too replacement happy - if someone is really interested: PM me.


// ==UserScript==
// @name Braz-ex v.01
// @description Removes the B-Joke from Threads.
// @include http://www.democraticunderground.com/discuss/duboard.php*

// ==/UserScript==
//This is a free script.
/*

Copyright (C) 2006 Kellanved
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/





function adaptPost (){
postTops = document.evaluate(
"//table<@class='post-top'>",
document,
null,
XPathResult.ORDERED_NODE_SNAPSHOT_TYPE,
null);

postMessages = document.evaluate(
"//table<@class='post-message'>",
document,
null,
XPathResult.ORDERED_NODE_SNAPSHOT_TYPE,
null);


//GM_log(table);
for (j=postTops.snapshotLength-1; j >=0 ; j--) {
message = postMessages.snapshotItem(j);
/*table=postTops.snapshotItem(j);
row = table.getElementsByTagName('tr').item(0);
cell = row.getElementsByTagName('td').item(0);
name = cell.getElementsByTagName('b').item(0);

name = name.childNodes.item(0).nodeValue;*/
text = message.childNodes<1>.childNodes<0>.childNodes<3>.innerHTML;
if (text.toLowerCase().indexOf("brazillion")!=-1) { // &&name.toLowerCase().indexOf("wesley")






message.parentNode.removeChild(message);
alert("likely Brazillian Joke Removed");

}


}



return true;


}



// The Main Program


if (window.location.href.indexOf("az=show_mesg") != -1 || window.location.href.indexOf("az=show_topic&") != -1 || window.location.href.indexOf("az=view_all") != -1 ){
adaptPost();


}

Printer Friendly | Permalink |  | Top
 
BikeWriter Donating Member (1000+ posts) Send PM | Profile | Ignore Tue Jan-17-06 06:28 AM
Response to Reply #6
8. That one looks to be serious! :-)
Printer Friendly | Permalink |  | Top
 
Kellanved Donating Member (1000+ posts) Send PM | Profile | Ignore Tue Jan-17-06 07:19 AM
Response to Reply #8
9. no, not exactly.
Just a 5 minute hack job. But it works ;-)
Printer Friendly | Permalink |  | Top
 
BikeWriter Donating Member (1000+ posts) Send PM | Profile | Ignore Tue Jan-17-06 08:00 AM
Response to Reply #9
11. ROFLMBO! That's cool. :-)
Printer Friendly | Permalink |  | Top
 
jpgray Donating Member (1000+ posts) Send PM | Profile | Ignore Tue Jan-17-06 07:52 AM
Response to Original message
10. What do they call it when Commie Pinko Dirtbag goes for a walk?
The Brazilian man march.
Printer Friendly | Permalink |  | Top
 
BikeWriter Donating Member (1000+ posts) Send PM | Profile | Ignore Tue Jan-17-06 08:02 AM
Response to Reply #10
12. Ooh, that's punny!
Printer Friendly | Permalink |  | Top
 
jpgray Donating Member (1000+ posts) Send PM | Profile | Ignore Tue Jan-17-06 08:03 AM
Response to Reply #12
13. Just wait til I get started
It takes a nation of Brazilians to hold me back.

Printer Friendly | Permalink |  | Top
 
BikeWriter Donating Member (1000+ posts) Send PM | Profile | Ignore Tue Jan-17-06 03:43 PM
Response to Reply #13
14. Oh, I can't wait!
:sarcasm:
Printer Friendly | Permalink |  | Top
 
Shine Donating Member (1000+ posts) Send PM | Profile | Ignore Tue Jan-17-06 04:12 PM
Response to Original message
15. Cute.
:thumbsup:
Printer Friendly | Permalink |  | Top
 
BikeWriter Donating Member (1000+ posts) Send PM | Profile | Ignore Tue Jan-17-06 04:22 PM
Response to Reply #15
16. Hee hee hee! Thank you.
Printer Friendly | Permalink |  | Top
 
DU AdBot (1000+ posts) Click to send private message to this author Click to view 
this author's profile Click to add 
this author to your buddy list Click to add 
this author to your Ignore list Mon May 06th 2024, 04:26 AM
Response to Original message
Advertisements [?]
 Top

Home » Discuss » The DU Lounge Donate to DU

Powered by DCForum+ Version 1.1 Copyright 1997-2002 DCScripts.com
Software has been extensively modified by the DU administrators


Important Notices: By participating on this discussion board, visitors agree to abide by the rules outlined on our Rules page. Messages posted on the Democratic Underground Discussion Forums are the opinions of the individuals who post them, and do not necessarily represent the opinions of Democratic Underground, LLC.

Home  |  Discussion Forums  |  Journals |  Store  |  Donate

About DU  |  Contact Us  |  Privacy Policy

Got a message for Democratic Underground? Click here to send us a message.

© 2001 - 2011 Democratic Underground, LLC