@IemmaJedi
I think that it’s possible. You can load javascript into popup window and change attribute onclick
. For example (using jquery):
$("table tr td:nth-child(1)".each(function() {
let oldclick=$( this ).attr( "onclick" );
$( this ).attr( "onclick","<your code/function_name>"+ oldclick );
});