Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Is it possible somehow to read from a local file (or a file in name@domain directory) some info from the applet?

So, i need to extract information from local file, that will be created in local directory of applet. (name@domain).

NOTE: file will be created during applet work

For this reason, i suppose to create .js like this:


Javascript file:

const MyInfo = {
    INFO:"info"
}

and then import it in applet.js

share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.