Title: [JavaScript] patch1-homepage-sidebar-twily Author: Twilypastes Pastebin link: http://pastebin.com/nXf6em3C First Edit: Sunday 20th of September 2015 03:55:54 PM CDT Last Edit: Sunday 20th of September 2015 03:55:54 PM CDT /*         Author:       Twily                                                                 2015         Description:  Optional patch for using "!i" before (in front of) the search query string         Original:     http://twily.info/firefox/homepage-sidebar.html         Instructions: Replace the original 'handleQuery' function with the code below */   function handleQuery(e,q) { // Handle search query     var key=e.keyCode || e.which;       if(key==13) { // Enter         //var x=q.lastIndexOf("!");         var x=q.indexOf("!");           //if(x!=-1 && x>=q.length-2) {         if(x==0) {             for(var i=0;i