Re:RISC-V: More Than a Core
by inamberclad on Monday October 15, 2018 @12:23PM
(#18221076)
This site managed to disable right clicking?
[ Parent
| on HN ]
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.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.
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?
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.
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.