I can do you one better with a Tampermonkey script that will replace every reference to his name on every webpage to either “the biggest twat on the planet” or “this dipshit”, depending on which works better syntactically.
// ==UserScript==// @name Text Replace// @version 0.1// @description Text Replace// @author SiameseDream// @include *// @grant none// @namespace beepboop// ==/UserScript==
(function() {
'use strict';
var replaceArry = [
[/ Elon Musk/gi,' the biggest twat on the planet'],
[/Elon Musk/gi,'The biggest twat on the planet'],
[/ Mr. Musk/gi,' this dipshit'],
[/ Musk/gi,' this dipshit'],
[/Mr. Musk/gi,'This dipshit'],
[/Musk/gi,'This dipshit'],
// etc.
];
var numTerms = replaceArry.length;
var txtWalker = document.createTreeWalker (
document.body,
NodeFilter.SHOW_TEXT,
{ acceptNode: function (node) {
//-- Skip whitespace-only nodesif (node.nodeValue.trim() )
returnNodeFilter.FILTER_ACCEPT;
returnNodeFilter.FILTER_SKIP;
}
},
false
);
var txtNode = null;
while (txtNode = txtWalker.nextNode () ) {
var oldTxt = txtNode.nodeValue;
for (var J = 0; J < numTerms; J++) {
oldTxt = oldTxt.replace (replaceArry[J][0], replaceArry[J][1]);
}
txtNode.nodeValue = oldTxt;
}
})();
Downvoting is kind of unfair because it is technology based, ignore button just ignores that specific post, unsubscribe unsubscribes me from all technology posts which I don’t want
Because the downvote button isn’t for what I personally don’t want to see, it’s for what isn’t relevant. As much as I don’t want to see this, it is technology
Someone please make a lemmy client with a word filtering option so I can stop hearing about elmo
Or just scroll past things you don’t want to read about? That is a very viable option.
I can do you one better with a Tampermonkey script that will replace every reference to his name on every webpage to either “the biggest twat on the planet” or “this dipshit”, depending on which works better syntactically.
// ==UserScript== // @name Text Replace // @version 0.1 // @description Text Replace // @author SiameseDream // @include * // @grant none // @namespace beepboop // ==/UserScript== (function() { 'use strict'; var replaceArry = [ [/ Elon Musk/gi,' the biggest twat on the planet'], [/Elon Musk/gi,'The biggest twat on the planet'], [/ Mr. Musk/gi,' this dipshit'], [/ Musk/gi,' this dipshit'], [/Mr. Musk/gi,'This dipshit'], [/Musk/gi,'This dipshit'], // etc. ]; var numTerms = replaceArry.length; var txtWalker = document.createTreeWalker ( document.body, NodeFilter.SHOW_TEXT, { acceptNode: function (node) { //-- Skip whitespace-only nodes if (node.nodeValue.trim() ) return NodeFilter.FILTER_ACCEPT; return NodeFilter.FILTER_SKIP; } }, false ); var txtNode = null; while (txtNode = txtWalker.nextNode () ) { var oldTxt = txtNode.nodeValue; for (var J = 0; J < numTerms; J++) { oldTxt = oldTxt.replace (replaceArry[J][0], replaceArry[J][1]); } txtNode.nodeValue = oldTxt; } })();In practice it looks like this
Options that empower you:
Downvoting is kind of unfair because it is technology based, ignore button just ignores that specific post, unsubscribe unsubscribes me from all technology posts which I don’t want
… You are putting the responsibility on the victim?!
(/j)
Why didn’t you downvote this thread? In kbin I can see who downvoted it and you’re not there.
deleted by creator
The user I’m asking is from feddit.uk.
Because the downvote button isn’t for what I personally don’t want to see, it’s for what isn’t relevant. As much as I don’t want to see this, it is technology
Elmo loves you even if you don’t love Elmo