diff --git a/plugin/chrome/chrome.js b/plugin/chrome/chrome.js index 5f11aa0a..f8da6b58 100644 --- a/plugin/chrome/chrome.js +++ b/plugin/chrome/chrome.js @@ -130,7 +130,7 @@ var can = Volcanos("chrome", { }, function() {can.user.toast("wss connect", "iceberg")}) chrome.history.onVisited.addListener(function(item) { - can.run(can, {names: "crx", cmd: ["history", item.id, item.url, item.title]}, function(msg) { + can.run(can, {names: "chrome/crx", cmd: ["history", item.id, item.url, item.title]}, function(msg) { can.user.toast(item.url, item.title) }) }) diff --git a/plugin/chrome/config.js b/plugin/chrome/config.js index ba3e6650..e2431369 100644 --- a/plugin/chrome/config.js +++ b/plugin/chrome/config.js @@ -9,7 +9,7 @@ var Config = {iceberg: "http://localhost:9020/chat/", volcano: "/", "pane/Target", "pane/Source", "pane/Action", "pane/Footer", - "plugin/state", "plugin/input", "plugin/table", "plugin/inner", "plugin/media", + "plugin/state", "plugin/input", "plugin/table", "plugin/inner", ], pane: [ {group: "index", name: "Toast", pos: "dialog", duration: 3000}, {group: "index", name: "Tutor", pos: "dialog"},