26 lines
487 B
JavaScript
26 lines
487 B
JavaScript
|
|
var Host = "http://localhost:7123"
|
|
|
|
var GetTaskUrl = `${Host}/task/get`;
|
|
var FinishTaskUrl = `${Host}/task/content`;
|
|
var ErrorTaskUrl = `${Host}/task/error`;
|
|
|
|
const TaskIDKey = "chrome_proxy_tid_key";
|
|
|
|
const BackgroundMsgType = {
|
|
NOTWANT: 'notwant',
|
|
CONTENT: 'content',
|
|
GETTASK: 'gettask',
|
|
TIMEOUT: 'timeout',
|
|
ERROR: 'error',
|
|
OK: 'ok',
|
|
};
|
|
|
|
const InjectMsgType = {
|
|
FETCH: 'fetch',
|
|
WAIT: 'wait',
|
|
ERROR: 'error',
|
|
NOTASK: 'notask',
|
|
OK: 'ok',
|
|
};
|