Status

RESOLVED WONTFIX
5 years ago
4 years ago

People

(Reporter: awesand, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

5 years ago
User Agent: Mozilla/5.0 (Windows NT 6.1; rv:31.0) Gecko/20100101 Firefox/31.0 (Beta/Release)
Build ID: 20140716183446

Steps to reproduce:

how to do i match a hostname, or some hostname need not like URL style.
it like "image.org/" or my computer name to be a hostname, this is a hostname resolve, some href are not begin with http:// http://, event without www, just a hostname, page-mod include not meet this case. it tell wrong? 
how i can do this, when in this case?



Actual results:

 using *.example.org wildcard, the string supplied is expected to be either an exact URL to match or a URL prefix. The provided string ('gnway.cc') is unlikely to match any pages.
this is an url, not include "www"

using *.example.org wildcard, the string supplied is expected to be either an exact URL to match or a URL prefix. The provided string ('WIN7-Link') is unlikely to match any pages.

this is my computer name, i want match it.
You can use Regular Expressions for the "include" match pattern, which let you match pretty much anything that you want, see https://developer.mozilla.org/en-US/Add-ons/SDK/High-Level_APIs/page-mod#PageMod%28options%29

If this doesn't resolve the issue then please elaborate, or ask for help in the #jetpack channel on irc.mozilla.org
Status: UNCONFIRMED → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.