Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanache authored Dec 14, 2023
1 parent 13cfab7 commit ed3ebc3
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,15 @@
</style>
<link rel="icon" type="image/x-icon" href="./favicon.ico">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<script type="text/javascript">
// to avoid the error, the parameter [sendResponse] is necessary!
chrome.runtime.onMessage.addListener(function(msg, sender, sendResponse) {
// do something ...

// this line seems meaningless but you have to invoke it to avoid error.
sendResponse({damn: true});
});
</script>
</head>

<body>
Expand Down Expand Up @@ -55,6 +64,7 @@ <h4><a title="You can open other new Stream in Browser as new tab" href="https:/
var context;
var source;
var _chat_Channel;



function err_Handler(err) {
Expand Down

0 comments on commit ed3ebc3

Please sign in to comment.