r/chrome • u/52Charles • 4h ago
Discussion How to print bookmarks? extra characters
Like it says. The 'bookmarks' file can be exported but only in HTML format. I want to edit it and print it out. Any suggestions gratefully accepted.
1
Upvotes
2
u/TinyNiceWolf 4h ago edited 4h ago
So you want to see the name of each bookmark, followed by its URL?
Here's one way:
<style> a[href]:after { content: " (" attr(href) ")"; } a { text-decoration: none; } </style>Save the file.
Open the file in Chrome, then print.
The exported bookmark file is a series of links, and the line added in step 3 uses CSS to make the link destination URL display after each link, inside some parentheses. It also says not to underline the link, so it's easier to read when printed. You may want to add "color: black;" right after "text-decoration: none;" if you want the text in black.