I'm using the Chrome browser with the Tampermonkey extension. I need to write a script that can run on the Google Trends page, but after several trials and errors, I still can't get it work.
My code:
// ==UserScript==
// @name run on google trends page
// @namespace http://use.i.E.your.googleTrends.com
// @version 0.1
// @description I'm trying to get this script work,please help.
// @match https://www.google.com/trends/explore#q=apple
// @require http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js
// @copyright 2012+, You
// ==/UserScript==
$(document).ready(function(){
alert("This script works!");
});