I'm building a proprietary application that loads into its WebView a remote, self-hosted GPLv2 licensed web application.
I'm sure that loading a resource via WebView will not violate GPL (the web browsers do it all the time).
The problem is I want to also inject some CSS styles (which are distributed with the properiatary app) into the WebView that hosts the remote GPL content. The CSS styles may target ids/classes specific to the GPLed web app.
My questions:
- Is it ok to inject CSS like this, or is this violation of GPL?
- If it's not ok, what if I generate the CSS at runtime, character by character. I.e. each character of the css would be an element of an array and then joined and injected.
- My question is about GPLv2, but out of curiosity - would this be any different for GPLv3 and AGPL?
- (similar to 2) - what if the CSS is hosted remotely and the app downloads it at runtime? (and later stores the css file in user data directory).
To answer possible questions:
- The GPL app is self-hosted and I have permissions to use it, so this is purely a software licensing question - it's not like I'm embedding someone elses web app
- I cannot apply CSS modifications to the GPL app directly for various reasons (and it's not that I don't want to release those tiny modifications, it's a technical issue). The styles have to be injected from my proprietary app