Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I used to have that with FireGestures in Firefox, and with a simple gesture I would wipe off a DOM element. (great for deleting flash advertising)
So are user scripts in opera only runnable on every page load and not under specific circumstances like keyboard strokes or mouse gestures?
If so, how?

PS: My OS is MacOS but this question is most likely OS-independent.

share|improve this question

1 Answer 1

up vote 1 down vote accepted

you are right. Userscripts are only executed once on page load. A manual execute per keystroke/gesture is not possible.

But maybe it is possible to rewrite the userscript and add an event handler which listens to your keystroke, and that keystroke can be executed by a gesture.

http://www.opera.com/docs/userjs/examples/#loadingscripts

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.