+ Reply to Thread
Results 1 to 4 of 4

Thread: How to remove html comments in a simple way?

  1. #1

    Default How to remove html comments in a simple way?

    I wanted to make a little method that strips HTML comments from an ASP.NET webpage at runtime. The practical use of the exercise is somewhat limited for most developers, but some websites have so many comments that it might just save a decent amount of bytes from the response stream.The problem is that a lot of JavaScript is using HTML comments to hide it’s workings from older browsers. That would mean that those script tags would be empty. How to remove html comments in a simple way?

  2. #2

    Default

    html comments delete this <-- cottetion

  3. #3
    Sapphire Star member stevepolard is on a distinguished road
    Join Date
    Mar 2012
    Posts
    53

    Default

    If you want remove all the JavaScript, FONT tags and comments from your HTML archives, Detagger is the tool for you.

    Classic Motorcycles || golf carts || Drilling Machinery

  4. #4
    Prospect joncant is on a distinguished road
    Join Date
    Mar 2012
    Location
    Clifford, Ontario
    Posts
    29

    Default

    ctr+F and find <-- cottetion to remove kinda extenstion

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts