Closed Bug 1370382 Opened 7 years ago Closed 7 years ago

Webextension API for global UI interaction

Categories

(WebExtensions :: Developer Tools, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1332447

People

(Reporter: nicolas, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36




Expected results:

I would like to build an extension for current and future versions of firefox that as a similar behaviour as the hide_navigation_bar and hide_tabbar existing extension.

I extracted the following code from these extensions : 
gBrowser.setStripVisibilityTo(false);
var navbar = document.getElementById("nav-bar");
navbar.style.visibility = 'collapse';

This code is not possible to implement with web extensions and it is no more possible to create legacy extensions.

Could the API be enriched with the same behaviour that allows to hide various parts of firefox ?

Regards,
We will not be hiding the nav-bar, but there's already a bug 1332447 to hide the tab strip.
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
Product: Toolkit → WebExtensions
You need to log in before you can comment on or make changes to this bug.