// ==UserScript== // @name YahooFinance // @namespace https://greasyfork.org/en/scripts/10358-YahooFinance // @version 0.2 // @description Add StockCharts AND stockTwits links to YahooFinance . // @include http://finance.yahoo.com/* // @require http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js // @copyright Daif Alotaibi E-mail: daif55@gmail.com // @downloadURL none // ==/UserScript== $(document).ready( function(){ if($('div.title h2').length>0 ) { $symbol = $(this).text().match(/\((.+)\)/)[1]; $links = ' '; $links += 'StockCharts'; $links += ' , StockTwits'; $links += ' '; $(this).after($links); } });