Showing questions tagged: Onyesha maswali yote

Rebind navigation keys on text input textarea fields possible all firefox text inputs

I have already read all the articles that I could find about how to rebind keys in firefox. I understand the concept of the autoconfig file, have created one for normal s… (read more)

I have already read all the articles that I could find about how to rebind keys in firefox. I understand the concept of the autoconfig file, have created one for normal settings.

But as I understand it I could also rebind keys there with this snippet

``` try {

 let { classes: Cc, interfaces: Ci, manager: Cm  } = Components;
 const Services = globalThis.Services;
 const {SessionStore} = Components.utils.import('resource:///modules/sessionstore/SessionStore.jsm');
 function ConfigJS() { Services.obs.addObserver(this, 'chrome-document-global-created', false); }
 ConfigJS.prototype = {
   observe: function (aSubject) { aSubject.addEventListener('DOMContentLoaded', this, {once: true}); },
   handleEvent: function (aEvent) {
     let document = aEvent.originalTarget; let window = document.defaultView; let location = window.location;
     if (/^(chrome:(?!\/\/(global\/content\/commonDialog|browser\/content\/webext-panels)\.x?html)|about:(?!blank))/i.test(location.href)) {
       if (window.Tabbrowser) {
         // Place your keyboard shortcut changes here
         // ...
         // ...


       }
     }
   }
 };
 if (!Services.appinfo.inSafeMode) { new ConfigJS(); }

} catch(ex) {}; ```

But the missing piece is the instructions to set the binding for :

alt-j : move one char to the left alt-i : move up one line alt-k : move down one line alt-l : move one char to the right

The closest I get to understand this is with this other snippet

``` // remap Ctrl-J to downloads (removing it from focusing the browser bar) let search2 = window.document.getElementById('key_search2') search2.remove(); let openDownloads = window.document.getElementById('key_openDownloads') openDownloads.setAttribute("modifiers", "accel"); openDownloads.setAttribute("key", "J"); ```

But in this case I need to know the values to substitute "key_search2" for the corresponding key bindign "key_charleft","key_previouschar","key_charprev","cmd_charprev"?

Any information on how to accomplish that would be greatly appreciated, thanks.

Asked by hans157 3 days ago

"browser.newtabpage.activity-stream.improvesearch.handoffToAwesomebar"

i dontae to you every fucking month and now on windows 11 "browser.newtabpage.activity-stream.improvesearch.handoffToAwesomebar" has stoped working when i change to false… (read more)

i dontae to you every fucking month and now on windows 11 "browser.newtabpage.activity-stream.improvesearch.handoffToAwesomebar" has stoped working when i change to false what the fuck am i supposed to do now

Asked by walkerprice1 4 days ago

Firefox automatically redirects despite enabling 'accessibility.blockautorefresh'

Steps to reproduce- (1) Enable 'accessibility.blockautorefresh' in 'about:config' (This is said to ask for permission before redirecting) (2) Go here (3) End up here wit… (read more)

Steps to reproduce- (1) Enable 'accessibility.blockautorefresh' in 'about:config' (This is said to ask for permission before redirecting) (2) Go here (3) End up here without permission

Extensions I'm using- Privacy Badger, uBlock origin, clearURLs and Show/hide passwords

Another question, does enabling this setting also stop internal redirection?

Asked by Viraj Bijpuria 6 days ago

Last reply by Viraj Bijpuria 6 days ago