src/devtools/panel.js
/**
     * Listener for note changes
     * @param event
     */
Listener for note changes
@param event
Listener for note changes @param event
function noteListener(event) {
        let input = event.target,
            requestParent = input.closest("details.request"),
            id = requestParent.getAttribute("data-request-id"),
            timestamp = requestParent.getAttribute("data-timestamp"),
            request = recordedData.find((r) => {
                return r.event === "webRequest" && String(r.request.id) === id && String(r.request.timestamp) === timestamp;
            });
        if (typeof request !== "undefined") {
            request.request.note = input.value;
        }
    }
function noteListener ( event ) { let input = event . target , requestParent = input . closest ( "details.request" ) , id = requestParent . getAttribute ( "data-request-id" ) , timestamp = requestParent . getAttribute ( "data-timestamp" ) , request = recordedData . find ( ( r ) => { return r . event === "webRequest" && String ( r . request . id ) === id && String ( r . request . timestamp ) === timestamp ; } ) ; if ( typeof request !== "undefined" ) { request . request . note = input . value ; } }
Listener for note changes
 @param event
Listener for note changes @param event
// this _should_ always trigger, but just in case...