您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
解决某些网页flash播放器点击全屏无效的问题 (请求全屏已拒绝,至少一个文档包含的元素不是一个 iframe,或没有"allowfullscreen"属性。 index TypeError: The expression cannot be converted to return the specified type.)
// ==UserScript== // @name Flash iframe allowfullscreen // @namespace https://greasyfork.org/zh-CN/users/306433 // @version 0.2 // @description 解决某些网页flash播放器点击全屏无效的问题 (请求全屏已拒绝,至少一个文档包含的元素不是一个 iframe,或没有"allowfullscreen"属性。 index TypeError: The expression cannot be converted to return the specified type.) // @author baster // @supportURL https://greasyfork.org/zh-CN/users/306433-baster // @homepageURL https://greasyfork.org/zh-CN/users/306433 // @match *://*/* // @run-at document-end // @grant none // ==/UserScript== ;(function () { 'use strict' var iframes = document.getElementsByTagName('iframe') for (var i = 0; i < iframes.length; i++) { iframes[i].setAttribute('allowfullscreen', true) } })()