I am trying to use Tamper Monkey to run a JavaScript on particular page.
I am trying to run a simple alert at the store.nba.com
This is my code:
// ==UserScript==
// @name New Userscript
// @namespace https://store.nba.com
// @version 0.1
// @description try to take over the world!
// @author You
// @include https://store.nba.com*
// @grant none
// ==/UserScript==
(function() {
** ‘use strict’;**
** // Your code here…**
** alert(‘Hi NBA’);**
})();
What am I doing wrong?