VRPorn.com QOL

Automatically expands scene information drop down on vrporn.com. Applies scene sorting by newest as default to all URLs under vrporn.com.

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

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

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         VRPorn.com QOL
// @description  Automatically expands scene information drop down on vrporn.com. Applies scene sorting by newest as default to all URLs under vrporn.com.
// @version      2025-08-06
// @author       ‘Google “Google ‘Google User’ User” User’
// @match        https://vrporn.com/*
// @icon         http://vrporn.com/favicon.ico
// @grant        none
// @namespace https://greasyfork.org/users/1367889
// ==/UserScript==


function show_more() {
    const sm = document.querySelector('.showmore');
    if (sm) {
        sm.click();
    }
}

function append_sort_newest() {
    const els = document.getElementsByTagName('a');

    for (let url of els) {
        if (url.href.indexOf('sort=') !== -1) continue;

        if (url.href.includes('new/') || url.href.includes('tag/') || url.href.includes('all/') || url.href.includes('studio/') || url.href.includes('pornstar/')) {
            if (url.href.indexOf('?') === -1) {
                url.href = url.href + "?sort=newest";
            } else {
                url.href = url.href + "&sort=newest";
            }
        }
    }
}



window.addEventListener('load', function() {
    setTimeout(append_sort_newest, 1000);
}, false);


window.addEventListener('load', function() {
    setTimeout(show_more, 100);
}, false);