A Chrome extension to modify HTML element attributes, styles, and properties on any website. Rules sync across devices via your Google account.
- Modify CSS styles — colors, fonts, display, dimensions, and more
- Modify HTML attributes —
data-*,aria-*,href,src, etc. - Add/Remove CSS classes — manipulate class lists on any element
- URL filtering — apply rules only to specific websites
- Cloud sync — rules sync via Google account (
chrome.storage.sync) - Import/Export — share rule sets as JSON files
- Multi-language UI — auto-detected from your browser settings
| Language | Code | Direction |
|---|---|---|
| 🇺🇸 English | en |
LTR |
| 🇧🇷 Português (Brasil) | pt_BR |
LTR |
| 🇪🇸 Español | es |
LTR |
| 🇮🇱 עברית (Hebrew) | he |
RTL ✓ |
Install from Chrome Web Store — recommended for most users.
- Clone or download this repository
- Open
chrome://extensions/in Chrome - Enable Developer mode (top right)
- Click Load unpacked
- Select the extension folder
- Done — the extension icon will appear in your toolbar 🎉
- Click the extension icon in the toolbar
- Click + New Rule
- Fill in the fields:
- Name — rule identifier (e.g., "Hide ads")
- CSS Selector — target elements (e.g.,
.ad-banner,#sidebar) - URL Pattern — where to apply (e.g.,
*.google.comor*for all sites)
- Add modifications (styles, attributes, or classes)
- Click Save Rule
Hide elements:
Selector: .advertisement, .ad-banner, [data-ad]
Style: display → none
Increase font size:
Selector: article p, .content
Style: font-size → 18px
Style: line-height → 1.8
Disable autocomplete:
Selector: input[type="text"], input[type="password"]
Attribute: autocomplete → off
Make element full width:
Selector: #main
Style: width → 100%
Style: max-width → 100%
| Selector | Description |
|---|---|
#id |
Element by ID |
.class |
Elements by class |
tag |
Elements by tag name |
[attr] |
Elements with attribute |
[attr="value"] |
Attribute with specific value |
.parent .child |
Descendant |
.parent > .child |
Direct child |
element:not(.class) |
Negation |
| Pattern | Matches |
|---|---|
* |
All websites |
*.google.com |
google.com and subdomains |
github.com |
Only github.com |
*youtube* |
URLs containing "youtube" |
Debug Mode — enable to see logs in the browser console (F12 → Console).
Export/Import:
- Export saves all rules to a JSON file
- Import merges rules from a JSON file into your existing set
element-modifier-pro/
├── manifest.json # Extension manifest (V3)
├── background.js # Service Worker
├── content.js # Script injected into pages
├── popup/
│ ├── popup.html # Extension popup UI
│ ├── popup.css # Popup styles
│ └── popup.js # Popup logic
├── _locales/
│ ├── en/messages.json # English
│ ├── pt_BR/messages.json # Portuguese (Brazil)
│ ├── es/messages.json # Spanish
│ └── he/messages.json # Hebrew (RTL)
└── icons/
├── icon16.png
├── icon48.png
└── icon128.png
- No data collection — everything stays local in your browser
- No external servers — rules sync only via Google's infrastructure
- No tracking — browsing activity is never monitored
- Open source — code is fully auditable
- Minimal permissions — only requests what's strictly necessary
Chrome sync storage has a 100 KB limit. Each rule uses approximately 500 bytes, allowing ~200 rules.
Rule doesn't work?
- Check if the rule is enabled ✓
- Test the selector with the Test button
- Verify the URL pattern matches the current site
- Reload the page (
F5)
Extension doesn't load on some sites?
- Chrome internal pages (
chrome://) are not supported - Some corporate-managed pages may block extensions
Changes don't appear?
- Click ↻ Reapply in the popup
- Or reload the page (
Ctrl+R/Cmd+R)
Contributions are welcome! To get started:
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
MIT — free to use, modify, and distribute.
Uma extensão Chrome para modificar atributos, estilos e propriedades de elementos HTML em qualquer site. Suas configurações são sincronizadas entre dispositivos via conta Google.
Instalar pela Chrome Web Store — recomendado para a maioria dos usuários.
Instalação manual (modo desenvolvedor)
- Baixe ou clone este repositório
- Acesse
chrome://extensions/ - Ative o Modo do desenvolvedor
- Clique em Carregar sem compactação
- Selecione a pasta da extensão
A extensão detecta automaticamente o idioma do navegador: inglês, português (Brasil), espanhol e hebraico (com suporte RTL).
Una extensión de Chrome para modificar atributos, estilos y propiedades de elementos HTML en cualquier sitio web. Tu configuración se sincroniza entre dispositivos a través de tu cuenta de Google.
Instalar desde Chrome Web Store — recomendado para la mayoría de los usuarios.
Instalación manual (modo desarrollador)
- Descarga o clona este repositorio
- Ve a
chrome://extensions/ - Activa el Modo de desarrollador
- Haz clic en Cargar descomprimida
- Selecciona la carpeta de la extensión
La extensión detecta automáticamente el idioma del navegador: inglés, portugués (Brasil), español y hebreo (con soporte RTL).
תוסף Chrome לשינוי תכונות, סגנונות ומאפיינים של אלמנטי HTML בכל אתר. ההגדרות שלך מסונכרנות בין מכשירים דרך חשבון Google שלך.
התקנה מחנות האינטרנט של Chrome — מומלץ לרוב המשתמשים.
התקנה ידנית (מצב מפתח)
- הורד או שכפל את המאגר הזה
- עבור אל
chrome://extensions/ - הפעל את מצב מפתח
- לחץ על טען תוסף לא ארוז
- בחר את תיקיית התוסף
התוסף מזהה אוטומטית את שפת הדפדפן: אנגלית, פורטוגזית (ברזיל), ספרדית ועברית (עם תמיכה ב-RTL).
Made with ❤️ for web productivity