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