您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
отключение задержки перед воспроизведением
- // ==UserScript==
- // @name Delay removal Moonwalk
- // @namespace play once
- // @description отключение задержки перед воспроизведением
- // @match *://*/*
- // @version 1.3
- // @run-at document-start
- // @grant unsafeWindow
- // ==/UserScript==
- (function () {
- var w = unsafeWindow || window,
- inIFrame = function() {
- try {
- return w.self !== w.top;
- } catch (e) {
- return true;
- }
- };
- if (!inIFrame)
- return;
- function playonce() {
- if (typeof delay !== undefined)
- delay=0;
- }
- window.addEventListener('load',function() {
- if (w.condition_detected !== undefined) {
- w.request_host_id = "19804";
- var player = document.getElementById('player');
- if (player) player.onclick = function(){
- w.showVideo();
- };
- }
- },false);
- })();