News for hackers. Stuff that matters.
Re:RISC-V: More Than a Core by inamberclad on Monday October 15, 2018 @12:23PM (#18221076)
This site managed to disable right clicking?
Re:RISC-V: More Than a Core by tyingq on Monday October 15, 2018 @12:29PM (#18221121)
Yes...annoying. It's in the main html as an embedded script:

  function nocontext(e) {
    return false;
  }
  document.oncontextmenu = nocontext;
You can paste "javascript:void(document.oncontextmenu=null);" into the address bar to get it back.
Re:RISC-V: More Than a Core by kevincox on Monday October 15, 2018 @12:35PM (#18221177)
In Firefox Shift+Click bypasses this shenanigans as well.
Re:RISC-V: More Than a Core by a_wild_dandan on Monday October 15, 2018 @01:12PM (#18221557)
I'm seeing no shenanigans in Firefox. The context menu works for me.
Re:RISC-V: More Than a Core by devcpp on Monday October 15, 2018 @01:55PM (#18221957)
And it works for me on both Firefox and Chromium, uBlock disabled. I can't find the function in the HTML either. Was it just removed?
Re:RISC-V: More Than a Core by tyingq on Monday October 15, 2018 @02:36PM (#18222381)
Yes, looks like someone removed it. It's still in the source on the wayback machine cached copy:

https://web.archive.org/web/20181015143110/https://semiengin...

That cached copy also seems to show the site was hacked for a while. Search the source for strings like "provigil free trial coupon".

Edit: It's still hacked. See https://www.google.com/search?q=site%3Asemiengineering.com+v... Clicking on any of the results takes you through a redirect to a shady pharma site.

Re:RISC-V: More Than a Core by tyingq on Monday October 15, 2018 @01:24PM (#18221659)
Would be nice if chrome had this. I know there are extensions, but having this in core would be better.
Re:RISC-V: More Than a Core by gobblegobble2 on Monday October 15, 2018 @02:35PM (#18222370)
I hate it and always set dom.event.contextmenu.enabled to false in Firefox about:config.
Re:RISC-V: More Than a Core by GrumpyCoder on Monday October 15, 2018 @02:31PM (#18222312)
Works fine for me.