Sleazy Fork is available in English.

JavDB 预览修复

Simply swap the link

// ==UserScript==
// @name         JavDB 预览修复
// @namespace    http://tampermonkey.net/
// @version      2024-12-09
// @description  Simply swap the link
// @author       Jack Lu
// @match        https://javdb.com/v/*
// @icon         https://www.google.com/s2/favicons?sz=64&domain=javdb.com
// @grant        none
// @run-at       document-start
// @license      MIT
// ==/UserScript==



(function() {
    'use strict';

    (new MutationObserver(check)).observe(document, {childList: true, subtree: true});

    function check(changes, observer) {
        if(document.querySelector('#preview-video')) {
            observer.disconnect();
            // actions to perform after #preview-video is found
            swap();
        }
    }

    function swap(){

        var link = document.querySelector('#preview-video > source').src.replace('cc3001', 'pv3001');
        document.querySelector('#preview-video > source').src = link;

    }

})();