version 0.4.7
This commit is contained in:
parent
00efe329a4
commit
d529950a03
5 changed files with 8 additions and 7 deletions
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"manifest_version": 2,
|
||||
"name": "__MSG_extensionName__",
|
||||
"version": "0.4.6",
|
||||
"version": "0.4.7",
|
||||
"default_locale": "en",
|
||||
"description": "__MSG_extensionDescription__",
|
||||
"permissions": [
|
||||
|
|
|
@ -269,7 +269,7 @@ const ua = {
|
|||
{brand: 'Chromium', version: p.browser.major},
|
||||
{brand: 'Google Chrome', version: p.browser.major}
|
||||
],
|
||||
mobile: false
|
||||
mobile: /Android|webOS|iPhone|iPad|Mac|Macintosh|iPod|BlackBerry|IEMobile|Opera Mini/i.test(s)
|
||||
};
|
||||
}
|
||||
}
|
||||
|
@ -632,7 +632,7 @@ chrome.runtime.onMessage.addListener((request, sender, response) => {
|
|||
if (request.delete) {
|
||||
delete ua._obj[request.cookieStoreId];
|
||||
}
|
||||
ua.update(request.value, undefined, request.cookieStoreId);
|
||||
ua.update(request.value, request.windowId, request.cookieStoreId);
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
|
||||
<link rel="stylesheet" href="index.css">
|
||||
|
|
|
@ -323,7 +323,8 @@ document.addEventListener('click', ({target}) => {
|
|||
chrome.runtime.sendMessage({
|
||||
method: 'request-update',
|
||||
value,
|
||||
cookieStoreId: tab.cookieStoreId
|
||||
cookieStoreId: tab.cookieStoreId,
|
||||
windowId: tab.windowId
|
||||
});
|
||||
}
|
||||
else if (cmd === 'reset') {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"manifest_version": 2,
|
||||
"name": "__MSG_extensionName__",
|
||||
"version": "0.4.6",
|
||||
"version": "0.4.7",
|
||||
"default_locale": "en",
|
||||
"description": "__MSG_extensionDescription__",
|
||||
"permissions": [
|
||||
|
|
Loading…
Reference in a new issue