Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

自动开启扩展后离开规则的网址后不会自动关闭,建议干掉大白边 #6

Closed
2220209876 opened this issue Mar 4, 2017 · 2 comments

Comments

@2220209876
Copy link

2220209876 commented Mar 4, 2017

这。。。。。。不够智能,还是浏览器问题,用的浏览器版本:Cent Browser 2.4.2.19 (portable) (Chromium 56.0.2924.87)

有个淘宝比价助手,然后你想在你上淘宝天猫的时候才开启那个拓展, 那操作如下:1.选择淘宝助手,2.选择只有匹配才开启,3.输入你要匹配的网站:taobao.com|tmall.com

离开淘宝天猫后,自动打开的扩展不会关闭,需要【重启浏览器】后打开一个网址才会自动关闭。。。。
建议看下这款扩展的源码https://moarsel.wordpress.com/extension-automation/

======================================================================

20170304_125118 yuanen
20170304_125353 yuanen

@AInoob
Copy link
Owner

AInoob commented Mar 4, 2017

Hello, 感谢建议。
对于智能的问题,需要注意的是如果一个网址的一部分包括taobao.com,比如hao123.com?x=taobao.com,这个会算作匹配,解决方法是加入^https://taobao.com|^https://tmall.com 可能不是https,这里就是举个例子。匹配是用的正则匹配,你可以再试试吗?我感觉应该不会有这种bug。

界面的话暂时不会大改了,最近申请工作和乱七八糟的学习,加上要写下一个东东。

@2220209876
Copy link
Author

^https://taobao.com|^https://tmall.com

用了之后直接不开启插件了。。。没效果

https链接的

方便留着QQ不或者加Q2220209876远程看一下
20170305_113601 yuanen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants