Toggle hardware acceleration and enhance web performance
当前为
// ==UserScript==
// @name Hardware Acceleration and Web Performance Enhancer
// @namespace http://tampermonkey.net/
// @version 0.1
// @description Toggle hardware acceleration and enhance web performance
// @author Tae
// @match *://*/*
// @grant none
// @license MIT
// ==/UserScript==
(function() {
'use strict';
// Load Quicklink
const script = document.createElement('script');
script.src = 'https://unpkg.com/[email protected]/dist/quicklink.umd.js';
script.onload = () => quicklink.listen();
document.head.appendChild(script);
// Instructions for enabling QUIC and Windows Occlusion
alert('To enable QUIC, go to chrome://flags/#enable-quic and enable it.\nTo enable Windows Occlusion, go to chrome://flags/#calculate-native-win-occlusion and enable it.');
})();