opera 9.10


Recommended Posts

hey guys, i tried searching on google and here, and i can't seem to find a fix for this.

any way to change alt+s so that it does the reply function?

i changed it in FF2.x and IE7 is set on default, but iono how to change it in opera.

thanks.

Link to comment
Share on other sites

I believe you might need to press shift+esc to bring up the list of quick access keys, although I don't know if it will work in this case.

Link to comment
Share on other sites

  • 2 weeks later...

Go to opera:config and type User

Go down to the User Pref segment, and click Always Load User Javascript and User Javascript

In the User Javascript File, type something like "C:\Users\user\AppData\Roaming\Opera\Opera\profile\UserJS.js" (I'm using Vista)

In XP it will be Document & Settings, Local Settings, Applications (or something like that)\opera\...

Anyway create a UserJS.js file in notepad and paste this code

window.opera.addEventListener('BeforeEvent.click',clickEvent,false);
document.onkeydown = buttonPress;

var nplCurrentForm;

function altS()
{
if(nplCurrentForm == null) return;
try
{
nplCurrentForm.submit();
}
catch(ex)
{
nplCurrentForm.submit.click(); //in case "submit" is actually a button which overrides the submit method of the form
}
}

function clickEvent(e)
{ 
if(e != null)
buttonPress(e.event)
}

function buttonPress(e)
{
if(e !=null)
if(e.target != null)
if(e.target.form != null)
nplCurrentForm = e.target.form;
}

Save it and put it in whatever directory path u had written above

Now back in Opera, go to Tools>Preferences>Advanced>Shortcuts>Keyboard>Edit your keyboard layout

Under Application

Create a new entry with values

s alt on the left hand side

"Go to page, "java script:altS()"

on the right hand side..

save it and you should be done after restarting opera

:)

Link to comment
Share on other sites

  • 1 month later...

Remove the space " " between java and script, the forum automatically puts that there, so if you remove that it should work.

Link to comment
Share on other sites

  • 1 year later...

Hello.

Opera is the best browser for forums, it opens forums so fast in compare with IE and FF and Chrome and any browser. That's reason why I need Alt+s feature which misses for odd reason in Opera.

I tried this script. I'm not sure what I'm doing wrong but when I post something in field and use Alt+S Opera brings me back in the same page with empty post field.

Here is screenshot of shortcutes. Tell me what's wrong and help me how to add Alt+S to Opera? :D

10fcl15.jpg

Edit: Oh, what happened? I used Alt+S here and it worked but in another forum don't work!? I guess this scrtipt not work in phpbb forums. :(

Link to comment
Share on other sites

Didn't realize that it doesn't work on phpbb forums..

I got that code from somewhere on the internet years ago..and attempts to look for the original source only brings me back to my own post...so sorry I can't help :(

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.