You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
set view_toolbars_bookmarks to menu 1 of menu item "Bookmarks Toolbar" of menu 1 of menu item "Toolbars" of menu 1 of menu bar item "View" of menu bar 1
tell application "Firefox" to set winTitle to name of first window whose miniaturizable is equal to true # first non-pip window
if not(winTitle is equal to "Mozilla Firefox")
set checked_1 to not((value of attribute "AXMenuItemMarkChar" of menu item 1 of view_toolbars_bookmarks) is equal to missing value)
if checked_1
click menu item 2 of view_toolbars_bookmarks
else
click menu item 1 of view_toolbars_bookmarks
end if
else
set checked_2 to not((value of attribute "AXMenuItemMarkChar" of menu item 2 of view_toolbars_bookmarks) is equal to missing value)