mirror of
https://git.mirrors.martin98.com/https://github.com/cilame/v_jstools
synced 2025-07-04 10:45:14 +08:00
5 lines
233 B
JavaScript
5 lines
233 B
JavaScript
function send_error_info_to_front(e, tid, url){
|
|
chrome.tabs.query({active: true, currentWindow: true}, function(tabs){
|
|
chrome.tabs.sendMessage(tid, {action: {type:'error', info: url + '\n' + e}}, function(response) {});
|
|
});
|
|
} |