odd bookmarks glitch regarding size

Users and developers helping users with generic and technical Pale Moon issues on all operating systems.

Moderator: trava90

Forum rules
This board is for technical/general usage questions and troubleshooting for the Pale Moon browser only.
Technical issues and questions not related to the Pale Moon browser should be posted in other boards!
Please keep off-topic and general discussion out of this board, thank you!
moonie

odd bookmarks glitch regarding size

Unread post by moonie » 2019-02-01, 15:31

I've noticed something that doesn't make sense with the size of an html export file—the ones that have less bookmarks (after removing several of them) still have a larger number of bytes than the older ones that had many more bookmarks in them. (In other browsers, the file would decrease in size accordingly.) I know we're talking about minutia here, but it seems like a weird thing going on with the code thereof, and I am OCD. :oops: It makes me want to use the desktop to save links, instead of the bookmark menu interface, which works, but.. is not as convenient sometimes. Any ideas why this is the way it is? Thanks.

User avatar
adesh
Board Warrior
Board Warrior
Posts: 1277
Joined: 2017-06-06, 07:38

Re: odd bookmarks glitch regarding size

Unread post by adesh » 2019-02-01, 16:12

This might be because website icons are present in the export. But I'm not sure if that was not the case earlier.

moonie

Re: odd bookmarks glitch regarding size

Unread post by moonie » 2019-02-01, 17:23

adesh wrote:This might be because website icons are present in the export. But I'm not sure if that was not the case earlier.
Hmm, that would account for it. I wonder if there may be some way to scrap the icons while retaining the links with their titles...?

Goodydino
Keeps coming back
Keeps coming back
Posts: 827
Joined: 2017-10-10, 21:20

Re: odd bookmarks glitch regarding size

Unread post by Goodydino » 2019-02-01, 19:31

I seem to remember that bookmark icons are not in JSON files. If you save your bookmarks as JSON, then remove them from the browser and restore them, there should be no more icons (except generic ones). I found that blocking favicons and site icons was not enough to block them with Pale Moon (at least not with version 27). I had to set the maximum allowed icon size to 0 to stop them altogether.

moonie

Re: odd bookmarks glitch regarding size

Unread post by moonie » 2019-02-02, 02:33

Goodydino wrote:I seem to remember that bookmark icons are not in JSON files. If you save your bookmarks as JSON, then remove them from the browser and restore them, there should be no more icons (except generic ones). I found that blocking favicons and site icons was not enough to block them with Pale Moon (at least not with version 27). I had to set the maximum allowed icon size to 0 to stop them altogether.
Thanks, I don't save them as JSON files, but as HTML... Where can you find this setting? is it in the preferences somewhere, or do you have to use the config to get to it? Thanks again!

Goodydino
Keeps coming back
Keeps coming back
Posts: 827
Joined: 2017-10-10, 21:20

Re: odd bookmarks glitch regarding size

Unread post by Goodydino » 2019-02-02, 22:17

Open Organize Bookmarks, click on Import and Backup and choose Backup. Save the file to somewhere that is handy to access, remove the browser's bookmarks and then restore from that backup copy. You might also have to change the settings I changed in about:config.

moonie

Re: odd bookmarks glitch regarding size

Unread post by moonie » 2019-02-03, 01:08

Goodydino wrote:Open Organize Bookmarks, click on Import and Backup and choose Backup. Save the file to somewhere that is handy to access, remove the browser's bookmarks and then restore from that backup copy. You might also have to change the settings I changed in about:config.
Thanks, I just did all of that (including setting the max size to 0 in :config) and yet somehow the icons still show upon reopening PM. I even tried deleting all of the .ico files in Palemoon's folder that's under Appdata, and they're still there. :think:

moonie

Re: odd bookmarks glitch regarding size

Unread post by moonie » 2019-02-03, 16:53

moonie wrote:
Goodydino wrote:Open Organize Bookmarks, click on Import and Backup and choose Backup. Save the file to somewhere that is handy to access, remove the browser's bookmarks and then restore from that backup copy. You might also have to change the settings I changed in about:config.
Thanks, I just did all of that (including setting the max size to 0 in :config) and yet somehow the icons still show upon reopening PM. I even tried deleting all of the .ico files in Palemoon's folder that's under Appdata, and they're still there. :think:
So, you're saying that the code for the icons themselves is somehow being written to the html file (when using the Export to Html option, that being the one in question)?

_yuyu_
Lunatic
Lunatic
Posts: 253
Joined: 2015-03-02, 14:18

Re: odd bookmarks glitch regarding size

Unread post by _yuyu_ » 2019-02-03, 20:32

moonie wrote: So, you're saying that the code for the icons themselves is somehow being written to the html file (when using the Export to Html option, that being the one in question)?
Yes, it's written in base64 code:
Capture1.PNG
Pale Moon 32-bit on Win 7 x64

moonie

Re: odd bookmarks glitch regarding size

Unread post by moonie » 2019-02-04, 01:40

_yuyu_ wrote:
moonie wrote: So, you're saying that the code for the icons themselves is somehow being written to the html file (when using the Export to Html option, that being the one in question)?
Yes, it's written in base64 code:
Capture1.PNG
Ok, thanks; I see. Aside from changing the max size for icons to zero in about:config, and re-importing the bookmarks via json (as directed above), is there anything that will keep the base64 code from ending up in the html export file?

Goodydino
Keeps coming back
Keeps coming back
Posts: 827
Joined: 2017-10-10, 21:20

Re: odd bookmarks glitch regarding size

Unread post by Goodydino » 2019-02-04, 20:08

I had also set browser.chrome.favicons as well as browser.chrome.site_icons to false in about:config. I have no favicons or site icons anywhere.

Michaell
Lunatic
Lunatic
Posts: 283
Joined: 2018-05-26, 18:13

Re: odd bookmarks glitch regarding size

Unread post by Michaell » 2019-02-04, 20:30

Does anyone know the difference between favicon, site icon, and shell.shortcutFavicons, as in where they're used? I have some that are present and some that seem to be blocked but I can't remember where that was set.
Win10home(1709), PM33.0.0-portable as of Feb 1, '24

moonie

Re: odd bookmarks glitch regarding size

Unread post by moonie » 2019-02-05, 14:36

They're still there; here are the changes I made to the config file:
Attachments
saddasd.jpg

moonie

Re: odd bookmarks glitch regarding size

Unread post by moonie » 2019-02-06, 14:37

NotWorthKnowing wrote:Does anyone know the difference between favicon, site icon, and shell.shortcutFavicons, as in where they're used? I have some that are present and some that seem to be blocked but I can't remember where that was set.
I think those setting are all in the about:config file (type "icon" in the search.)

Michaell
Lunatic
Lunatic
Posts: 283
Joined: 2018-05-26, 18:13

Re: odd bookmarks glitch regarding size

Unread post by Michaell » 2019-02-06, 15:41

Uh :wtf: ... yea, but not what I meant. I was asking what each config setting affects, like icons in menu, icon on tabs, etc. I'll find out eventually by toggling them.

This is old but still seems mostly correct:
http://kb.mozillazine.org/Browser.chrome.favicons
Win10home(1709), PM33.0.0-portable as of Feb 1, '24

vannilla
Moon Magic practitioner
Moon Magic practitioner
Posts: 2193
Joined: 2018-05-05, 13:29

Re: odd bookmarks glitch regarding size

Unread post by vannilla » 2019-02-06, 17:12

NotWorthKnowing wrote:Does anyone know the difference between favicon, site icon, and shell.shortcutFavicons, as in where they're used? I have some that are present and some that seem to be blocked but I can't remember where that was set.
The "favicon" is an image specified by websites so that browsers will display it near the page title.
Site icons might just be the same thing.
I don't know about the last one.

moonie

Re: odd bookmarks glitch regarding size

Unread post by moonie » 2019-02-06, 18:06

NotWorthKnowing wrote:Uh :wtf: ... yea, but not what I meant. I was asking what each config setting affects, like icons in menu, icon on tabs, etc. I'll find out eventually by toggling them.

This is old but still seems mostly correct:
http://kb.mozillazine.org/Browser.chrome.favicons
Right, sorry.. Where they're used... I had a brain-fart... Any clue as to why I still see icons in the browser after setting the parameters to "false" and limiting the size in that one setting to zero (as directed by Goodydino)? How did you get rid of them? I must not be clearing the .ico contents of some folder, or something..? Just a guess.

Michaell
Lunatic
Lunatic
Posts: 283
Joined: 2018-05-26, 18:13

Re: odd bookmarks glitch regarding size

Unread post by Michaell » 2019-02-06, 18:41

moonie wrote:How did you get rid of them? I must not be clearing the .ico contents of some folder, or something..? Just a guess.
I never did clear all of them; the ones for here and a few other sites always remained in Bookmarks menus (incl. toolbar). So I agree that they are cached somewhere, still to be determined. I was reading comments in the circus known as Bugzilla where they were talking about this 16-17 years ago, wasn't clear what they finally did, but I did see where one guy suggested storing them as part of the bookmarks file (like the base64). I have noticed that favicons seem to be blocked in tabs with siteicons = false (I don't think it even needed favicons=false which agrees with the old knowledgebase article. A hidden pref mentioned there (load_toolbar_icons) may not work anymore in PM; I haven't tested it yet(read the bugzilla where it was proposed). My main interest is blocking extra downloads of favicons (some sites are abusing the concept for tracking). I'm sure I could probably test it better if I started with a clean profile, but it's getting to be a bit much.
Off-topic:
I know one thing that has blocked many is the way I'm using uMatrix (default deny, Behind the Scene grid enabled, and images blocked by default for Behind the Scene. But this site is allowed so that's why I have favicon here.
Win10home(1709), PM33.0.0-portable as of Feb 1, '24

moonie

Re: odd bookmarks glitch regarding size

Unread post by moonie » 2019-02-07, 01:25

NotWorthKnowing wrote:
moonie wrote:How did you get rid of them? I must not be clearing the .ico contents of some folder, or something..? Just a guess.
I never did clear all of them; the ones for here and a few other sites always remained in Bookmarks menus (incl. toolbar). So I agree that they are cached somewhere, still to be determined. I was reading comments in the circus known as Bugzilla where they were talking about this 16-17 years ago, wasn't clear what they finally did, but I did see where one guy suggested storing them as part of the bookmarks file (like the base64). I have noticed that favicons seem to be blocked in tabs with siteicons = false (I don't think it even needed favicons=false which agrees with the old knowledgebase article. A hidden pref mentioned there (load_toolbar_icons) may not work anymore in PM; I haven't tested it yet(read the bugzilla where it was proposed). My main interest is blocking extra downloads of favicons (some sites are abusing the concept for tracking). I'm sure I could probably test it better if I started with a clean profile, but it's getting to be a bit much.
Off-topic:
I know one thing that has blocked many is the way I'm using uMatrix (default deny, Behind the Scene grid enabled, and images blocked by default for Behind the Scene. But this site is allowed so that's why I have favicon here.
I didn't know favicons could be used in that manner! Anyway, it's funny how the amount of data grows in the .html backup as the number of bookmarks lessens. I prefer to stick with this browser regardless of this odd glitch. Still, it is interesting.. and if it's solved, it sounds like it should resolve that security issue as well.

moonie

Re: odd bookmarks glitch regarding size

Unread post by moonie » 2019-02-20, 00:23

moonie wrote:
NotWorthKnowing wrote:
moonie wrote:How did you get rid of them? I must not be clearing the .ico contents of some folder, or something..? Just a guess.
I never did clear all of them; the ones for here and a few other sites always remained in Bookmarks menus (incl. toolbar). So I agree that they are cached somewhere, still to be determined. I was reading comments in the circus known as Bugzilla where they were talking about this 16-17 years ago, wasn't clear what they finally did, but I did see where one guy suggested storing them as part of the bookmarks file (like the base64). I have noticed that favicons seem to be blocked in tabs with siteicons = false (I don't think it even needed favicons=false which agrees with the old knowledgebase article. A hidden pref mentioned there (load_toolbar_icons) may not work anymore in PM; I haven't tested it yet(read the bugzilla where it was proposed). My main interest is blocking extra downloads of favicons (some sites are abusing the concept for tracking). I'm sure I could probably test it better if I started with a clean profile, but it's getting to be a bit much.
Off-topic:
I know one thing that has blocked many is the way I'm using uMatrix (default deny, Behind the Scene grid enabled, and images blocked by default for Behind the Scene. But this site is allowed so that's why I have favicon here.
I didn't know favicons could be used in that manner! Anyway, it's funny how the amount of data grows in the .html backup as the number of bookmarks lessens. I prefer to stick with this browser regardless of this odd glitch. Still, it is interesting.. and if it's solved, it sounds like it should resolve that security issue as well.
Anyway, Does anyone know of an extension, add-on, or tiny 3rd party software for a minimal .html bookmark export?

Locked