Ever since the new Greasemonkey 1.0 was released a few days ago, every site that has jQuery and where I use jQuery in my Greasemonkey script do not run my script properly. The jQuery I have in my GS script (using the @require metadata) conflicts wi...
When using window.onbeforeunload (or $(window).on("beforeonload")), is it possible to display a custom message in that popup?  Maybe a small trick that works on major browsers?  By looking at existing answers I have the feeling this was pos...
I have a timer in my JavaScript which needs to emulate clicking a link to go to another page once the time elapses. To do this I'm using jQuery's click() function. I have used $().trigger() and window.location also, and I can make it work a...
window.popup = window.open($(this).attr('href'), 'Ad', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0');  $(window.popup).onload = function()         {                 alert("Popup has loaded a page");...
I am creating a datetime string that looks like this:  2010-07-15 11:54:21  And with the following code I get invalid date in Firefox but works just fine in Chrome  var todayDateTime = year + '-' + month + '-' + day + ' ' +...
I am having issues with this very basic Greasemonkey script, most likely with the metadata configuration.   Here is the full source of the basic file  // ==UserScript== // @name        Google Hello // @namespace   https://google.com // @description...
I've made a page for a client and I initially was working in Chrome and forgot to check if it was working in Firefox. Now, I have a big problem because the whole page is based upon a script that doesn't work in Firefox.  It's based on a...
When I use the back button on Firefox to reach a previously visited page, scripts on that page won't run again.  Is there any fix/workaround to have the scripts execute again when viewing the page the second time?  Please note that I have teste...
When i played with <input type="range">, Firefox triggers an onchange event only if we drop the slider to a new position where Chrome and others triggers onchange events while the slider is dragged.  How can i make it happen on draggi...
I have the following code in test.js which is run right before </body>:  alert('stovetop'); alert(greasy);   I have the following code in test.user.js:  (function () {      'use strict';     var greasy = 'greasy variable&#...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.