Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
I'm sure there is a way to do this
#1
I want to make a Javascript so that whenever I'm about to load a new page, a confirm() box comes up, and if I choose 'No', I stay on the previous page (or redirect to a page of my choice).
If I choose 'Yes', the new page loads normally.

I'm using Firefox.

Anyone know how I'd go about it?
Reply
#2
Sounds like just the task for greasemonkey, although I've never used it. You'll have to write the javascript, but Greasemonkey will let it be automatically done on every page.

May I ask why you want to do this? Seems like it'd get really annoying really fast.
Reply
#3
Spaz Wrote:May I ask why you want to do this? Seems like it'd get really annoying really fast.
Procrastination control. Though knowing me, I'd eventually just turn it off when I'm not supposed to.

Hm, I'll look into greasemonkey.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)