Autoscroll doesn't work in Opera 10.5x
![]() ![]() |
Yeah. |
![]() ![]() |
Try the new version. It works in Opera 10.53. |
![]() ![]() |
Still doesn't scroll. |
![]() ![]() |
Hmm. I don't know what the problem is then. I removed every other userscript except the latest version on here and it works fine for me (in Opera 10.53). Try removing all other scripts except for this one and see if that works. If it does, then another script is probably interfering somehow. |
![]() ![]() |
Tried that, still no dice. :/ |
![]() ![]() |
Do you have userjs enabled? Do other scripts work? If not, go to Tools > Preferences > Advanced > Content > JavaScript Options and enter a path to a folder on your computer and make sure the script is in that folder. If all of that is set correctly, then open the .js file and add the following text right below the line that says "// ==/UserScript==": alert("Working"); Then save it and visit a submission page on FA. If you get a prompt saying "Working" then at least the script is loading. Also tell me the URL in your address bar when viewing a submission page, there's a chance you're using a form not included in the Include line in the script. |
![]() ![]() |
I use lots of scripts, which all work. Added the alert thing, it popped up on submission pages, but no autoscrolling. This is the randomly-selected submission I tested with: http://www.furaffinity.net/view/3999592/ |
![]() ![]() |
Alright. Now, add the line " alert("Image found"); " right below the bracket under " if (document.getElementById("submissionImg")) " line Also, add the line " alert("Finished"); " under the line " window.scrollBy(curleft - 5,curtop - 5); " Then tell me which alert(s) pops up. |
![]() ![]() |
Did so. Neither alert came up. Weird. |
![]() ![]() |
Hmm, I dunno what to tell you, that seems to indicate that there's no element on the page with the id "submissionImg", which there is (it's the main image on the page). |
![]() ![]() |
Here's how to get it to work in Opera. You may want to add this to the script's description. When saving it, Opera users should save it with just ".js" at the end, not ".user.js". Opera gives different 'permissions' to scripts, and I guess what this script does is one of the ones that ".user.js" scripts aren't 'allowed' to do. Also, I noticed that it autoscrolls on images, stories, poetry, and even music, but not on flash. Is that on purpose? |

