Author

Topic: Bitcointalk Rat Obliterator Script v2.0 (Read 205 times)

legendary
Activity: 3276
Merit: 2442
August 23, 2024, 09:34:55 AM
#6
There is a much better script that was released few years ago and it works much faster, you don't have to manually enter names and open settings all the time.
I am using script Ignore threads on bitcointalk for some time and I am very happy with results so far, all you have to do is click on + to hide any thread.
Maybe you can update your Obliterator script and make it work in similar way.
https://github.com/NLNicoo/itob

I am sure there many other smarter solutions with GUI and stuff but

If I update mine to make it work in a similar way… then that would be copying the script you linked. Wink

I am not an expert coder but this is the solution I came up with after googleing some basic stuff like:

“How to get the URL from the address bar?”

“How to run Js whenever a web page of certain website loads?”

“How to select the parent HTML element?”

And combine these with 2 for loops boom it works.
legendary
Activity: 2212
Merit: 7064
August 23, 2024, 07:52:21 AM
#5
There is a much better script that was released few years ago and it works much faster, you don't have to manually enter names and open settings all the time.
I am using script Ignore threads on bitcointalk for some time and I am very happy with results so far, all you have to do is click on + to hide any thread.
Maybe you can update your Obliterator script and make it work in similar way.
https://github.com/NLNicoo/itob
legendary
Activity: 3276
Merit: 2442
August 22, 2024, 01:30:04 PM
#4
A combination of both scripts (and some more) is available now. Total annihilation.
legendary
Activity: 3276
Merit: 2442
August 10, 2024, 03:10:13 PM
#3
Disclaimer: I don't give two swimming shits if you fuck this simple task up. Don't care.
Meh. I don't use third party script for my browser. You are welcome.

Maybe someone find it useful, who knows... It is safe and effective. I can tell you that much.  Cool

Quote
”We’ll send someone to the moon.” —DJT
This thing on your personal area, not without Elon 😂

Elon is a good boi.
legendary
Activity: 2800
Merit: 2736
Farewell LEO: o_e_l_e_o
August 10, 2024, 03:06:02 PM
#2
Disclaimer: I don't give two swimming shits if you fuck this simple task up. Don't care.
Meh. I don't use third party script for my browser. You are welcome.
Quote
”We’ll send someone to the moon.” —DJT
This thing on your personal area, not without Elon 😂
legendary
Activity: 3276
Merit: 2442
August 10, 2024, 02:47:17 PM
#1
phew phew
phew phew


phew phew
phew phew

It is a TamperMonkey script which lets you evaporate certain forum rats which you don't like.  I made this because the forum's own ignore button isn't working well enough.

Once you run both scripts, you won't see the topics they've created, you won't see any spam posts they've made. It is total obliteration. One might even call that a genocide.

How?

Step 1:

Add TamperMonkey to Chrome.
https://chromewebstore.google.com/detail/tampermonkey/dhdgffkkebhmkfjojejmpbldmpobfkfo

Step 2:

Enable developer mode on extensions so our script can work. (we need to do that because google v3 manifestation bla bla bla)

Extensions > Manage Extensions > Enable Developer Mode on Right Top Corner

Step 3:

Open up TamperMonkey dashboard and create new script by clicking the "+" button. Then separately save these 2 scripts.

Topic Cleaner:

Code:
// ==UserScript==
// @name         TopicCleaner
// @namespace    http://tampermonkey.net/
// @version      2024-08-10
// @description  try to take over the world!
// @author       mindrust
// @match        https://bitcointalk.org/index.php?board*
// @icon         https://www.google.com/s2/favicons?sz=64&domain=bitcointalk.org
// @grant        none
// ==/UserScript==

(function() {
    'use strict';

    // Add rats below...
    const rats = [
"rat1",
"rat2"
]

const URL1 = 'a[title="View the profile of '
const URL2 = '"]'

for (let i = 0; i < rats.length; i++){
    const ele = document.querySelectorAll(URL1 + rats[i] + URL2);
    for (let k = 0; k < ele.length; k++) {
        ele[k].parentElement.parentElement.innerHTML = "";
    }

}
})();

Post Cleaner:

Code:
// ==UserScript==
// @name         PostCleaner
// @namespace    http://tampermonkey.net/
// @version      2024-08-08
// @description  try to take over the world!
// @author       mindrust
// @match        https://bitcointalk.org/index.php?topic*
// @icon         https://www.google.com/s2/favicons?sz=64&domain=tampermonkey.net
// @grant        none
// ==/UserScript==

(function() {
    'use strict';

    // Add rats below...
const rats = [
"rat1",
"rat2"
]

const URL1 = 'a[title="View the profile of '
const URL2 = '"]'

for (let i = 0; i < rats.length; i++){
    const ele = document.querySelectorAll(URL1 + rats[i] + URL2);
    for (let k = 0; k < ele.length; k++) {
        ele[k].parentElement.parentElement.parentElement.parentElement.innerHTML = "";
    }

}
})();

Edit the "rats" variable and add as many rats as you like. The more the better. Leave none alive.



22 Aug 2024 UPDATE: I made a better version which combines both scripts above. You can still use PostCleaner alone if you want to see the topic names but not the unwanted posts in it or, you can use the final form of Obliterator and get rid of all. (Topic titles, posts, watchlist, unread posts) This is the complete solution.


Obliterator:

Code:
// ==UserScript==
// @name         Obliterator
// @namespace    http://tampermonkey.net/
// @version      2024-08-22
// @description  try to take over the world!
// @author       mindrust
// @match        https://bitcointalk.org/*
// @icon         https://www.google.com/s2/favicons?sz=64&domain=bitcointalk.org
// @grant        none
// ==/UserScript==

(function() {
    'use strict';

    // Edit rats below...

const rats = [
    "rat1",
    "rat2",
    "rat3"
]

const pURL = document.location.href
const URL1 = 'a[title="View the profile of '
const URL2 = '"]'

for (let i = 0; i < rats.length; i++){
    const ele = document.querySelectorAll(URL1 + rats[i] + URL2);
    for (let k = 0; k < ele.length; k++) {
        if(pURL.includes("topic")){
            ele[k].parentElement.parentElement.parentElement.parentElement.innerHTML = "";
        }else{
            ele[k].parentElement.parentElement.innerHTML = "";
        }
    }

}
})();

Disclaimer: I don't give two swimming shits if you fuck this simple task up. Don't care.
Jump to: