Дополнения для браузера Firefox
  • Расширения
  • Темы
    • для Firefox
    • Словари и языковые пакеты
    • Другие версии браузера
    • Дополнения для Android
Войти
Предпросмотр HTML Tag Changer

HTML Tag Changer от 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 отзывов)0 (0 отзывов)
1 пользователь1 пользователь
Загрузите Firefox и установите расширение
Загрузить файл

Метаданные расширения

Скриншоты
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
Об этом расширении
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.
Оценено 0 рецензентами на 0
Войдите, чтобы оценить это расширение
Оценок пока нет

Рейтинг сохранён

5
0
4
0
3
0
2
0
1
0
Пока отзывов нет
Больше сведений
Ссылки дополнения
  • Домашняя страница
  • Страница поддержки
Версия
1.0
Размер
29,6 КБ
Последнее обновление
5 лет назад (2 мая 2020 г.)
Связанные категории
  • Веб-разработка
  • Внешний вид
Лицензия
Лицензия разработчика
История версий
  • Просмотреть все версии
Добавить в подборку
Пожаловаться на это дополнение
Перейти на домашнюю страницу Mozilla

Дополнения

  • О сайте
  • Блог дополнений для Firefox
  • Мастерская расширений
  • Центр разработчика
  • Политики разработчика
  • Блог Сообщества
  • Форум
  • Сообщить об ошибке
  • Руководство по написанию отзывов

Браузеры

  • Desktop
  • Mobile
  • Enterprise

Продукты

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • Приватность
  • Куки
  • Юридическая информация

За исключением случаев, описанных здесь, содержимое этого сайта лицензировано на условиях лицензии Creative Commons «Атрибуция — На тех же условиях» версии 3.0 или любой более поздней версии.