You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've written a user.js script for a webpage. The script uses the above pertinent information. The webpage already has scripts (i didn't write these) running which control timers, a running clock and a marquee. But the user script I've created, which prompts the user for a name, stops all scripts from running after the ok or cancel button is clicked. I've narrowed the entire script down to only a function call (with all other code removed from the script) where the function declares a variable and assigns the value of a prompt to that variable. That's when my user script stops running and also the original javascript running the timers, running clocks and marquee stop running as well.
getName();
function getName(){
var p;
p = prompt('Enter your name: ', '');
};
Other noteables...the original page includes JQuery 1.4.2.
The text was updated successfully, but these errors were encountered:
Greasemonkey 0.9.13
Firefox 8.0
JQuery 1.7.0
I've written a user.js script for a webpage. The script uses the above pertinent information. The webpage already has scripts (i didn't write these) running which control timers, a running clock and a marquee. But the user script I've created, which prompts the user for a name, stops all scripts from running after the ok or cancel button is clicked. I've narrowed the entire script down to only a function call (with all other code removed from the script) where the function declares a variable and assigns the value of a prompt to that variable. That's when my user script stops running and also the original javascript running the timers, running clocks and marquee stop running as well.
getName();
function getName(){
var p;
p = prompt('Enter your name: ', '');
};
Other noteables...the original page includes JQuery 1.4.2.
The text was updated successfully, but these errors were encountered: