stealth icon indicating copy to clipboard operation
stealth copied to clipboard

Stealth: HTML Parser

Open cookiengineer opened this issue 5 years ago • 0 comments

Stealth also requires an HTML parser that should rewrite the contents based on the current config (aka Site Mode).

  • [ ] Remove all <script> elements
  • [ ] Filter and Render <style> via CSS Parser
  • [ ] Filter and Render <link rel="stylesheet"> via CSS Parser
  • [ ] Filter out <img> based on mode.image
  • [ ] Filter out <audio> based on mode.audio
  • [ ] Filter out <video> based on mode.video
  • [ ] Filter out <object> elements
  • [ ] Rewrite URLs of all external media files, so that they do NOT contain the :<tab id>,webview: flags - otherwise the tab history will be messed up.

cookiengineer avatar Apr 15 '20 17:04 cookiengineer