Add margins to wide pages.

Latest Version

Version
1.1
Update
October 10, 2024
Size
22.45KiB
Developer
Category
Users
965
Rating
4.82353 ★
Manifest Version
3
Web Store Status
Languages Support
English
See more
Permissions
ActiveTab
Scripting
Storage
See more

Narrower Extension

Narrower is a simple extension for dealing with annoyingly wide websites.

Usage:

To add margins to a wide page, click on the extension icon and drag the slider.
The extension will continue narrowing the current page as long as you stay on the same website.
To return the page to its previous state, drag the margin slider to 0% and refresh the page.

How it works:

When you drag the margin slider, Narrower changes the padding value of `document.documentElement`. It then leaves the selected margin in the website's localStorage, so it can be recalled the next time you activate the extension on the site.

Known issues:

Changing the padding of the document element doesn't work on 100% of the pages. If a page doesn't become narrower as a result of using the extension, you can always resort to manually changing the browser window size.
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "manifest_version": 3, "name": "Narrower", "description": "Add margins to wide pages.", "version": "1.1", "author": "Andrey Leshenko", "icons": { "16": "images/icon16.png", "32": "images/icon32.png", "48": "images/icon48.png", "128": "images/icon128.png" }, "action": { "default_icon": { "16": "images/icon16.png", "24": "images/icon24.png", "32": "images/icon32.png", "19": "images/popup_icon19.png", "38": "images/popup_icon38.png" }, "default_popup": "popup.html" }, "background": { "service_worker": "service_worker.js", "type": "module" }, "permissions": [ "activeTab", "scripting", "storage" ]}
Read more

How to download and manually install Narrower extension for Chrome

Looking for a way to install Narrower extensions for Chrome, you can search for them in the Chrome Web Store, clicking the "Add to Chrome" button, and following the straightforward process.

However, you may need to install Narrower extensions manually, this article outlines two simple methods to effortlessly install Narrower extensions, whether they come as unpacked folders in compressed formats like .zip or as .crx files.

Method 1: Download Narrower extension and manually install through Drag &Drop

If you ever need to manually install a Narrower extension for Chrome, don't worry, it's a simple process. Just follow these easy steps, and you will have your extension ready to use in no time.

Step 1: Download the Narrower Extension by clicking the "Download CRX" button on the website.

Look for the Narrower extension you wish to install. Go to the website and download the Narrower extension package, which is usually a .CRX file and comes in a zipped file. Here ".crx" file is the format for Narrower extension that contains all the data.

Step 2: Extract &Arrange Files

Once the file is downloaded, extract that file into its own folder. Similarly, give that extension files a permanent home. In other words, keep it in a folder that you don't accidentally delete it because these files will be needed to make that extension work.

Step 3: Go to the Chrome Extensions Page

Open Google Chrome and in the address bar, type chrome://extensions; it will open the Google Chrome extensions page. Make sure that "My extensions" is selected in the sidebar.

Step 4: Drag and Drop the Extension

Now, go to the folder where you extracted the Narrower extension and drag &drop the extension file from there anywhere onto the extension page within Google Chrome.

Step 5: Complete the Installation

Once you drag and drop the extension file, follow the steps that Google Chrome takes you through. Similarly, if the extension file is of .crx file format, you will be required to review the permissions and then add the extension.

Now, you can manage that added extension as you would like to with any other Chrome extension that you added through Chrome Webstore. Its icon will also appear in the Google Chrome Menu on the right side of the address bar once you activate it.

Method 2: Download Narrower extension for Chrome and install in Developer Mode

This is another method to install Narrower extension manually, but the twist is that here, you install by enabling the developer mode option provided in Google Chrome. This mode is commonly used for testing extensions or running unpublished tools.

Step 1: Download the Narrower extension file

Select and download the Narrower extension by clicking the 'Download CRX' button on the website.

Step 2: Extract the downloaded contents

Convert the file to a ZIP file if it is in CRX format then extract the Narrower extension zip file or folder that you downloaded. Make sure you extract it using the same folder name and keep it safely in another folder, so you don't delete it by mistake. The extracted folder will be needed to keep your Narrower extension running.

Step 3: Open Chrome Extension Setting Page

In the address bar of Google Chrome, type chrome://extensions and open the Chrome Extension Page.

Step 4: Enable Developer Mode

After opening the Chrome Extension page, look at the top right side, and you will find the toggle option of "Developer mode."Simply enable that developer mode option.

Step 5: Load the Unpacked Extension

Once you enable the developer mode option, you will see the menu of Load Unpacked, Pack Extensions and Update. From that, select the option "Load unpacked."

Step 6: Select the Extension Folder

Once the pop-up opens upon clicking Load unpacked, select the Narrower extension directory and click on the "Select Folder "button.

Step 7: Confirm and Install

After you select an extension folder of a Google Chrome extension you're installing manually, confirm its installation for the final time and let the installation complete.

Conclusion

Here we've made a step-by-step guide on How to manually install Narrower extension in 2 ways. We hope this guide proves helpful.

Similar Extensions

User reviews

icon

Jessica Salmonson (darkocean) (ID: 0000006951e60248) Voted 5 ★ - Updated 03/17/2023 Oh thank you, so many pages are stretched the hell out making articles hell to read, this saves so much eye strain. <3 I say Combine this one with darken text, zoon text only and your set to read :D Everyone has a wise monitor nowadays (except on mobile) so why are they still allowing the code to span the width of the screen? Quit it! A simple css edit is all it takes but noooo... Update: Works great as of 2023!

icon

Дмитрий Кулаков (ID: 000000473284262e) Voted 4 ★ - Updated 01/01/2023 Please add a feature to remember plugin settings for website!

icon

Lars Remsen (ID: 0000009e37995981) Voted 4 ★ - Updated 10/20/2022 Another vote for some ability to save the narrower setting per website! For frequently viewed and refreshed pages, it is really annoying to have to continually reenable.

icon

Russell (ID: 00000060443489fc) Voted 5 ★ - Updated 06/06/2022 Great but lacking the critical feature of automatically enabling the extension on specific websites.

icon

Michele Piecucci (ID: 0000000d94031104) Voted 5 ★ - Updated 01/10/2022 Excellent extension. I convert ebooks to html and read them in the browser. This extension makes it easy to adjust the margins. Simple. 5 stars.