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.
由 1 位評論者給出 0 分
登入後即可幫此擴充套件評分
目前沒有評分

已儲存星等

5
0
4
0
3
0
2
0
1
0
還沒有評論
更多資訊
附加元件網址
  • 首頁
  • 技術支援網站
版本
1.0
大小
29.6 KB
最近更新
5 年前 (2020年5月2日)
相關分類
  • 網頁開發
  • 外觀
授權條款
自訂授權
版本紀錄
  • 瀏覽所有版本
新增至收藏集
檢舉此附加元件
前往 Mozilla 官網

附加元件

  • 關於
  • Firefox 附加元件部落格
  • 擴充套件工作坊
  • 開發者交流中心
  • 開發者政策
  • 社群部落格
  • 討論區
  • 回報 Bug
  • 評論撰寫指南

瀏覽器

  • Desktop
  • Mobile
  • Enterprise

產品

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • 隱私權
  • Cookie
  • 法律資訊

除另有註明外,本站內容皆採用創用 CC 姓名標示—相同方式分享條款 3.0 或更新版本授權大眾使用。