V
V
Valeriylll2021-02-22 01:56:13
JavaScript
Valeriylll, 2021-02-22 01:56:13

How to add site extension (in js) to WebView using XMLHttpRequest?

The goal is to create an application with an extension for an online web application, I set everything up, but I just can’t find the info on how to set the path to the extension file in Java, the direct path to the game is web.loadUrl(" https://agar.io/v5 "); I want to add to it an Html extension file like ' https://deltav4.gitlab.io/ext/index.html ' with extension

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Daniil Vasilyev, 2021-02-22
@hello_my_name_is_dany

How does your web application process requests? If index.html is not there or there is no such route in it, then you cannot do anything. If there is this file or route, then calmly and refer to it

web.loadUrl("https://deltav4.gitlab.io/ext/index.html");

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question