Feature #70
Updated by koszko over 1 year ago
So far we were focusing on writing custom javascript for files. However, we often end up implementing our own site interface, either bacause
1. site's original interface is entirely constructed with proprietary javascript or
2. site's original interface is so unsuitable (e.g. has non-working interactive elements we don't want to support) that it just has to be replaced, or
3. accessibility/usability/KISS principle requires it, or
4. because we just want to.
Currently existing fixes heavily use `document.creteElement()` and construct replacement interfaces in javascript. While this works, it is not as convenient, as it could be. In the future we should allow custom HTML document to be included in a fix and rendered instead of site's original one. We could make the original document available to injected scripts through some global variable (say, `hachette_document_original`) for the purpose of extracting the necessary data from there.
[Roadmap](/projects/hachette/wiki/Roadmap#Milestones-7) [Roadmap](/projects/hachette/wiki/Roadmap#7-Further-means-of-user-controlled-customization-of-sites-108)
1. site's original interface is entirely constructed with proprietary javascript or
2. site's original interface is so unsuitable (e.g. has non-working interactive elements we don't want to support) that it just has to be replaced, or
3. accessibility/usability/KISS principle requires it, or
4. because we just want to.
Currently existing fixes heavily use `document.creteElement()` and construct replacement interfaces in javascript. While this works, it is not as convenient, as it could be. In the future we should allow custom HTML document to be included in a fix and rendered instead of site's original one. We could make the original document available to injected scripts through some global variable (say, `hachette_document_original`) for the purpose of extracting the necessary data from there.
[Roadmap](/projects/hachette/wiki/Roadmap#Milestones-7) [Roadmap](/projects/hachette/wiki/Roadmap#7-Further-means-of-user-controlled-customization-of-sites-108)