Why can't I add script with the file:// protocol anymore?

192 views
Skip to first unread message

Epik

unread,
Nov 15, 2017, 4:04:35 AM11/15/17
to greasemonkey-users
I found here https://stackoverflow.com/questions/19910568/can-greasemonkey-work-with-the-file-protocol that I should change the boolean value of the
extensions.greasemonkey.fileIsGreaseable
to true but the key doesn't exist anymore in about:config.

Browser Firefox 57.

Evgeniy

unread,
Nov 17, 2017, 9:15:00 AM11/17/17
to greasemonkey-users
As I understand it, file:// protocol is not supported as the new WebExtensions API doesn't allow an extension to access file system.
You need web server which serves your .user.js files with "Content-Type: text/javascript" header to install them into FF.
Some info on that is here: https://wiki.greasespot.net/User_Script_Hosting .

Anthony Lieuallen

unread,
Nov 17, 2017, 2:38:22 PM11/17/17
to greasemon...@googlegroups.com
Maybe again in the future, now it's not supported.
Reply all
Reply to author
Forward
0 new messages