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

103
Visualizações
Change value of JavaScript in inspector web browser

Is it possible to change a javascript value within the browser inspector?.

I need to change it from the browser since I cannot change those values in the router from ssh since the partitions are in read-only mode.

It would be to change the value marked by 'yes'.

enter image description here

enter image description here

about 4 years ago · Santiago Trujillo
1 Respostas
Responde à pergunta

0

Open the Console by clicking f12 and selecting the console tab, and then try to write:

document.dlna_form.samba_active.value = "Yes";

check if it even works by writing:

document.dlna_form.samba_active.value;

if not, then try to find it's ID and then write:

document.getElementById('the_ID').value = "Yes";

when your done just write:

document.dlna_form.samba_active.value;

to see if it has changed.

FYI: if the server has some other validation on the server side then what your doing will not work, you can try some other methods by sending requests of GET or POST with different input data based on the server that your trying to change.

about 4 years ago · Santiago Trujillo 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