返回首頁 

Greasy Fork is available in English.

Disable full screen api

When wathcing Youtube, double click won't enable fullscreen mode.


Installer dette script?
// ==UserScript==// @name         Disable full screen api// @namespace    http://tampermonkey.net/// @version      1.0// @description  When wathcing Youtube, double click won't enable fullscreen mode.// @author       [email protected]// @match        https://www.youtube.com/watch*// @icon         https://www.google.com/s2/favicons?sz=64&domain=hibbard.eu// @grant        none// ==/UserScript==(function() {'use strict';document.documentElement.requestFullscreen = function () {console.log('HTML5 Fullscreen mode is disabled from Tampermonkey script.');return false;};})();