M
M
Michael2015-07-31 06:17:31
css
Michael, 2015-07-31 06:17:31

Is it possible to inject your own styles?

The bottom line is, there is a packaged application for Chrome , in which a site is loaded via Webview , for example, Wikipedia. Is there any way I can add my own CSS stylesheets to this application to change the appearance of Wikipedia accordingly?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Deodatuss, 2015-07-31
@MikeDeveloper

$('body').prepend($("<style>"+yourStyles+"</style>"))

or
$('head').append($("<link rel='stylesheet' href='"+urlOfStyles+"'/>"))

M
M-ka, 2015-07-31
@M-ka

it’s possible, “somehow” too ... The
only question was this, there’s no point in writing more.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question