QupZilla / qupzilla

Cross-platform Qt web browser
http://www.qupzilla.com
GNU General Public License v3.0
1.11k stars 350 forks source link

Custom zoom level for each website #2553

Open ghost opened 6 years ago

ghost commented 6 years ago

Let me suggest you to add the following feature to QupZilla: setting a custom zoom level for each different website or domain. For example there are some websites that use fonts which are too small. Currently every time I visit such websites I need to remember to manually zoom in. If I open a another tab I need to zoom in again.

I'm currently using QupZilla 2.2.3 but it seems it doesn't have this feature.

What do you think?

elcste commented 6 years ago

I'd love this feature too. It's the number one thing I miss from Firefox (and Chrome, for that matter).

@fturco A workaround I've found is using the Greasemonkey plugin to zoom using css. I have a few scripts like the one below with different zoom levels like 110%, 120% and 90%. You can add multiple @match lines, and you can use wildcards to choose subdomains or parts of paths only. I don't see any lag before zooming for most sites with the line

// @run-at      document-start

// ==UserScript==
// @name        Zoom 120%
// @namespace   qupzilla.com
// @description Zooms the page 120%
// @match       *://languagelog.ldc.upenn.edu/*
// @match       *://news.ycombinator.com/*
// @run-at      document-start
// ==/UserScript==

GM_addStyle(`

body {
  zoom: 120% !important;
}

`);
struktured commented 6 years ago

I would also love this feature. I would even be happy if you could memorize the zoom level I set and use it as the default for new tabs. I have a laptop with a small screen and high resolution, so no website is even readable without zooming in first.

tarptaeya commented 6 years ago

@struktured you can set default zoom on new pages using preference -> browsing -> default zoom