MLBTSN Completed Orders Helper 19

Get the Chrome script

  1. // ==UserScript==
  2. // @name MLBTSN Completed Orders Helper 19
  3. // @namespace https://greasyfork.org/en/users/8332-sreyemnayr
  4. // @version 2019.5.1.1
  5. // @description Get the Chrome script
  6. // @author sreyemnayr
  7. // @exclude https://mlb19.theshownation.com/community_market*
  8. // @match https://mlb19.theshownation.com/*
  9.  
  10. // ==/UserScript==
  11. //var notified = false;
  12.  
  13.  
  14. (function() {
  15. 'use strict';
  16. var updateDialog = document.createElement('div');
  17. updateDialog.title = "MLBTSN Helper - Chrome Extension ";
  18. var updateInnerHTML = '<i>The UserScripts are no longer being updated.</i><a href="https://chrome.google.com/webstore/detail/mlb-the-show-nation-helpe/edgciopoaccbichgmbdheglfjbnfhhfd">Click here</a> to download the Chrome extension.';
  19. updateDialog.innerHTML = updateInnerHTML;
  20.  
  21.  
  22. $( updateDialog ).dialog({
  23. resizable: false,
  24. height: "auto",
  25. width: 400,
  26. modal: true,
  27. buttons: {
  28. "Got It!": function() {
  29. localStorage.setItem('tsn-versionUpdate-'+scriptName, currentVersion);
  30. $( this ).dialog( "close" );
  31. },
  32. Cancel: function() {
  33. $( this ).dialog( "close" );
  34. }
  35. }
  36. });
  37. })();