MCPcopy
hub / github.com/qianjiachun/douyuEx / showMessage

Function showMessage

src/common.js:179–188  ·  view source on GitHub ↗
(msg, type="success", options)

Source from the content-addressed store, hash-verified

177}
178
179function showMessage(msg, type="success", options) {
180 // type: success[green] error[red] warning[orange] info[blue]
181 let option = {
182 text: msg,
183 type: type,
184 position: 'bottomLeft',
185 ...options
186 }
187 new NoticeJs(option).show();
188}
189
190function openPage(url, b=true) {
191 GM_openInTab(url, {

Calls

no outgoing calls

Tested by

no test coverage detected