OnlyFans Full-Sized Profile Picture & Header

View full-sized OnlyFans profile picture and header

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         OnlyFans Full-Sized Profile Picture & Header
// @namespace    https://tesomayn.com/
// @version      1.0.0
// @description  View full-sized OnlyFans profile picture and header
// @icon         https://www.google.com/s2/favicons?domain=onlyfans.com
// @author       TesoMayn
// @match        https://onlyfans.com/*
// @grant        none
// @license      MIT, https://www.mit.edu/~amini/LICENSE.md
// @run-at       document-idle
// @copyright    2021, TesoMayn (https://TesoMayn.com)
// ==/UserScript==

(function() {
    'use strict';

    document.addEventListener('click', function (event) {
        if (event.target.matches('.g-avatar > img')) {
            window.open(event.target.src.replace(/thumbs\/[a-z0-9]+\//, ''), '_blank');
        } else if (event.target.matches('.b-profile__header__cover-img')) {
            window.open(event.target.src.replace(/thumbs\/[a-z0-9]+\//, ''), '_blank');
        } else {
            return false;
        }
    }, false);

})();