m-team quick jump handler for javlibrary

useful function for m-team quick download

// ==UserScript==
// @name         m-team quick jump handler for javlibrary
// @namespace    http://tampermonkey.net/
// @version      2024-04-15
// @description  useful function for m-team quick download
// @author       some good people
// @match        https://www.javlibrary.com/*
// @icon         https://www.google.com/s2/favicons?sz=64&domain=javlibrary.com
// @license MIT 
// @grant        none
// ==/UserScript==

(function() {
    'use strict';
     const getTargetUrl = (code) => `https://kp.m-team.cc/browse/adult?keyword=${code}`
     const code = $('#avid').attr('avid');
     $('#avid').append(`<a style="display: block;" target="_blank" href="${getTargetUrl(code)}">m-team</a>`);
})();