css script

User Help for Mozilla Firefox
Post Reply
carolgot1
Posts: 13
Joined: November 3rd, 2017, 1:35 pm

css script

Post by carolgot1 »

Is there a css script to open and close the sidebar as it did in AIOS before 57 with the mouse?
User avatar
DanRaisch
Moderator
Posts: 127234
Joined: September 23rd, 2004, 8:57 pm
Location: Somewhere on the right coast

Re: css script

Post by DanRaisch »

You refer to AIOS, by which I'm guessing you mean Apple iOS, but you're posting from a Windows 7 system. Are you asking about the version of Firefox for mobile devices or for desktops/laptops?

Also, you seem to be running version 58 of Firefox which is a pre-release version. Is that the case?
carolgot1
Posts: 13
Joined: November 3rd, 2017, 1:35 pm

Re: css script

Post by carolgot1 »

All-in-One Sidebar = AIOS. It is no longer functional. Running 58 beta 11. It would be a nice touch.
morat
Posts: 6427
Joined: February 3rd, 2009, 6:29 pm

Re: css script

Post by morat »

How did the AIOS extension open and close the sidebar in Firefox 56?

I can open and close the sidebar with the "Show sidebars" button.

All-in-One Sidebar
http://addons.mozilla.org/firefox/addon/1027
josegotme
Posts: 407
Joined: December 23rd, 2008, 11:43 am

Re: css script

Post by josegotme »

I never ran 56. Switched from ESR to 57
User avatar
Gingerbread Man
Posts: 7735
Joined: January 30th, 2007, 10:55 am

Re: css script

Post by Gingerbread Man »

morat wrote:How did the AIOS extension open and close the sidebar in Firefox 56?
All-in-One Sidebar description wrote:
  • quickly show/hide the sidebar and the toolbar with a thin switch
  • toggle the sidebar by clicking or just by mouse movements
morat
Posts: 6427
Joined: February 3rd, 2009, 6:29 pm

Re: css script

Post by morat »

You can't add the above features with the userChrome.css file.

I tried creating a mouse gesture to open the sidebar, but the API only works inside a handler for a user action.

Foxy Gestures
http://addons.mozilla.org/firefox/addon/foxy-gestures/

browser.sidebarAction.open
http://developer.mozilla.org/en-US/Add- ... ction/open
Post Reply