您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
This script display gifv by hover on url in thread hinh thu gian gamevn.
当前为
[CODE]// ==UserScript== // @name gif-video appear gamevn // @namespace https://greasyfork.org/en/users/9850-doctorwho // @description This script display gifv by hover on url in thread hinh thu gian gamevn. // @run-at document-end // @version 1.3 // @require http://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js // @include /^https?:\/\/.*.gamevn.com/threads/hinh-thu-gian-version-62-2015-gamevn-chao-nam-moi-de-nghi-khong-an-box-50-nua.1169467/* // ==/UserScript== $("[id^='post-'] a").each(function() { var img, href; href = $(this).attr("href"); var x = 1; if (/imgur.com/.test(href) && !(/<img/.test($(this).firstChild))) { $(this).mouseover(function(){ img = href.split('/'); href = img[img.length-1]; img = $("<div><img src='http://imgur.com/" + href + ".gif'/></div>"); if(x) $(this).after(img); x = 0; }); } });[/CODE]