Hacker News new | ask | show | jobs
by brokenparser 4667 days ago
I'm still waiting for some sort of <bull> or <hogwash> element to markup comments and other such tripe. E.g.:

  <user class="spam">Buy my pills!</user>
It would be even more useful if something like this works:

  <user rel="nofollow">Buy pills
    <a href="fizz://example.net/pills">here!</a>
  </user>
This is cleaner than putting the attribute on every anchor, I wouldn't mind crawlers skipping marked comment sections entirely either.
1 comments

Would be useful to also sandbox it against running any javascript etc. contained therein.
html5 iframe allows this [0], but i think it'll be difficult to shim in browsers that don't support it.

[0] https://developer.mozilla.org/en-US/docs/Web/HTML/Element/if...

Thanks. I had a vague memory that there was something that did it, but couldn't remember what.