Stock Twits User Script – Better Stock Twits

Stock Twits User Script
Stock Twits User Script

What is a Userscript?

Userscripts (a.k.a User Scripts, User scripts, or .user.js ) are open-source licensed add-ons for web browsers that change web pages as they are loaded. They give users the power to make websites do what they want them to, rather than what was originally intended.

How do I Install the Stock Twits User Script – Better Stock Twits?

You will first need a userscript manager for your browser. For Firefox, you can download Grease Monkey and for Google Chrome, you can download Tamper Monkey. After you have the manager installed, you can install Better Stock Twits by either:

  1. Installing the script from Greasy Fork and clicking Install this Script.
  2. Clicking the Icon and “Add a New Script and paste the following code in the text editor and Saving.
View Better StockTwits Source Code

// ==UserScript==
// @name Better Stocktwits
// @description Better StockTwits
// @author
// @version 0.1
// @include http*://*
// @include http*://**
// @namespace Firepetal
// ==/UserScript==
//Link Location URL’s
var NASDAQ = “”;
var GOOGLE = “”;
var YAHOO = “”;
var FINVIZ = “”;
var SALPHA = “”

//Get the div tag where we want to add our links. This will not work with IE 8 or before.
var x = document.getElementsByClassName(“ticker-container”);

//Parse the stock symbol from the URL
var symbol = window.location.pathname.match(/\/symbol\/(.*)/)[1];
for (i = 0; i < x.length; i++) {
x[i].innerHTML = x[i].innerHTML + “<b>Financials:</b>&nbsp;” +
“<a href='” + NASDAQ + symbol +”‘ target=’_blank’>Nasdaq</a>” + “&nbsp;|&nbsp;” +
“<a href='” + GOOGLE + symbol +”‘ target=’_blank’>Google Finance</a>” + “&nbsp;|&nbsp;” +
“<a href='” + YAHOO + symbol + “‘ target=’_blank’>Yahoo Finance</a>” + “&nbsp;|&nbsp;” +
“<a href='” + FINVIZ + symbol +”‘ target=’_blank’>Finviz</a>” + “&nbsp;|&nbsp;” +
“<a href='” + SALPHA + symbol +”‘ target=’_blank’>Seeking Alpha</a>”;

Is it Safe?

The Better Stock Twits script is 100% safe to use. It collects no data from you nor does it inject any malicious code. All the script does is add URL links under the stock ticker in stocktwits.

Why did you make it?

Whenever I am glutton for punishment, I like to browse stock twits and see what people are saying about certain stocks. I also like discovering some stocks that I never heard of. It got irritating when I would stumble across a new stock and would have to manually search for its financial information instead of just clicking and viewing it’s information. Of course, never trust anybody when it comes to stock, always do your own Due Diligence.


Stock Twits User Script

Stock Purchase – MAIN- Beginner Dividend Portfolio

Stock Purchase – MAIN

MAIN_logoMain Street Capital Corporation (MSCC) is a principal investment firm which provides customized debt and equity financing to lower middle market (LMM) companies and debt capital to middle market (Middle Market) companies.


[stock_ticker symbols=”MAIN” show=”symbol”  static=”1″]

DIV Yield:   6.82%
P/E Ratio: 14.58

Since I now own 77 shares, this will make my portfolio’s projected annual net dividend income $166.32 (not including the special dividend months).

That increase rises my YOC to 7.3%.

Dividend History

MAIN has been paying steady monthly dividends since January 2009. They are decently consistent on raising the dividend every year, with one or two blemishes and currently sits at 18¢ a share. You can see their entire dividend history here.

For the last two years, they have been paying a special dividend of 0.275 cents a share on the 6th and 12th month of the year. I will not be basing my calculations with the special dividend and will just assume the regular dividend.

Stock Purchase – MAIN Transactions

2015-11-11 Bought: 10 shares of MAIN at $30.35 per share: $ 303.50
2015-12-14 Dividend on 10 shares at 18¢ per share: $ 1.80
2015-12-24 Dividend on 10 shares at 0.275¢ per share $ 2.75
2015-12-28 Bought 10 shares of MAIN at $29.95 per share $ 299.50
2015-12-30 Bought 10 shares of MAIN at $29.25 per share $ 292.50
2016-01-13 Bought 2 shares of MAIN at $28.10 per share $ 56.20
2016-01-15 Dividend on 10 shares at 0.18¢ per share $ 1.80
2016-01-20 Bought 15 shares of MAIN at $26.50 per share $ 397.50
2016-02-01 Bought 5 shares of MAIN at $28.25 per share $ 141.25
2016-02-17 Dividend on 32 shares at 18¢ per share: $ 5.76
2016-03-15 Dividend on 52 shares at 18¢ per share: $ 9.36
2016-04-15 Dividend on 52 shares at 18¢ per share: $ 9.36
2016-04-28 Bought 25 shares of MAIN at $31.38 per share $ 784.50
 Total Capital Invested  $ 2,274.95
Total Dividends Received: $ 30.83

As of the time of this post, I’m currently up 5.97% on my capital on top of the dividends I have received. Not bad for a Dividend Beginner!

Stock Purchase – MAIN

Perhaps I bought too high this time, but with the special dividend coming out and the fact that I wanted to increase my Beginner Dividend Portfolio to begin with, it seemed like a right call to begin with. Next time, I will wait until MAIN manages to dip below $30 a share.


Click here to see my portfolio holdings.


Dividend Noob’s April Dividend Payout

April has come and passed as fast as anyone could imagine. Dividend Payout is one of the most important criteria for Dividend investors. If a company doesn’t pay, you don’t get paid.There is an influx of dividend payout this month and I welcome them all with open arms!  Not bad for a Beginner Dividend Portfolio.

Stocks with Dividend Payout

  • RAI –    20 shares @ $0.42 = $8.40
  • KO –     50 shares @ $0.35 = $ 17.50
  • WMT – 17 shares @ $0.50 = $8.50
  • MAIN– 52 shares @ $0.18 = $9.36
  • STWD-40 shares @ $0.48 = $19.20
  • CSCO – 30 shares @ $0.26 = $7.80
  • ARR–    40 shares @ $0.27 = $10.80
  • SPY–        4 shares @ $1.05 = $4.20

Total for April : $85.76

Being a Dividend Beginner, I’m even more excited that the stocks listed in the April Dividend Payout all have a positive return for myself. I managed to buy them all when the market took a hit in January.


Not too bad for Beginner Dividend Portfolio at all!

Dividend Noob Dividend Payout Image