Bookmarklet for Document Info (Page Info)

  • First of all, I already lost track the origin of this bookmarklet. So, credit goes to somebody who make this. I grab it around my old Opera era. Opera doesn't have Page Info back then.
    I don't maintain this bookmarklet.

    Miss Firefox Page Info?
    This bookmarklet produce a tab with a bit of info of the page.

    • Last modified.
    • Cookies.
    • Links.
    • Images.

    Okay, not as powerful or informative as Firefox Page Info.
    Save this javascript as bookmark.


    If you happen to know who make this please let me know.

  • This is cool, even if something doesn't work as it should, for example it gets always "about:blank" as URL, btw it's handy and something like this should be absolutely fantastic if implemented natively in the context RMB menu.

  • @iAN-CooG
    Yeah, I hope Page Info implement natively.

    That link list probably the most useful for me.

    Some old bookmarklets just reborn as extensions or userscripts (the closest sister).
    Unfortunately bookmarklet is dying. It the most less resources.
    Probably only people who ever use Netscape (read: old geezer 😆 ) ever heard about it.

  • Moderator

    @dLeon How do you make this bookmarklet work in Vivaldi? I've got a couple of bookmarklets to open new tabs (or close the current one) and none of them (including this one) actually work in Vivaldi... 😐

  • @pafflick
    I just make it as normal bookmark address. And click it on a page.

    This the result of this thread page;

  • Just add the javascript as address of a new bookmark, assign a nick (I use pi for page info), title Page info, and just select it on a page or type pi in address bar. It's true that it's not working everywhere, sometimes I get a blank page only.

  • Moderator

    OK, this is how it works (or doesn't work) here:

    Paste into address bar ➡ Press [ENTER] = Doesn't work
    Focus address bar ➡ Paste & Go or [CTRL] + [SHIFT] + [ENTER] = Works
    Open through bookmarks panel = Doesn't work
    Open through bookmarks bar = Doesn't work

    I have tried all of these - except for the "Paste & Go" method and thus I've assumed that it doesn't work at all. But still, that's quite inconvenient. I have a couple of bookmarklets that I rarely use and most of them didn't work for me... 🤔

  • @pafflick
    That's weird.
    I have no idea what happen. 😕
    Even refreshing the page before using it also doesn't work?

  • Moderator

    @dLeon OK, I've made some digging and it seems to be a problem on my side. Almost all of the bookmarklets for some reason had broken syntax. Frankly, I haven't used any of them since importing my bookmarks to Vivaldi and I haven't noticed this before.

    I was able to fix almost all of them, except for the one used for closing tabs - it sometimes produces blank tabs and sometimes has no effect at all, though it has to be a Chromium thing. But I don't even use that one, so I don't really care about it. 😃

    For some reason, though, when I triple-click on the code that you've posted above, I get some extra characters at the end of the code and that's why it didn't work for me before. Now, after removing those extra characters it works fine. If you'd include the semicolon ; at the end of your code, it'd probably never happen... 😉

  • @pafflick
    Agh... you're right. That's the right way.
    Copy/Paste from my bookmark. 🙇🏽

    Nevertheless, I try triple click it & try to create new bookmarklet my self. It doesn't add extra anything to me.
    In text editor however, it add extra Carriage Return or Line Feed.
    The new bookmarklet also just work.

    Maybe this Unix/Dos/Mac utf-8 format issue? 😕

  • Moderator

    @dLeon Well, I'm not sure - what matters the most is that it finally works. 😃


Looks like your connection to Vivaldi Forum was lost, please wait while we try to reconnect.