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.

スクリプトをインストールするには、Tampermonkey, GreasemonkeyViolentmonkey のような拡張機能のインストールが必要です。

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

スクリプトをインストールするには、TampermonkeyViolentmonkey のような拡張機能のインストールが必要です。

スクリプトをインストールするには、TampermonkeyUserscripts のような拡張機能のインストールが必要です。

このスクリプトをインストールするには、Tampermonkeyなどの拡張機能をインストールする必要があります。

このスクリプトをインストールするには、ユーザースクリプト管理ツールの拡張機能をインストールする必要があります。

(ユーザースクリプト管理ツールは設定済みなのでインストール!)

このスタイルをインストールするには、Stylusなどの拡張機能をインストールする必要があります。

このスタイルをインストールするには、Stylus などの拡張機能をインストールする必要があります。

このスタイルをインストールするには、Stylus tなどの拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

(ユーザースタイル管理ツールは設定済みなのでインストール!)

このスクリプトの質問や評価の投稿はこちら通報はこちらへお寄せください
// ==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);