Change Protocol
Once called Change http: / https: changed the protocol from/to http: and https:.
The old behavior was kept, but if you perform Shift-gesture, a popup list with the following protocols is displayed : http:, https:, spdy: and ftp:.
Not so important script, I posted it because a catch : window refers to the chrome. To get the same window object as JavaScript gets in the document’s context, you
have to use window.content.
Screenshot

Usage
Perform a gesture to instantly change the current URL’s protocol between http: and https:.
Perform Shift-gesture to get a list of protocols and select the one to which you want to change the current URL’s protocol.
Configuration
Configuration not really supported.
But new protocols for the Shift-gesture’s popup list can be easily added.
Just copy & paste a line of the FireGestures.generatePopup()’s parameter array and edit it.
Versions
- 0.0 - May 2011
- Initial release, as Change http: / https:.
- 0.1 - February 2012
- Renamed to [Popup] Change Protocol.
- Added popup list.
- 0.2 - January 2014
- Updated to work again after FireFox/FireGestures/whatever internal changes.
Plans
None. Maybe should cut off the path when changing to ftp: protocol. Maybe the same should be done for spdy: too. Undecided.
Download
You can find the related files on GitHub in my FireGestures-script repository’s popup-change-protocol directory :
- popup-change-protocol.js - script
- change-http-https.js - old script