aremesh / RBtoTV

// ==UserScript==
// @name         RBtoTV
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  LinkToTradingView and Robinhood
// @author       You
// @match        https://robinhood.com/
// @grant        none
// @require      https://code.jquery.com/jquery-3.3.1.slim.js
// @license      MIT
// ==/UserScript==

(function () {
  'use strict';

})();

function LazyLoad() {
  var x = document.getElementsByTagName("section")[5].getElementsByTagName("h4")
  var finalText = "";
  for (var i = 0; i < x.length; i++) {
    finalText += x[i].innerText + ","
  }

  window.open("https://finviz.com/screener.ashx?t=" + finalText.substr(0, finalText.length - 1))
}