Remove HTML comments at runtime(madskristensen.dk)

submitted by madskristensenmadskristensen(8565) 5 years, 2 months ago

Today 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.

2 comments |category: |Views: 57

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

posted by korayemkorayem(1240) 5 years, 2 months ago 0

Excellent!

Reply

posted by MarthaBassMarthaBass(490) 5 years, 1 month ago 0

<%-- Use server side comments --%>

Reply

information Login or create an account to comment on this story