From f81d71c6e8d0310da5d5b2c02285cdf2faa60c9d Mon Sep 17 00:00:00 2001 From: Raymond Hill Date: Fri, 22 Dec 2023 11:45:35 -0500 Subject: [PATCH] Mind type of drop event items Related feedback: https://github.com/gorhill/uBlock/commit/c8b7d1a526#commitcomment-135590810 --- src/js/logger-ui.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/js/logger-ui.js b/src/js/logger-ui.js index a43dfcd0b..177632e30 100644 --- a/src/js/logger-ui.js +++ b/src/js/logger-ui.js @@ -2254,6 +2254,7 @@ const rowFilterer = (( ) => { dom.on('#filterInput > input', 'drop', ev => { const dropItem = item => { if ( item.kind !== 'string' ) { return false; } + if ( item.type !== 'text/plain' ) { return false; } item.getAsString(s => { qs$('#filterInput > input').value = s; parseInput();