1
Speak guys! I work most of the time filling web Formularios, and often caught about 50-100 pages with the same data... So I have to manually fill out one by one. I came up with the idea to create an extension in Chrome that allows me to fill out these forms with 1 click only. But I also need to run the following javascript:
javascript: resRecebimentoSelecionado('1', 'Fulano de Souza', 'Gerente');
Currently my extension is
var data = document.getElementById("txtDataRecebimento");
data.value = "20/06/2018";
var motorista = document.getElementById("txtTransportadorNomeMotorista");
motorista.value = "Fulano";
var placa = document.getElementById("txtTransportadorPlacaVeiculo");
placa.value = "LLLXXX";
var obs = document.getElementById("txtObservacoes");
obs.value = "N/C";
Does anyone have any idea how I do to run this Javascript?
I use some automations by simply adding a javascript code as a favorite in the bookmark bar. Creating a new bookmark page and putting the code on the link, example: javascript: var ok="Hello"; Alert(ok); The problem is that you need to format the whole code in a row and it is bad for maintenance,
– Joao Paulo