how can I deal with url that contains capital letter in webrequest API

24 views
Skip to first unread message

mohamed khaled

unread,
Dec 29, 2019, 11:16:49 AM12/29/19
to Chromium Extensions
I use webRequest.onBeforeRequest to redirect google.com  according to filter. when I use filter *://*.com/*hello* but when I go to a browser and type Hello with capital letter H doesn't redirect but if hello all letters lower redirect fine 
 

wOxxOm

unread,
Dec 30, 2019, 9:04:33 AM12/30/19
to Chromium Extensions
URLs are case-sensitive so specify both variants in the filter.
Reply all
Reply to author
Forward
0 new messages