Userjs not working
-
Deleted User last edited by
I'm trying to add userjs to a website. I went into Site preferences->Scripting->User javascript folder, and selected a folder of choice. In that folder, a file exists that has exactly this code, and nothing else:
alert(0);
Now, when I reload the page, I expect Opera to pick up the script I've put there and execute it.
Sometimes I can see it in the inspector, and sometimes it's nowhere to be found. Whatever the case, it never executes. I'd expect an alert to be the simplest thing to try, to see if a script does anything at all, and sure enough, this should work absolutely fine.
I've tried renaming the script to default.js. For some reason I felt that Opera must pickup script in some sort of order, starting with something, and that something might as well be default.js. But it makes no difference.
So the question is:
How do I make Opera pick up my userjs? -
leocg Moderator Volunteer last edited by
I know nothing about it but it seems more a bookmarklet that an script.
Here is a page about userjs in Opera: http://www.opera.com/docs/userjs/examples/
Note that userjs works only on Opera Presto (Opera 12 and older).