NoBorder Firefox When Maximized

Kwin Scripts

Source i (link to git-repo or to original if based on someone elses unmodified work):

Add the source-code for this project on opencode.net

2
Become a Fan
6.8

Description:
Hide the firefox titlebar when maximized.

Note: Newer versions of Firefox have the option to use client side decorations, which lets Firefox draw tabs in the "titlebar". You might find that more useful than this script.

* Visit `about:config` in the address bar
* Set `browser.tabs.drawInTitlebar` to `true`
* Restart firefox

Ratings & Comments

14 Comments

mirkogennari

10 10 the best

marcelfox

10 10 the best

c8545

9 +

c8545

thankkkk youuuuuuuuuuuuuuuuuuuuuuuuu :-D

Zren

Oh right, forgot about this. Newer versions of Firefox have the option to use client side decorations, which lets Firefox draw tabs in the "titlebar". You might find that more useful than this script. * Visit `about:config` in the address bar * Set `browser.tabs.drawInTitlebar` to `true` * Restart firefox

c8545

Well.. that doesn't work that well for me. unmaximized windows arent movable and can't resize them. humm

Zren

The "titlebar area" next to where the tabs are should be draggable. You can also use the KWin shortcuts: Hold Alt+Left Click anywhere + Drag to move any window. Hold Alt+Right Click + Drag to resize any window.

c8545

plus they look weird without any border at all when unmaximized. looks too broken

Zren

Fair enough. Glade this script helped then. :]

c8545

Thank you once again for this. works perfectly until firefox behaves correctly (like chrome), if it will someday

azarilh

Thank you for the script, used since some months ago and worked well BUT FINALLY... Mozilla solved this problem forever, finally... https://www.omgubuntu.co.uk/2018/05/firefox-60-download

Warmuser

Wonderful, thanks. Please, can you support also Tor, Chrome/Chromium and Opera Browsers? Really great idea, thanks again! :)

hiersinddrachen

Hi! Nice script, but one question: when starting a new Firefox instance that is already maximized, the script does not seem to get triggered - only when I manually maximize the window. Do you encounter the same behaviour?

Zren

Good catch. Missed that condition. Turns out it's not currently possible to detect if the window is maximized when the window is created (as far as I can tell). So I need to fix that first. https://bugs.kde.org/show_bug.cgi?id=387097

Pling
0 Affiliates
Details
license GPLv2 or later
version 1
updated
added
downloads 24h 0
mediaviews 24h 0
pageviews 24h 2

More Kwin Scripts from Zren:

Un-Minimize FullScreen On Desktop Switch
Zren
last update date: 6 years ago

Score 5.8

Tile Chrome
Zren
last update date: 8 years ago

Score 6.3

Other Kwin Scripts:

Snap To Deco
thomas12777
last update date: 11 years ago

Score 5.0

Unminimize windows w/o taskbar entry
thomas12777
last update date: 11 years ago

Score 5.0

MiniStack
faho
last update date: 11 years ago

Score 5.0

Debug Clients
thomas12777
last update date: 11 years ago

Score 5.0

TIL3R
causa-prima
last update date: 11 years ago

Score 5.7

Spam Transients
thomas12777
last update date: 10 years ago

Score 5.0