way2quik Posted February 15, 2007 Share Posted February 15, 2007 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 https://www.neowin.net/forum/topic/539015-opera-910/ Share on other sites More sharing options...
+unabatedshagie Subscriber¹ Posted February 15, 2007 Subscriber¹ Share Posted February 15, 2007 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 https://www.neowin.net/forum/topic/539015-opera-910/#findComment-588322415 Share on other sites More sharing options...
way2quik Posted February 15, 2007 Author Share Posted February 15, 2007 test. doing shift + esc brings up a pop up, then i press S to reply. hmm.. Link to comment https://www.neowin.net/forum/topic/539015-opera-910/#findComment-588322436 Share on other sites More sharing options...
JOHW Posted February 27, 2007 Share Posted February 27, 2007 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,falseent.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 https://www.neowin.net/forum/topic/539015-opera-910/#findComment-588353732 Share on other sites More sharing options...
sweez Posted April 7, 2007 Share Posted April 7, 2007 tried johw's solution, but when i press alt-s it opens up a new tab which searches what i've written in the post on google :unsure: Link to comment https://www.neowin.net/forum/topic/539015-opera-910/#findComment-588459220 Share on other sites More sharing options...
Niels. Posted April 7, 2007 Share Posted April 7, 2007 Remove the space " " between java and script, the forum automatically puts that there, so if you remove that it should work. Link to comment https://www.neowin.net/forum/topic/539015-opera-910/#findComment-588459262 Share on other sites More sharing options...
Inter_XYZ Posted October 27, 2008 Share Posted October 27, 2008 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 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 https://www.neowin.net/forum/topic/539015-opera-910/#findComment-590027638 Share on other sites More sharing options...
wellofsouls Posted October 28, 2008 Share Posted October 28, 2008 it depends on the forum software support the script, of course. Link to comment https://www.neowin.net/forum/topic/539015-opera-910/#findComment-590032726 Share on other sites More sharing options...
Inter_XYZ Posted October 28, 2008 Share Posted October 28, 2008 Maybe someone got working script for phpbb? :) Link to comment https://www.neowin.net/forum/topic/539015-opera-910/#findComment-590032906 Share on other sites More sharing options...
JOHW Posted October 29, 2008 Share Posted October 29, 2008 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 https://www.neowin.net/forum/topic/539015-opera-910/#findComment-590042480 Share on other sites More sharing options...
Inter_XYZ Posted October 29, 2008 Share Posted October 29, 2008 No problem. Thanks. :) Link to comment https://www.neowin.net/forum/topic/539015-opera-910/#findComment-590042668 Share on other sites More sharing options...
Recommended Posts