ButWhyMod
Removes and/or stops stuff like modals(in-page popups), videos, etc. *Please be aware that some websites requires modals.*
什么是ButWhyMod?
ButWhyMod是由WKLaume开发的Chrome扩展程序,该扩展的主要功能是“Removes and/or stops stuff like modals(in-page popups), videos, etc. *Please be aware that some websites requires modals.*”。
扩展截图
下载ButWhyMod扩展crx文件
下载ButWhyMod扩展crx格式的文件,手动将Chrome插件安装到浏览器中,也可以将crx文件分享给朋友,轻松安装Chrome插件。
扩展使用说明
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.
扩展基本信息
名称 | ButWhyMod |
ID | oniaeocagbkpmjmamlbhcanoochjiold |
官方URL | https://chromewebstore.google.com/detail/butwhymod/oniaeocagbkpmjmamlbhcanoochjiold |
简介 | Removes and/or stops stuff like modals(in-page popups), videos, etc. *Please be aware that some websites requires modals.* |
文件大小 | 21.94 KB |
安装次数 | 46 |
当前版本 | 2.7 |
更新时间 | 2021-06-21 |
上架时间 | 2020-05-20 |
评分 | 5.00/5 共1次评分 |
开发者 | WKLaume |
电子邮箱 | [email protected] |
付费类型 | free |
支持的语言 | en |
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": [ " |