Help with calling javascript://nop/

Hi,

I ran into a script and trying to understand how it was created. Can someone help me with this:

<a href =:javascript://nop/" onclick = showTab(‘tag1’)">page 1</a>

I understand everything but this NOP. Any help highly be appreciated.

Thanks

Phew! Looks like a path to a folder called “nop”
nop used to mean No (Null) operator (operand) or no operation, a sort of dummy instruction that does absolutely nothing.

You may be better off with:- href=javascript:void(0) "onclick= etc

Could mean something different if the creator was not English speaking perhaps?

Thank you so much for making it clear. I had been pulling my hair out on this one. Now it all makes sense.

Thanks.