Viser spørgsmål med mærkatet: Vis alle spørgsmål

Download Preference 'browser.download.open_pdf_attachments_inline' not working on new computer

Hi, I have long used the "browser.download.open_pdf_attachments_inline" setting to revert Firefox to the older style of PDF handling. I have recently setup Firefox on a … (læs mere)

Hi,

I have long used the "browser.download.open_pdf_attachments_inline" setting to revert Firefox to the older style of PDF handling. I have recently setup Firefox on a new Windows 11 machine, and this custom preference is no longer working. If I change the somewhat-related "browser.download.start_downloads_in_tmp_dir" setting, then PDFs DO download to the temp folder, and still open in the browser, so I know that at least some custom preferences are working.

I've verified that the prefs.js file for my profile is being updated with the "browser.download.open_pdf_attachments_inline" setting. I've also tried adding it to a user.js file, and that made no difference.

Any thoughts on why this preference is no longer working?

Stillet af db00 for 22 timer siden

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… (læs mere)

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.

Stillet af hans157 for 6 dage siden