https limitations

37 views
Skip to first unread message

Preston Crow

unread,
Feb 16, 2018, 12:15:04 PM2/16/18
to no-ads
I've been having a horrible time trying to block an ad on a site by directory using shExpMatch(url,"*/directory/*) along with a host match.  The ads keep coming through.  I finally figured it out, but it looks like I'm stuck.  On https sites, the url passed to the PAC file doesn't have anything past the hostname.  I think this is a dead end now.

John LoVerso

unread,
Feb 16, 2018, 12:32:10 PM2/16/18
to Preston Crow, no-ads
Stripping of the path for https URLs started a while ago.  For Chrome and FireFox you have to enable a setting to restore the full path being passed to FindProxyForURL():

John

On Fri, Feb 16, 2018 at 12:15 PM, Preston Crow <prest...@gmail.com> wrote:
I've been having a horrible time trying to block an ad on a site by directory using shExpMatch(url,"*/directory/*) along with a host match.  The ads keep coming through.  I finally figured it out, but it looks like I'm stuck.  On https sites, the url passed to the PAC file doesn't have anything past the hostname.  I think this is a dead end now.

--
You received this message because you are subscribed to the Google Groups "no-ads" group.
To unsubscribe from this group and stop receiving emails from it, send an email to no-ads+unsubscribe@googlegroups.com.
To post to this group, send email to no-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/no-ads/21ec781d-30b5-48d7-8ceb-bc4b7e031d19%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
John

John LoVerso

unread,
Feb 16, 2018, 12:35:31 PM2/16/18
to no-ads
FWIW, this was the same problem in the "broken by Firefox 51" message.
Reply all
Reply to author
Forward
0 new messages