MozillaZine

channel.redirectTo to chrome://

Talk about add-ons and extension development.
Diamanti
 
Posts: 700
Joined: June 12th, 2008, 9:02 am

Post Posted June 4th, 2017, 3:32 am

do it is possible to use channel.redirectTo from nsIObserverService to redirect to a chrome:// protocol page instead of a normal http:// ?

lithopsian
 
Posts: 3662
Joined: September 15th, 2010, 9:03 am

Post Posted June 7th, 2017, 12:01 pm

Have you tried it?

Diamanti
 
Posts: 700
Joined: June 12th, 2008, 9:02 am

Post Posted June 7th, 2017, 12:03 pm

yes, not work. it is my limit or mozilla?

lithopsian
 
Posts: 3662
Joined: September 15th, 2010, 9:03 am

Post Posted June 9th, 2017, 8:49 am

I suspect it is a Firefox issue. Some sort of security restriction.

Return to Extension Development


Who is online

Users browsing this forum: No registered users and 4 guests