Removes and/or stops stuff like modals(in-page popups), videos, etc. *Please be aware that some websites requires modals.*

Latest Version

Version
2.7
Update
June 20, 2021
Size
21.94KiB
Developer
Category
Users
46
Rating
5 ★
Manifest Version
2
Web Store Status
Languages Support
English
See more
Permissions
Storage
DeclarativeContent
ActiveTab
Tabs
See more

ButWhyMod Extension

Modals are those in page pop-up windows. Those pop up windows aren't their own window or alert window. This tries to remove all of them. Annoyed with pages asking you to sign up with newsletters? Hate it facebook has a big annoying window to ask you to sign in when you just want to look at a post? Tired to being forced to click \"agree\" in a terms and conditions popup so you can view a page? Me too. Got so tired of it I took time to make this.
Please be aware that some pages/web app require modals to function.

You can also:

Whitelist/ignore list of hosts that you don't want to disable modals on.
Set custom domain and patterns list.
Turn off automatic removal and disable modals on a per-page basis.

Add to Apply list to only disable modals on certain sites

Set what css style to apply to what element on what page

Stop auto playing videos

Skip previously unskippable videos

Finer video forward and rewind capabilities.

The source is found here: https://github.com/sleepingkirby/butWhyMod

version 2.7:
Accidentally over optimized code, causing the skip button to not work. Fixed.
version 2.6:
Even better advance controls.
-advance controls and overrides only apply when mouse cursor is over a video.
-Shift, ctrl and alt can be used in combination. i.e. shift+ctrl+right arrow means video is forwarded by 21 seconds (shift=20, ctrl=1. 20+1)
*note* please note that key overrides in browser DO NOT override OS level key binds. This means if the OS uses ctrl+alt+right arrow, this will NOT override that.
version 2.5:
When the \"skip\" button option is turned on, any video that's moused over once will have finer video advanced forward and rewind capabilities.
Shift+arrow keys= 20 sec, arrow=5 sec, ctrl+arrow=1 sec, alt+arrow=0.1 sec
*note* this will override default actions/key presses.
version 2.4:
At the request of
https://github.com/sleepingkirby/butWhyMod/issues/2
changed how the manual prune/auto prune button works.
version 2.3:
Made skip button on videos fade away after 3 seconds
Fixed video evaluation where videos report non-finite duration.
Fixed skip button position calculation on screen resize.
version 2.2:
Added ability to stop auto-play videos and skip unskippable videos.
Fixed some evaluation and bugs.
version 2.1:
Made function run on all elements, not just div's
Changed style to dark mode to make it easier on the eyes
Fixed domain styling evaluation bug.
version 2.0:
Added Settings export function
Fixed typo
version 1.9:
Added Applylist to set what domains you want it to run on.
Added the ability to style element[s] on specific pages to whatever you'd like.
version 1.8:
Bug: chrome's javacript handles substr(0,-1) differently. Fixed
version 1.7:
Small bug fixes.
Added ability to use regex for [class names] in settings. This allows for patterns and, more importantly, multiple names to match on per host.
version 1.6:
Added removal of elements by ID matching.
Increased element types to prune as modals.
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "manifest_version": 2, "name": "ButWhyMod", "version": "2.7", "description": "Removes and/or stops stuff like modals(in-page popups), videos, etc. *Please be aware that some websites requires modals.*", "permissions": [ "storage", "declarativeContent", "activeTab", "tabs" ], "icons": { "96": "icons/icon-96.png" }, "page_action": { "default_icon": "icons/icon-96.png", "default_title": "But Why Modal?", "default_popup": "popup/menu.html" }, "options_page": "options/settings.html", "background": { "scripts": ["./background.js"], "persistent": false }, "content_scripts": [ { "matches": [""], "js": ["./content_scripts/butWhyMod.js"], "run_at": "document_start" } ]}
Read more

How to download and manually install ButWhyMod extension for Chrome

Looking for a way to install ButWhyMod 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 ButWhyMod extensions manually, this article outlines two simple methods to effortlessly install ButWhyMod extensions, whether they come as unpacked folders in compressed formats like .zip or as .crx files.

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

If you ever need to manually install a ButWhyMod 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 ButWhyMod Extension by clicking the "Download CRX" button on the website.

Look for the ButWhyMod extension you wish to install. Go to the website and download the ButWhyMod extension package, which is usually a .CRX file and comes in a zipped file. Here ".crx" file is the format for ButWhyMod 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 ButWhyMod 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 ButWhyMod extension for Chrome and install in Developer Mode

This is another method to install ButWhyMod 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 ButWhyMod extension file

Select and download the ButWhyMod 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 ButWhyMod 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 ButWhyMod 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 ButWhyMod 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 ButWhyMod extension in 2 ways. We hope this guide proves helpful.

Similar Extensions

User reviews

icon

Broken Tryst (ID: 000000a2e2c51113) Voted 5 ★ - Updated 02/04/2019 Love this! It removes all those annoying full-page ads or subscription requests, or the blurry overlay on pages that try to make you sign up/in.