What's the purpose (if any) of “[removed]” in event handler tags?

前端 未结 10 1901
面向向阳花
面向向阳花 2020-12-10 02:26

I\'ve been making a concerted effort to improve my javascript skills lately by reading as much javascript code as I can. In doing this I\'ve sometimes seen the javascr

10条回答
  •  北海茫月
    2020-12-10 02:42

    Flubba:

    Use of javascript: in HREF breaks "Open in New Window" and "Open in New Tab" in a Firefox and other browsers.

    It isn't "wrong", but if you want to make your site hard to navigate...

提交回复
热议问题