Question / Help Javascript localStorage Doesn't work

VBPix84

New Member
Hello everybody !

I try to display a html/css page in OBS: It's work.

But. Now, i use google chrome and localstorage in order to use variable in an other page. And, in Chrome, it's work... But... in OBS not... Do you know what i can do for fix that?

i've only this code into the obs's page:
JavaScript:
<script type="text/javascript">
      var tableauMatch = localStorage.getItem('tableauScores');
      splitTableauMatch = tableauMatch.split(',');
      document.getElementById('affich-nom-j1').innerHTML = splitTableauMatch[0];
</script>
When I open it in Chrome, with 2 different windows, its works. But in OBS nope...

Tks you !

(Sorry for my English ;)

Vincent, from France.
 

VBPix84

New Member
Hello !

I actually use this system (window capture). But it's not exactly what i looking for:
- you need to open a browser: the position of the source change with the resolution of the screen, it's problem ;
- You can't use transparent background ;
- CPU used bigger than HTML/CSS file (1Ko...).

(I thought cookie but... chrome doesn't save cookie in local file............)

Vincent
 
Top