YouTube Hidden Tag Viewer

Display hidden tags above Video's title

目前为 2022-05-25 提交的版本。查看 最新版本

// ==UserScript==
// @name         YouTube Hidden Tag Viewer
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  Display hidden tags above Video's title
// @author       eggplants
// @homepage     https://github.com/eggplants
// @match        https://*.youtube.com/*
// @grant        none
// @license      MIT
// ==/UserScript==

/* jshint esversion: 6 */

(function() {
    "use strict";

    const tags = [];
    document.querySelectorAll('meta[property="og:video:tag"]').forEach(
        x=>tags.push(x.content)
    );
    const tag_elm = document.createElement('p');
    tag_elm.textContent = `tags: [${tags.join(", ")}]`;
    document.getElementById("super-title").appendChild(tag_elm);
}());

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址