Przeszukaj pomoc

Unikaj oszustw związanych z pomocą.Nigdy nie będziemy prosić Cię o dzwonienie na numer telefonu, wysyłanie SMS-ów ani o udostępnianie danych osobowych. Zgłoś podejrzaną aktywność, korzystając z opcji „Zgłoś nadużycie”.

Learn More

print PDF with internal links instead of (full) external links

  • 1 odpowiedź
  • 1 osoba ma ten problem
  • 6 wyświetleń
  • Ostatnia odpowiedź od kornelis

more options

When I print to a PDF file, Firefox changes internal links (#go-there) to full external links (either https://the.website.tld/paper.html#go-there or file://home/me/paper.html#go-there).

This is obviously wrong, since the links are internal to the document.

How to I change this behavior?

Thanks.

When I print to a PDF file, Firefox changes internal links (#go-there) to full external links (either https://the.website.tld/paper.html#go-there or file://home/me/paper.html#go-there). This is obviously wrong, since the links are internal to the document. How to I change this behavior? Thanks.

Wszystkie odpowiedzi (1)

more options

If internal links can’t be fixed, a solution to hide the fact that there are links in the document would help.

I tried the latter by adding to the stylesheet:


@media print {

   a, a:visited { color: black !important; cursor: not-allowed !important; }

}


The color works, but the cursor remains grab shape and depending on the PDF viewer a link will be displayed somewhere.