About 1,350,000 results
Open links in new tab
  1. I get a javascript:void (0); when I am on some sites, how do I get …

    Mar 15, 2014 · Chosen solution javascript: void (0); is used as a placeholder URL to indicate that an onclick event is tied to the link to do the actual action. If JavaScript is blocked for some …

  2. What does "javascript:void (0)" mean? - Stack Overflow

    Aug 18, 2009 · An explanation is provided here: void operator. The reason you’d want to do this with the href of a link is that normally, a javascript: URL will redirect the browser to a plain text …

  3. Firefox fails to handle javascript:void (0) after ocr-url install

    Apr 29, 2018 · On certain pages of a website, get a Javascript:void (0) in status bar and no response to the action but clicking on same object works in IE. I am not a developer, just a …

  4. React 16.9.0 "javascript:;" href alternative? - Stack Overflow

    Aug 15, 2019 · In React blog post: URLs starting with javascript: are a dangerous attack surface because it’s easy to accidentally include unsanitized output in a tag like <a href> and create a …

  5. javascript:void (0) not accepted by W3C, how to resolve this?

    Dec 21, 2011 · This idea is particularly good. If your clients don't even have javascript, you can make them go to link that has been put in the href.

  6. http - How do I allow `javascript:void (0)` for use in HTML element ...

    How do I allow javascript:void(0) for use in HTML element attributes through Content-Security-Policy? On one hand, you set a Content Security Policy (CSP) header to which you specify a …

  7. javascript:void (0) too long (shorter way) - Stack Overflow

    Mar 20, 2012 · Even due there is an answer allready selected, i wanted to contribute my opinion on this. using an href with a javascript:; javascript:void(0); javascript:return false; is bad …

  8. JavaScript `undefined` vs `void 0` - Stack Overflow

    Jul 25, 2015 · 30 undefined has normal variable semantics that not even strict mode can fix and requires run-time look-up. It can be shadowed like any other variable, and the default global …

  9. javascript - How to fix Links are not crawlable on Google …

    Feb 18, 2021 · How to fix Links are not crawlable on Google Lighthouse Asked 4 years, 9 months ago Modified 2 years, 3 months ago Viewed 5k times

  10. What's the valid way to include an image with no src?

    Apr 25, 2011 · The usual choice — javascript:void(0) — will cause an "insecure content" warning in IE7 if used on a page served via HTTPS. Any other port caused an attempted server …