You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
User Story
As an extension developer, I want to pass custom css to a url web view so that I can only show the relevant information and hide other parts (e.g. headers, footers, ...).
Description
Be able to pass in css to customize a website that is shown in a tab, so that it fits into the available space and does not show superfluous ui elements.
See example
Implementation idea
It seems rather not likely based on the technical restrictions of an iframe (or need to use a CORS header, which not every public website out there would have), but maybe there still is a way...
Testing ideas
The text was updated successfully, but these errors were encountered:
according to the electron docs, web views allow some more control than iframes (but should not be used for they are not officially supported and my change without notice 🤔)
There seem to be ways to pass in js into arbitrary webviews so that adding css would be possible (as well as extracting the current url, which supports scrolling with a reference selected on a website that changes their url accordingly, see step 3 of https://github.com/paranext/roadmap/issues/87)
User Story
As an extension developer, I want to pass custom css to a url web view so that I can only show the relevant information and hide other parts (e.g. headers, footers, ...).
Description
Be able to pass in css to customize a website that is shown in a tab, so that it fits into the available space and does not show superfluous ui elements.
See example
Implementation idea
It seems rather not likely based on the technical restrictions of an iframe (or need to use a CORS header, which not every public website out there would have), but maybe there still is a way...
Testing ideas
The text was updated successfully, but these errors were encountered: