Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

91
Visualizações
How to write to Cross domain localstorage without making any change in other domain

Currently i am trying to achieve one functionality where I have 2 sites like www.site1.com and other is https://excel.officeapps/live.com. Now i am trying to set some Key-value in second site(https://excel.officeapps/live.com) localstorage by hitting some button in first site.

After researching on this I Came to know it is Cross domain localstorage concept and only below approach i found everywhere.

https://jcubic.wordpress.com/2014/06/20/cross-domain-localstorage/

But the only issue i found here that i don't have control over second site so i can receive message and set it in localstorage of it. Can someone suggest on it whether it is even possible or not and if yes what alternate approach i can take.

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

It is not possible to write data into localStorage belonging to sites that you don't control.

The possibilities for vandalism (and worse) would be immense.

about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda