Put the bookmark somewhere accessible, e.g. a toolbar, then click it when you’re on a LW page.
You can now zoom in or out as much as you want, and the content will still fill up the entire width of the screen without needing a horizontal scrollbar. This is probably better if you like to have big text or if your screen is narrow. Modify the code if you want a different layout.
I may have not stated what I wanted clearly. You seem to instruct me how to turn on the Bookmarks toolbar. That’s not what I wanted. I don’t use a Bookmarks toolbar in my browsers, as I don’t feel like its benefits outweigh the space occupied by it and added visual clutter. I thought you were offering a way to put a bookmarklet elsewhere than the Bookmarks toolbar and I was asking you how could I do it. I’m pretty sure I did put a bookmarklet in a menu in Firefox once (that thing that goes “File Edit View History Tools Help”), but I forgot how. Or, I could use an advice re: how to add a bookmarklet at all, even let’s say to a Bookmarks toolbar, as I never did it.
The bookmarks toolbar is moveable. I typically drag it up top next to the menu bar so that my top bar is actually composed of two: it starts with Menu, but that one is short, so once it ends there is a separator and then bookmarks, on the same line.
Here is a bookmarklet for increasing the width of the main LW content region and hiding the sidebar. Create a new bookmark with the link:
javascript:(function(){document.getElementById('sidebar').style.display='none';document.getElementById('content').style.width='99.5%';document.getElementById('wrapper').style.width='100%';document.getElementById('content').style.paddingLeft='0';document.getElementById('main').style.paddingLeft='2px';document.getElementById('main').style.paddingRight='2px';})()
Put the bookmark somewhere accessible, e.g. a toolbar, then click it when you’re on a LW page.
You can now zoom in or out as much as you want, and the content will still fill up the entire width of the screen without needing a horizontal scrollbar. This is probably better if you like to have big text or if your screen is narrow. Modify the code if you want a different layout.
How do I put bookmark in a toolbar? I would like to, as I don’t use Bookmarks Toolbar.
In Firefox, View → Toolbars → Bookmarks Toolbar. Not sure about other browsers, easiest would be to just google it.
I may have not stated what I wanted clearly. You seem to instruct me how to turn on the Bookmarks toolbar. That’s not what I wanted. I don’t use a Bookmarks toolbar in my browsers, as I don’t feel like its benefits outweigh the space occupied by it and added visual clutter. I thought you were offering a way to put a bookmarklet elsewhere than the Bookmarks toolbar and I was asking you how could I do it. I’m pretty sure I did put a bookmarklet in a menu in Firefox once (that thing that goes “File Edit View History Tools Help”), but I forgot how. Or, I could use an advice re: how to add a bookmarklet at all, even let’s say to a Bookmarks toolbar, as I never did it.
Thanks!
The bookmarks toolbar is moveable. I typically drag it up top next to the menu bar so that my top bar is actually composed of two: it starts with Menu, but that one is short, so once it ends there is a separator and then bookmarks, on the same line.
Not on topic, but the javascript code seems to go way outside the page. (fixed)
Not for me.
Yeah, it looked normal when I looked at it from work, but it was because I use Firefox there, as opposed to Chrome.
It doesn’t fit on the page on Mobile Safari either.