Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Broken "href=javascript:func()" functionality. Where to report?

  • 1 reply
  • 0 have this problem
  • 10 views
  • Last reply by cor-el

more options

I dont get the technical stuff, but I have this error and its very annoying, detailed well in this reddit thread:

https://www.reddit.com/r/Steam/comments/1518uju/in_the_workshop_clicking_an_image_to_enlarge_it/

I dont get the technical stuff, but I have this error and its very annoying, detailed well in this reddit thread: https://www.reddit.com/r/Steam/comments/1518uju/in_the_workshop_clicking_an_image_to_enlarge_it/

All Replies (1)

more options

You can create a new bookmark and paste the JavaScript code in its URL field where you would normally enter the address of the website. You can invoke this bookmarklet on pages that have javascript:func() links, that will copy the href attribute to an onclick attribute.

javascript:(function(){document.querySelectorAll('a[href^="javascript:func()"]').forEach(c=>{c.setAttribute('onclick',c.getAttribute('href'));c.setAttribute('href','javascript:;')})})()