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...
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 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...
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...
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&#...
I have a code that works only in IE anb I was looking for something similar in FF and Chrome to set user's default homepage through a link 'click here to make this site your default homepage', but so far I didn't find anything.  Doe...
Is there an efficient way to tell if a DOM element (in an HTML document) is currently visible (appears in the viewport)?  (The question refers to Firefox.)...
In IE, I can just call element.click() from JavaScript - how do I accomplish the same task in Firefox?  Ideally I'd like to have some JavaScript that would work equally well cross-browser, but if necessary I'll have different per-browser Ja...
Since version 42, Firefox, by default, refuses to install unsigned add-ons. How do I disable this verification?...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.