您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
for videos issues on slow devices
// ==UserScript== // @name phtest // @namespace https://sleazyfork.org/fr/users/60332-maxime // @include http://www.pornhub.com/* // @description for videos issues on slow devices // @version 1 // @grant GM_openInTab // @require http://code.jquery.com/jquery-2.1.4.min.js // @run-at document-end // @noframes // ==/UserScript== $(document).delegate("*","click",function(){ var link = $(this).attr('href'); //alert(link); if (link.indexOf("view_video.php?viewkey=") >= 0) { var regex = /view_video\.php\?viewkey=/; link = link.replace(regex, "embed/"); GM_openInTab (link); return false; } });