您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Add StockCharts, YahooFinance AND stockTwits links to any CashTag .
当前为
// ==UserScript== // @name TwitterCashtag // @namespace https://greasyfork.org/en/scripts/10126-twittercashtag // @version 0.1 // @description Add StockCharts, YahooFinance AND stockTwits links to any CashTag . // @include *.twitter.com/* // @copyright Daif Alotaibi E-mail: [email protected] // ==/UserScript== function appendLinksToTwitterCashtag() { $('a.twitter-cashtag:not(".CashTagAdded")').each(function(){ $(this).after(' [<a href="http://stockcharts.com/h-sc/ui?s='+$('b',this).html()+'">StockCharts</a>'); $(this).after(' , <a href="http://finance.yahoo.com/q?s='+$('b',this).html()+'">Yahoo</a>'); $(this).after(' , <a href="http://stocktwits.com/symbol/'+$('b',this).html()+'">StockTwits</a>]'); $(this).addClass('CashTagAdded'); }); setTimeout( appendLinksToTwitterCashtag, 300 ); } $(document).ready( function(){ appendLinksToTwitterCashtag(); });