Brainly Bypass

Remove paywall from Brainly!

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Greasemonkey lub Violentmonkey.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana będzie instalacja rozszerzenia Tampermonkey lub Userscripts.

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

Aby zainstalować ten skrypt, musisz zainstalować rozszerzenie menedżera skryptów użytkownika.

(Mam już menedżera skryptów użytkownika, pozwól mi to zainstalować!)

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.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Musisz zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

(Mam już menedżera stylów użytkownika, pozwól mi to zainstalować!)

// ==UserScript==
// @name         Brainly Bypass
// @namespace    http://tampermonkey.net/
// @version      1.0.2
// @description  Remove paywall from Brainly!
// @author       DeathlyBower959
// @license      MIT
// @match        https://brainly.com/*
// @icon         https://www.google.com/s2/favicons?domain=tampermonkey.net
// @grant        none
// ==/UserScript==

(function() {
    "use strict";

    function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }

    function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }

    function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }

    var reloadAnswers = function reloadAnswers(answerBlockers) {
        if (answerBlockers > 0) {
            /* var currentData = JSON.parse(localStorage.getItem('flexible-funnel-cycle-data') || {});
            if (!currentData) return;
            var newTiers = {};
            Object.keys(currentData.tiers).forEach(function (key) {
                newTiers[key] = 0;
            });
            localStorage.setItem('flexible-funnel-cycle-data', JSON.stringify(_objectSpread(_objectSpread({}, currentData), {}, {
                tiers: newTiers
            }))); */

            localStorage.removeItem('social-qa/telemetry')
            window.location.reload();
        }
    };

    var statusCheck = function statusCheck() {
        var answerBlockers = document.querySelectorAll('[data-testid="answer_blockade_adapter"]').length;
        if (answerBlockers <= 0) setTimeout(statusCheck, 1000); else reloadAnswers(answerBlockers);
    };


    statusCheck();
})();