Scaffold does not load javascript-heavy website firefox/chrome loads

I tried to create a translator for parlament.ch - the website of the Swiss Parliament.

However, Scaffold fails at loading this js-heavy website - whereas firefox/chrome have no issue loading it.

To recreate in the most obvious way:
load in Scaffold https://www.parlament.ch/de/ratsbetrieb/suche-amtliches-bulletin
You'll see several 'Sorry, something went wrong' error messages
  • Tried with 5.0.96.3 and current beta 5.0.97-beta.57
  • After looking into it, I found the following error message:

    "SyntaxError: invalid regular expression flag s"

    Surprisingly, 's' is a totally valid flag...
  • 's' was only added to Firefox in June 2020, and the browser in Zotero (based on Firefox) doesn't yet support it.
  • Not even the current Zotero beta? That's a pity.

    Is it possible to recreate the sandbox environment independently of Scaffold? (i.e. is there a description around)
  • You can just load translators straight into your browser. Save to the translator folder, then update translators from the browser connector
  • ... after all it was easier for me (not being a javascript guru) to patch the site using mitmproxy ;) But FF60 really is quote old...

    Thanks for the good answers!
Sign In or Register to comment.