Претражи подршку

Избегните преваре подршке. Никада од вас нећемо тражити да зовете или шаљете поруке на број или да делите личне податке. Пријавите сумњиве радње преко „Пријавите злоупотребу” опције.

Сазнај више

shortcut-option for open firefox with no navigation-bar

  • 2 одговорa
  • 1 има овај проблем
  • 26 прегледа
  • Последњи одговор послао lionel.nguyen1812

more options

I'm using firefox in my linux-distro (slackware), and using it as default pdf viewer. So i'm finding a way to open my pdf file by firefox with no navigation-toolbar.

As i known, application have options when run it, so is there a run option like `firefox -nonagigation` for firefox ?

I'm using firefox in my linux-distro (slackware), and using it as default pdf viewer. So i'm finding a way to open my pdf file by firefox with no navigation-toolbar. As i known, application have options when run it, so is there a run option like `firefox -nonagigation` for firefox ?

Изабрано решење

There's no such command line option.

Use one of the following styles in Stylish (but not both).

The first one hides the navigation toolbar when viewing local PDFs only, while the second does the same for all PDFs.


@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);

#main-window[stylish-url^="file:///"][stylish-domain="pdf.js"] #nav-bar {
  visibility: collapse !important;
}

@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);

#main-window[stylish-url$=".pdf"] #nav-bar {
  visibility: collapse !important;
}

Прочитајте овај одговор са објашњењем 👍 1

Сви одговори (2)

more options

Одабрано решење

There's no such command line option.

Use one of the following styles in Stylish (but not both).

The first one hides the navigation toolbar when viewing local PDFs only, while the second does the same for all PDFs.


@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);

#main-window[stylish-url^="file:///"][stylish-domain="pdf.js"] #nav-bar {
  visibility: collapse !important;
}

@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);

#main-window[stylish-url$=".pdf"] #nav-bar {
  visibility: collapse !important;
}

more options

many thanks @Gingerbread Man, your approach very helpfull for me.