PageSourceSearch

https://loja.correios.com.br/public-resources/core/custom/file/file.js

js correios.com.br collected 2026-09-24 07:27:34 UTC 668 bytes, 16 lines download raw bytes

1import * as forms from '../../../core/js/forms.js';
2
3const registra = () => {
4    let elementList = document.querySelectorAll('.controle > input[type="file"]');
5    elementList.forEach(item => {
6        item.parentElement.insertAdjacentHTML('beforeend',
7            `<input type="text" class="arquivo" id="${item.id}_input" name="${item.name}_input" readonly placeholder="Nenhum arquivo selecionado" />`);
8        item.nextElementSibling.addEventListener('click', () => item.click());
9        item.addEventListener('change', () => {
10            item.nextElementSibling.value = item.files[0].name;
11            forms.setValidade(item);
12        });
13    })
14};
15
16registra();

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.