Firefox Browser Add-ons
  • Extensions
  • Themes
    • for Firefox
    • Dictionaries & Language Packs
    • Other Browser Sites
    • Add-ons for Android
Log in
Preview of HTML Tag Changer

HTML Tag Changer by Kai Grunert

Select HTML elements and change their tag names. You can select elements with a CSS selector and specify the intended new tag name. You can also hide or remove the elements. E.g. this can be useful to include specific elements in the Reader View.

0 (0 reviews)0 (0 reviews)
1 User1 User
You'll need Firefox to use this extension
Download Firefox and get the extension
Download file

Extension Metadata

Screenshots
Default display if you open the add-onSelect the HTML elements with a CSS selector and type the new tag nameThe original source code before the transformationThe new source code after the transformation
About this extension
This browser add-on can change the HTML element tag names on a web page into another tag name. You can select the HTML elements that should be replaced with a CSS selector and state the new tag names.

Furthermore you can hide or delete the selected elements from the web page. The former is usually preferred, because you will be able to revert the changes afterwards. If you use delete, you need to reload the complete page to revert the changes.

Example: The Reader View of Firefox includes and presents only a selection of HTML elements like <p>. But if the web page contains important hint or content boxes in <aside> elements, you will not see them in the Reader View. You can use this add-on to change all <aside> elements in appropriate elements before you turn on the Reader.

There is a Revert button - if it doesn't work correctly, just reload the complete page.

Hints:
  • Due to a lack of API support, the event listeners for an element can not be copied into the new element
  • Pay attention to the structure of a web page: some elements (often inline elements) don't allow to include other elements. E.g. if you want to change all <aside> elements into <p> elements, this can lead to unpredictable behavior if the <aside> element contains further block elements, because <p> is not allowed to contain block elements.
  • If the replacement contains web components, this can also lead to some side effects

Details:

The add-on does not delete the original elements, but it hides them. Therefore the actions can be reverted.
Rated 0 by 0 reviewers
Log in to rate this extension
There are no ratings yet

Star rating saved

5
0
4
0
3
0
2
0
1
0
No reviews yet
More information
Add-on Links
  • Homepage
  • Support site
Version
1.0
Size
29.6 KB
Last updated
5 years ago (May 2, 2020)
Related Categories
  • Web Development
  • Appearance
License
Custom License
Version History
  • See all versions
Add to collection
Report this add-on
More extensions by Kai Grunert
  • There are no ratings yet

  • There are no ratings yet

  • There are no ratings yet

  • There are no ratings yet

  • There are no ratings yet

  • There are no ratings yet

Go to Mozilla's homepage

Add-ons

  • About
  • Firefox Add-ons Blog
  • Extension Workshop
  • Developer Hub
  • Developer Policies
  • Community Blog
  • Forum
  • Report a bug
  • Review Guide

Browsers

  • Desktop
  • Mobile
  • Enterprise

Products

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • Privacy
  • Cookies
  • Legal

Except where otherwise noted, content on this site is licensed under the Creative Commons Attribution Share-Alike License v3.0 or any later version.