Off Topic - Userscript to unblur images in Fansyme | Social Media Girls

Off Topic Userscript to unblur images in Fansyme

  • Going forward please follow these rules when posting:

    -The content MUST be from TikTok, do not post slips from other platforms.

    -You MUST include profile names / link to the profile, or make every attempt to include it.

    -Include timestamps if you post a long video or a full live video.

    -Make sure ALL girls posted are 18+

  • Please make sure all of the videos and screenshots you're posting are only of people over the age of 18.

    This also means no children in the background.

    No more warnings.

  • Absolutely no doxing. This includes everything from using and asking for real names, asking for IG and other social media accounts. No social media rips.

    Anyone breaking this rule will be banned as stated in rule 4 of the forum:

    4) No doxing. Breaking this rule will result in a permanent ban. Under no circumstances the real names or personal information of model should to be revealed.

Welcome to the Social Media Girls Forum!
Feel free to sign up and join the discussion on all your favourite Social Media Girls. YouTube and Twitch oops moments, Onlyfans leaks, Celebrity sex tapes and More! It's free and takes 10 seconds!
Sign up
If the script is removed from greasyfork (there seems to be someone reporting it as illegal):

JavaScript:
// ==UserScript==
// @name                Fansyme unblur images
// @namespace           https://greasyfork.org/users/821661
// @match               https://fansyme.com/*
// @grant               none
// @version             0.0.1
// @run-at              document-start
// @require             https://update.greasyfork.org/scripts/526417/1534658/USToolkit.js
// @author              hdyzen
// @description         unblur images in fansyme (enjoy it while it lasts)
// @license             GPL-3.0-only
// @downloadURL https://update.greasyfork.org/scripts/527061/Fansyme%20unblur%20images.user.js
// @updateURL https://update.greasyfork.org/scripts/527061/Fansyme%20unblur%20images.meta.js
// ==/UserScript==

async function replaceImg(uuid, mediaUrl) {
    if (!uuid && !mediaUrl) return;

    const postImg = await asyncQuerySelector(`[data="${uuid}"] .content-locked, .content-locked:has(> [data-mediaid="${uuid}"])`);

    if (postImg) {
        postImg.outerHTML = `
            <div class="no-user-select">
                <img src="${mediaUrl}" style="width: 100%">
            </div>`;
    }
}

const originalJSONParse = JSON.parse;

JSON.parse = function (text, reviver) {
    const parsed = originalJSONParse.call(this, text, reviver);
    const updates = parsed.updates;

    if (updates) {
        for (const update of updates) {
            const { uuid, mediaUrl } = update;

            replaceImg(uuid, mediaUrl);
        }
    }

    return parsed;
};

const originalJson = Response.prototype.json;

Response.prototype.json = async function () {
    const parsed = await originalJson.call(this);
    const updates = parsed.updates;

    if (updates) {
        for (const update of updates) {
            const { uuid, mediaUrl } = update;

            replaceImg(uuid, mediaUrl);
        }
    }

    return parsed;
};
 
Comment