Den här webbplatsen har begränsad funktionalitet medan vi utför underhåll för att förbättra din upplevelse. Om en artikel inte löser ditt problem och du vill ställa en fråga har vi vår gemenskap som väntar på att hjälpa dig på @FirefoxSupport på Twitter, /r/firefox på Reddit.

Sök i support

Akta dig för supportbedrägerier: Vi kommer aldrig att be dig att ringa eller skicka ett sms till ett telefonnummer eller dela personlig information. Rapportera misstänkt aktivitet med alternativet "Rapportera missbruk".

Läs mer

Feature request: client width customization

more options

When browsing the web at 1920x1080 it is quite annoying to have the page spread on a width of 1920 pixels. I wrote this greasemonkey script (https://openuserjs.org/scripts/Azev/WideScreen_fixer) to fix that. However it uses CSS and JavaScript, so it works well on 90% of pages. I wonder if Mozilla dev team could add an option to about:config so users can set a custom client width. Mozilla team, please be the first to add that functionality to a desktop browser!

When browsing the web at 1920x1080 it is quite annoying to have the page spread on a width of 1920 pixels. I wrote this greasemonkey script (https://openuserjs.org/scripts/Azev/WideScreen_fixer) to fix that. However it uses CSS and JavaScript, so it works well on 90% of pages. I wonder if Mozilla dev team could add an option to about:config so users can set a custom client width. Mozilla team, please be the first to add that functionality to a desktop browser!

Alla svar (9)

more options

Please provide that feedback to Mozilla here: https://input.mozilla.org/en-US/feedback

Or file a Bugzilla report. https://developer.mozilla.org/en/Bug_writing_guidelines

more options
more options

I was also going to mention the responsive design view, which you can call up using Ctrl+Shift+m. (That shortcut also switches out of it.) It has some limitations... For example, it is left-justified instead of centered (probably could be modified using Stylish) and it doesn't have a convenient way to add new dimensions (you have to use about:config). But it does have resizing handles to get the approximate size you want. I guess the point is, there is "something" to start from in the code for a possible future Firefox feature or an add-on author.

more options

it doesn't have a convenient way to add new dimensions (you have to use about:config)

That isn't true: you can resize the view (resize grippy in bottom right corner) and then click the Add Preset item in the drop-down list and give it a name.

more options

cor-el said

it doesn't have a convenient way to add new dimensions (you have to use about:config)

That isn't true: you can resize the view (resize grippy in bottom right corner) and then click the Add Preset item in the drop-down list and give it a name.

Yes, that works well for sizing by eye, but it's a little fiddly if you want very specific dimensions.

Ändrad av jscher2000 - Support Volunteer

more options

Ctrl+Shift+M won't apply for the problem here.

- If I open a new tab I will have to call it again and select the preset. I am looking for something to be set once (imagine how annoying it would be if you have to set up the layout manually everytime you open a new tab!) - It won't center to the screen, it will always be stick to top left corner.

Thanks though

more options

cor-el said

See also:

latest versions: custom geometry ----> November 30, 2010 fireresizer ----> October 16, 2011

completely outdated and besides... I DO NOT WANT TO RESIZE THE WINDOW. I WANT TO RESIZE THE RENDERING VIEW PORT: https://openuserjs.org/scripts/Azev/WideScreen_fixer

more options
more options

A920 said

Ctrl+Shift+M won't apply for the problem here.

Of course, I was only saying there already is code in Firefox to create an arbitrarily sized viewport that someone could use as a starting point. Please see the earlier links about how to submit a feature request and if you don't want to mention this, then never mind.