您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Mouse over small text on Metafilter to embiggen it.
当前为
- // ==UserScript==
- // @name Embiggen the Smallest Metafilter
- // @namespace http://example.com/embiggen_the_smallest_metafilter
- // @description Mouse over small text on Metafilter to embiggen it.
- // @include http://metafilter.com/*
- // @include http://*.metafilter.com/*
- // @version 0.0.1.20140524193823
- // ==/UserScript==
- var smallStuff = document.evaluate(
- "//small", document, null,
- XPathResult.ORDERED_NODE_SNAPSHOT_TYPE, null);
- for (var i = 0; i < smallStuff.snapshotLength; i++) {
- var smallThing = smallStuff.snapshotItem(i);
- smallThing.addEventListener('mouseover', onSmallThingMouseover, false);
- }
- function onSmallThingMouseover(ev) {
- this.style.fontSize = '100%';
- }