Remove premium on Quizlet

Removes the "You've reached your limit of free solutions for this book" and blurred part in quizlet

K instalaci tototo skriptu si budete muset nainstalovat rozšíření jako Tampermonkey, Greasemonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Userscripts.

You will need to install an extension such as Tampermonkey to install this script.

K instalaci tohoto skriptu si budete muset nainstalovat manažer uživatelských skriptů.

(Už mám manažer uživatelských skriptů, nechte mě ho nainstalovat!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(Už mám manažer uživatelských stylů, nechte mě ho nainstalovat!)

// ==UserScript==
// @name         Remove premium on Quizlet
// @namespace    https://bibekchandsah.com.np
// @version      1.0
// @description  Removes the "You've reached your limit of free solutions for this book" and blurred part in quizlet
// @author       Bibek
// @match        https://quizlet.com/*
// @grant        none
// @icon         https://quizlet.com/_next/static/media/q-twilight.e27821d9.png
// @license      https://bibekchandsah.com.np
// ==/UserScript==

(function() {
    'use strict';

    // Function to apply styles based on class presence
    function applyStylesBasedOnClassPresence() {
        try {
            // Check for class "b1xkd811"
            var elementsB1xkd811 = document.querySelectorAll('.b1xkd811');
            elementsB1xkd811.forEach(function(element) {
                element.style.filter = 'blur(0rem)';
            });

            // Check for class "pfdaoy0"
            var elementsPfdaoy0 = document.querySelectorAll('.pfdaoy0');
            elementsPfdaoy0.forEach(function(element) {
                element.style.display = 'none';
            });
        } catch (error) {
            console.error('Error applying styles:', error);
        }
    }

    // Interval function to continuously check and apply styles
    setInterval(applyStylesBasedOnClassPresence, 1000); // Check every 1000 milliseconds (1 second)

})();