Removes Chrome's horrible black focus outline on focused elements.

Latest Version

Version
1.0
Update
February 26, 2021
Size
39.94KiB
Developer
Category
Users
13
Rating
5 ★
Manifest Version
2
Web Store Status
Languages Support
English
See more
Permissions
See more

ClearFocus Extension

Removes Chrome's horrible black focus outline on focused elements.

By default, Chrome adds a black border around focused elements. This is important for accessibility and UX clarity. Most websites, however, employ their own element focus styles with their CSS that matches the rest of the UI styling. The new Chrome outline style sidesteps this visual harmony and introduces an unsightly border on focused elements that for some is undesireable.

Previously this could be done using Chrome's user stylesheets feature in which you could override the user agent stylesheets with a custom CSS file placed in your user profile, but Chrome has since removed this feature.

This extension simply overrides the base Chrome behaviour through the \":focus\" selector, by introducing a new style definition using a slightly more specific \":root :focus\" selector that overrides the base chrome functionality, but will still permit website-specific stylesheets to use custom outlines with more specific selectors such as \"input:focus\". In the rare case a website simply uses the \":focus\" selector this will conflict, but it's extremely uncommon for websites to use outlines at all, let alone for this purpose.
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "name": "ClearFocus", "description": "Removes Chrome's horrible black focus outline on focused elements.", "version": "1.0", "icons": { "32": "32.png", "128": "128.png" }, "permissions": [], "content_scripts": [ { "matches": [""], "all_frames": true, "css": ["clearfocus.css"] } ] , "manifest_version": 2}
Read more

Similar Extensions

icon

Chrome Custom Interface Extension · Fun 13 13 ★ 69.49KiB

icon

Dark Theme - Dark Reader for Chrome Extension · Productivity 13 351 ★ 836KiB

icon

Keep One Pinned Tab Extension · Productivity 13 57 ★ 17.5KiB

icon

Dark Mode - Dark Reader for Chrome Extension · Accessibility 13 46 ★ 399KiB

icon

Image Blur Extension Extension · Productivity 13 2 ★ 42.1KiB

icon

Color Picker Chrome extension Extension · Developer Tools 13 20 ★ 106KiB

icon

Chrome Dark Mode Extension · Productivity 13 10 ★ 607KiB

icon

Chrome Reader Mode Extension · Productivity 13 19 ★ 403KiB

icon

Reader Mode Extension · Accessibility 13 9 ★ 106KiB

icon

Dark Mode Chrome Extension · Accessibility 13 180 ★ 113KiB

icon

Zoom To Fill Extension · Productivity 13 7 ★ 314KiB

icon

Dark Mode Extension · Productivity 13 95 ★ 366KiB

icon

Dark Mode for Chrome Extension · Productivity 13 13 ★ 256KiB

icon

View CSS Extension · Developer Tools 13 1 ★ 5.89KiB

icon

Show All Padding & Margins Extension · Developer Tools 13 1 ★ 23.17KiB

icon

Dark Mode for Chrome Extension · Productivity 13 5 ★ 257KiB

icon

Highlight Focus Extension · Developer Tools 13 2 ★ 13.45KiB

icon

Page Color Inverter Extension · Productivity 13 0 ★ 14.65KiB

icon

ChatGPT Remove Background Color on Copy Extension · Productivity 13 6 ★ 10.97KiB

icon

Website Customizer: Add Custom Style and CSS Extension · Productivity 13 2 ★ 1.45MiB

icon

ReaDark - Reading & Dark Mode Extension · Accessibility 13 11 ★ 19.13KiB

icon

Disable Browser Shortcuts Extension · Productivity 13 0 ★ 60.04KiB

icon

Text Blackness Extension · Accessibility 13 4 ★ 277KiB

icon

Remove unwanted elements Extension · Productivity 13 3 ★ 6.39KiB

User reviews

icon

Chloe Kim (ID: 0000000c3590d6be) Voted 5 ★ - Updated 09/11/2021 Can you make this extension available in extension page?