您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Links trade items to a market search (only items that were in the trade window when it the page loaded)
// ==UserScript== // @name GaiaOnline: Link Trade Items (Double Click) // @namespace http://userscripts.org/users/62850 // @description Links trade items to a market search (only items that were in the trade window when it the page loaded) // @include http://www.gaiaonline.com/gaia/bank.php* // @version 0.0.1.20140525024111 // ==/UserScript== var eles=document.getElementById('trade_panel'); if(eles){ eles=eles.getElementsByClassName('item_image'); for(var i=0;i<eles.length;i++){ eles[i].setAttribute('ondblclick',"window.open('/marketplace/itemsearch/?search="+escape(eles[i].title)+"&filter=0&floor=0&ceiling=No+Limit')"); } }