Chrome extension 'match patterns' fails if used with an IP address -
this how manifest.js looks:
... "content_scripts": [ { "matches": [ "*://*/*foo" ], "all_frames": true, "js": [ "script.js" ] }
what interested on pattern *://*/*foo
. chrome extension executes correctly if go http://ublux.com/x=foo
if go http://192.168.0.101/x=foo
plug in not execute! why?
how can create pattern match http://192.168.0.101/x=foo
. ip address 192.168.0.101 might change match ip followed foo
edit
this happens on iframe forgot mention that in other words want plug in execute when inserting iframe:
<div id="somediv"> <iframe src="http://192.168.0.1/?x=foo"></iframe> </div>
Comments
Post a Comment