Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 01-30-2018, 05:19 PM   #1
EliteWebmaster
Confirmed User
 
EliteWebmaster's Avatar
 
Join Date: Feb 2010
Posts: 3,972
Is there a way to block certain keywords on this forum?

I know we can block users but is there any feature where we can block certain words any mention of it in the topic headline, it will automatically be blocked?

I would love to block any with "Trump" in the topic headline

Seriously, this forum has gotten to the point where all i see is race baiting or pro/anti trump threads
EliteWebmaster is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-30-2018, 05:37 PM   #2
Zeiss
Confirmed User
 
Industry Role:
Join Date: May 2012
Location: With your mom
Posts: 5,189
Got me interested...
__________________


Adult Webmasters Guides
Zeiss is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-31-2018, 03:05 AM   #3
deonbell
Confirmed User
 
deonbell's Avatar
 
Industry Role:
Join Date: Sep 2015
Posts: 1,045
I did not write this. I copy from internet.
For Chrome, Replaces Trump everywhere in browser

content.js

Code:
var elements = document.getElementsByTagName('*');

for (var i = 0; i < elements.length; i++) {
    var element = elements[i];

    for (var j = 0; j < element.childNodes.length; j++) {
        var node = element.childNodes[j];

        if (node.nodeType === 3) {
            var text = node.nodeValue;
            var replacedText = text.replace(/Trump/gi, '[avoidthis]');

            if (replacedText !== text) {
                element.replaceChild(document.createTextNode(replacedText), node);
            }
        }
    }
}
manifest.json
Code:
{
"manifest_version": 2,
    "name": "[goodbyelosers]",
    "description": "[replaces trump with avoidthis]",
    "version": "1.0",
    "content_scripts": [
        {
            "matches": [
                "*://*/*"
            ],
            "js": [
                "content.js"
            ],
            "run_at": "document_end"
        }
    ]
}
readme.md
Code:
This is your Chrome extension which replaces a word or phrase with a different word or phrase.
deonbell is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-31-2018, 09:00 AM   #4
CaptainHowdy
Too lazy to set a custom title
 
CaptainHowdy's Avatar
 
Industry Role:
Join Date: Dec 2004
Location: Happy in the dark.
Posts: 91,427
Just exercise your natural capacity to ignore a certain subject ...
__________________
Get Your Free Backlinks Today 149 URLs to pick from - Go To The Thread here!
Join the SWAG Affiliate Asian Live Cam Program Non-Saturated Models and Exclusive Content.
CaptainHowdy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks

Tags
block, trump, headline, topic, forum, 1orglaugh, pro/anti, threadsoh, crap, baiting, love, race, blocked, mention, words, feature, users, keywords, automatically



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.