Project

General

Profile

Site script request/donation #114

[script donation] codeforces.com

Added by koszko over 1 year ago. Updated about 1 year ago.

Status:
New
Priority:
Low
Assignee:
-
Start date:
03/04/2022
Due date:
% Done:

0%

Estimated time:

Description

We've been given another script to include:

https://git.sr.ht/~aprendiz_de_hacktivista/Codeforces_scripts/tree/4909ccace2985bf4ffa8317f78e4279288d200de

It includes MathJax which is written in TypeScript, so we'll have to complete Roadmap task 16 before we can do anything about this.


Related issues

Blocked by Haketilo - Feature #73: [Roadmap 6] Implement a permissions systemNew08/02/2021

Actions

History

#1

Updated by koszko over 1 year ago

The blocking roadmap task 16 is almost done but MathJax seems to be using eval(). This means the CSP rules used by Haketilo for scripts must be made amendable to include 'unsafe-eval'

#2

Updated by koszko over 1 year ago

  • Blocked by Feature #73: [Roadmap 6] Implement a permissions system added
#3

Updated by koszko about 1 year ago

With the newest updates to Haketilo and Hydrilla, custom site resources can now use eval() and utilize script files from Trisquel's libjs-* packages. The former obstacles to packaging this fix are now gone.

Unfortunately, MathJax (at least as bundled for Trisquel package) initializes itself by dynamically adding <script> tags to the page. This behavior is not currently compatible with Haketilo and we have to once again wait for our tools to gain support for JavaScript programs that work this way

Also available in: Atom PDF