您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Links the item's name to the item in the sell item page.
// ==UserScript== // @name Link Gaia Item's While Selling // @description Links the item's name to the item in the sell item page. // @include http://www.gaiaonline.com/marketplace/mystore/sell/?item_id=* // @include http://gaiaonline.com/marketplace/mystore/sell/?item_id=* // @version 0.0.1.20140525024114 // @namespace https://greasyfork.org/users/2178 // ==/UserScript== var get = document.getElementById('vend_detail').getElementsByTagName('h1')[0]; var url =document.location.href; var start = url.indexOf('=')+1; var stop = url.indexOf('&'); var id= url.substring(start,stop); get.innerHTML='<table width="98%"><tr><td><a target="_blank" href="/marketplace/itemdetail/'+id+'">'+get.innerHTML+'</a></td>'+'<td align="right">Search for <a href="http://www.tektek.org/gaia/item_search.php?s='+get.innerHTML.replace(/ /,' ')+'" target="_blank">'+get.innerHTML+'</a> on <a target="_blank" href="http://tektek.org">Tektek.org</a></td></tr></table>';