Page 1 of 1

code: select all jumps to top of page

Posted: Sat May 20, 2017 2:07 pm
by Optera
When clicking Select all it jumps to the top of the page instead of selecting the code.

Code: Select all

test
Tested with Firefox and Chrome on Win7.

Re: code: select all jumps to top of page

Posted: Sat May 20, 2017 2:38 pm
by prg
Allow factorio.com in NoScript.

Re: code: select all jumps to top of page

Posted: Sat May 20, 2017 4:26 pm
by DaveMcW
Javascript is definitely on.

Code: Select all

forum_fn.js:210 Uncaught DOMException: Failed to execute 'setBaseAndExtent' on 'Selection': There is no child at offset 3.
    at selectCode (https://forums.factorio.com/styles/prosilver/template/forum_fn.js:210:6)

Re: code: select all jumps to top of page

Posted: Sat May 20, 2017 4:45 pm
by prg
Huh, okay, it's still working fine in Firefox 45, it's broken in 53.

Re: code: select all jumps to top of page

Posted: Sat May 20, 2017 4:47 pm
by Optera
There's nothing i could allow anymore.
2017-05-20-18-45-50-3172305.jpg
2017-05-20-18-45-50-3172305.jpg (21.75 KiB) Viewed 2297 times

Re: code: select all jumps to top of page

Posted: Mon May 22, 2017 2:47 pm
by ssilk
This has been working 2 or 3 month before. Maybe that helps.

Re: code: select all jumps to top of page

Posted: Mon May 22, 2017 4:52 pm
by DaveMcW
The problem is a broken browser check. Firefox and Chrome recently added support for setBaseAndExtent, so it now serves them Safari code.