Welcome Guest, please login or register.

AudioBook Bay Forum » Help » How-to Guides » LibroFM: Block AI Author Script

Pages: [1]   Go Down
  Print  
Author Topic: LibroFM: Block AI Author Script  (Read 223 times)
neyseyer
Full Member
***
Offline Offline

Posts: 84



View Profile
« on: March 23, 2025, 03:05:35 PM »

You browse new release on LibroFM. Your eyes die: many AI garbage! The voice is AI, the text is AI.  Sad
Publisher are LLC. PFR LLC? Saaa Pub LLC? AI garbage!
You want find good audiobook. You do not want listen AI garbage.  Angry

Easy! Add script to your Tampermonkey Browser Add-on.

Code:
// ==UserScript==
// @name         Block librofm books by author
// @namespace    blockai
// @version      2025-03-23
// @description  remove AI generated garbage
// @author       blockai
// @match        https://libro.fm/*
// @icon         data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==
// @grant        none
// ==/UserScript==

(function() {
    'use strict';

    // List blocked authors
    const blockedAuthors = [
        "Rolf Hedger",
        "Anya Solace",
        "Haya Vent",
        "Hector Davidson",
        "Marcus Draysun",
        "Fredrich Hazelton",
        "Arlo Holders",
        "Kelly Mass",
        "Lillian Brooks", "Lilian Brooks",
        "Marc Dresgui",
        "John Harpoon",
    ];

    // Function hide books by blocked authors
    function hideBooksByBlockedAuthors() {
        // Get all author on page
        const authors = document.querySelectorAll('.book-info .author');

        // Loop each author, hide book if are blocked
        authors.forEach(authorElement => {
            const authorName = authorElement.textContent.trim();

            // If author blocked, hide parent book grid item
            if (blockedAuthors.includes(authorName)) {
                const bookItem = authorElement.closest('.book-grid-item');
                if (bookItem) {
                    bookItem.style.display = 'none';
                }
            }
        });
    }

    // Run function when page load
    window.addEventListener('load', hideBooksByBlockedAuthors);
    // Handle dynamic content loading
    const observer = new MutationObserver(hideBooksByBlockedAuthors);
    observer.observe(document.body, { childList: true, subtree: true });
})();

Discover new AI author? Add blocklist, share here.
How add blocklist? Edit script. Edit this:
Code:
const blockedAuthors = ["Rolf Hedger", "Anya Solace", "Haya Vent", "Hector Davidson", "Marcus Draysun", "Fredrich Hazelton"];
Imagine, new bad AI author has name Tresh Rowbot. You add it like this:
Code:
const blockedAuthors = ["Rolf Hedger", "Anya Solace", "Haya Vent", "Hector Davidson", "Marcus Draysun", "Fredrich Hazelton", "Trash Rowbot"];
Need comma and quote. ,"NAME".

Question? Ask.
« Last Edit: March 23, 2025, 03:13:16 PM by neyseyer » Logged

neyseyer
Cen no cen? NEY!

Beg reseed!
International Poetry Forum 1966-1991
BettyFree
Jr. Member
**
Offline Offline

Posts: 38


View Profile
« Reply #1 on: March 30, 2025, 03:17:59 PM »

Big list of fake narrators here:
https://smartbitchestrashybooks.com/2024/10/ai-audiobook-narrators-in-overdrive-and-the-issue-of-library-ai-circulation-policy/
Logged
Pages: [1]   Go Up
  Print  
 
Jump to: