OlavRossland Member Licensed User Longtime User Jan 1, 2023 #1 I want to read a single Key and the Value for the Key in a Local Storage (example 10.10.1.1 on port 80). I also want to read all the Keys and the Values for the Keys in the same Local Storage (example 10.10.1.1 on port 80). I want to do this in B4i, but how?...
I want to read a single Key and the Value for the Key in a Local Storage (example 10.10.1.1 on port 80). I also want to read all the Keys and the Values for the Keys in the same Local Storage (example 10.10.1.1 on port 80). I want to do this in B4i, but how?...
Erel B4X founder Staff member Licensed User Longtime User Jan 2, 2023 #2 What do you mean with local storage? How is it related to an ip address? Upvote 0
OlavRossland Member Licensed User Longtime User Jan 2, 2023 #3 Erel said: What do you mean with local storage? How is it related to an ip address? Click to expand... When I don't write it - You have to understand what I think @Erel. Ha ha ? Sorry, let me explain: I have a Soundcraft Ui24r digital audio mixer that uses a WEB interface to control all functions. A number of settings are stored in localStorage on the PC, which you can see in the screenshot (shown by developer tools in Edge). There are some of these Keys and Values that I would like to read by an app made in B4i - if that's possible. I have made a test with Python with success. Brief about localStorage at https://www.w3schools.com/jsref/prop_win_localstorage.asp Happy New Year @Erel. Upvote 0
Erel said: What do you mean with local storage? How is it related to an ip address? Click to expand... When I don't write it - You have to understand what I think @Erel. Ha ha ? Sorry, let me explain: I have a Soundcraft Ui24r digital audio mixer that uses a WEB interface to control all functions. A number of settings are stored in localStorage on the PC, which you can see in the screenshot (shown by developer tools in Edge). There are some of these Keys and Values that I would like to read by an app made in B4i - if that's possible. I have made a test with Python with success. Brief about localStorage at https://www.w3schools.com/jsref/prop_win_localstorage.asp Happy New Year @Erel.
Erel B4X founder Staff member Licensed User Longtime User Jan 3, 2023 #4 Are you loading the player with WebView? Maybe you can inject JavaScript that will set the storage data. Upvote 0
Are you loading the player with WebView? Maybe you can inject JavaScript that will set the storage data.
OlavRossland Member Licensed User Longtime User Jan 3, 2023 #5 Erel said: Are you loading the player with WebView? Maybe you can inject JavaScript that will set the storage data. Click to expand... I'll try that. Thank You @Erel Upvote 0
Erel said: Are you loading the player with WebView? Maybe you can inject JavaScript that will set the storage data. Click to expand... I'll try that. Thank You @Erel