您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
21/11/2023, 1:23:44 pm
// ==UserScript== // @name Fix YouTube Embeds - quartersnacks.com // @namespace Violentmonkey Scripts // @match https://quartersnacks.com/* // @grant // @version 1.0 // @author Michael Gale <https://www.michaelgale.dev> // @description 21/11/2023, 1:23:44 pm // @esversion 11 // @license MIT // ==/UserScript== setTimeout(() => { const iframes = [...document?.querySelectorAll('.embed-responsive > iframe')] iframes?.forEach(iframe => { const newSrc = iframe ?.src ?.replace('http://', 'https://') iframe.src = newSrc }) }, 2000)