Embedded YouTube Title Mouseover

Expand truncated titles in embedded YouTube videos on mouseover

目前為 2017-08-09 提交的版本,檢視 最新版本

// ==UserScript==
// @name        Embedded YouTube Title Mouseover
// @description Expand truncated titles in embedded YouTube videos on mouseover
// @include     https://www.youtube.com/embed/*
// @namespace   [email protected]
// @version     1.10
// @grant       None
// ==/UserScript==

setTimeout(function () {
	"use strict";

	function linkText(link) {
		return link.firstChild.nodeValue;
	}

	var links = document.getElementsByClassName("ytp-title-link");
	for (var i = 0; i < links.length; i++) {
		links[i].setAttribute("title", linkText(links[i]));
	}
}, 0);

QingJ © 2025

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