ad研究所

针对视频的优化脚本,此脚本可以让用户观看全站视频

Ekde 2024/07/28. Vidu La ĝisdata versio.

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

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

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

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

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

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

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.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

// ==UserScript==
// @name         ad研究所
// @namespace    http://tampermonkey.net/
// @version      10.1
// @description  针对视频的优化脚本,此脚本可以让用户观看全站视频
// @author       kk1223
// @match        https://*.aidou.pro/*
// @match        https://*.aidou.art/*
// @match        https://*.aido2.cc/*
// @match        https://*.aidoo.info/*
// @icon         https://www6.aidou.pro/static/img/logo.png
// @grant        none
// @license MIT
// ==/UserScript==

(function() {
    'use strict';
    //=========The code is generated by Coze==================

     // 创建按钮元素
    var button = document.createElement('button');
    button.innerHTML = '解析视频';

    // 设置样式
    button.style.position = 'fixed';
    button.style.right = '10px';
    button.style.top = '200px';
    button.style.width = '60px';
    button.style.height = '60px';

    // 添加点击事件
    button.addEventListener('click', function() {
        var url = location.href
        var id = url.split('/').pop().split('.')[0];
        var giturl = "https://knciik123.gitlab.io/-/test_aido/-/jobs/7443374469/artifacts/public/index.html?id="+id
        window.open(giturl, '_blank');
    });

    // 将按钮添加到 body 中
    document.body.appendChild(button);
})();