• Re: Firefox file icon

    From Newyana2@3:633/280.2 to All on Mon Apr 8 23:03:32 2024

    I can't change it; neither with the "change icon" in Properties, nor
    with FileTypesMan. It stays stubbornly as a white page icon (Notepad
    style), although it's fine on the taskbar.


    You can't change what? The icon for HTML files? There's
    no such thing as a Firefox file icon. To affect the icon for
    file types you can either go through Microsoft's maddening
    new system (which I can't even remember how to get to)
    or you can do it in the Registry. All file types follow the
    same pattern. You look up extension, which gives you class
    name, which leads to icon:

    HKCR\.html
    default value: classname (such as "htmlfile" or "FirefoxHTML")

    HKCR\[classname]\DefaultIcon
    default value: path of icon, such as "C:\icons\html.ico,0"

    The nuber at the end indicates the icon number in the file. For
    ico files it's always 0.

    --- MBSE BBS v1.0.8.4 (Linux-x86_64)
    * Origin: A noiseless patient Spider (3:633/280.2@fidonet)
  • From John C.@3:633/280.2 to All on Mon Apr 8 23:07:38 2024
    Ed Cryer wrote:
    I can't change it; neither with the "change icon" in Properties, nor
    with FileTypesMan. It stays stubbornly as a white page icon (Notepad
    style), although it's fine on the taskbar.

    The icons showing in Firefox.exe include correct ones, but also PDF and
    a handful of others.
    I tried changing to an icon in shell32.dll; no joy.

    Ed

    I'v had this problem in the past with Windows 7. I deleted the shortcut
    created when I installed Firefox, then I made a new shortcut to the
    program. Ended my problem.

    --
    John C.

    --- MBSE BBS v1.0.8.4 (Linux-x86_64)
    * Origin: A noiseless patient Spider (3:633/280.2@fidonet)
  • From VanguardLH@3:633/280.2 to All on Tue Apr 9 02:57:08 2024
    Keywords: VanguardLH,VLH

    Ed Cryer <ed@somewhere.in.the.uk> wrote:

    I can't change it; neither with the "change icon" in Properties, nor
    with FileTypesMan. It stays stubbornly as a white page icon (Notepad
    style), although it's fine on the taskbar.

    The icons showing in Firefox.exe include correct ones, but also PDF and
    a handful of others.
    I tried changing to an icon in shell32.dll; no joy.

    Don't know what is a "Firefox file icon". Please describe better.

    If you are creating .url shortcuts on your desktop or in a folder, don't
    use those if you want to have a different icon for each one. Instead,
    creating a .lnk shortcut (e.g., right-click on the desktop, create a new shortcut), and enter the following for the command:

    <path>\firefox.exe <url>

    <path> to wherever you installed Firefox (or whatever web browser you
    want to use to open the <url>). Then right-click on that new shortcut,
    and go to the Shortcut tab to change its icon. If the executable
    specified for the target (command) doesn't have an icon you want, you
    can browse to other .exe and .dll files that have icon resources defined
    within them.

    The above is how I created .lnk shortcuts (to programs) to let me change
    icons to differentiate, for example, between a weather web site, Google
    Voice, crossword puzzle site, different webmail clients, etc. You don't
    want a .url shortcut. You want a .lnk shortcut since that lets you
    choose an icon for just that shortcut.

    --- MBSE BBS v1.0.8.4 (Linux-x86_64)
    * Origin: Usenet Elder (3:633/280.2@fidonet)
  • From Paul@3:633/280.2 to All on Tue Apr 9 02:57:08 2024
    On 4/8/2024 9:03 AM, Newyana2 wrote:

    I can't change it; neither with the "change icon" in Properties, nor with FileTypesMan. It stays stubbornly as a white page icon (Notepad style), although it's fine on the taskbar.


    ÿYou can't change what? The icon for HTML files? There's
    no such thing as a Firefox file icon. To affect the icon for
    file types you can either go through Microsoft's maddening
    new system (which I can't even remember how to get to)
    or you can do it in the Registry. All file types follow the
    same pattern. You look up extension, which gives you class
    name, which leads to icon:

    HKCR\.html
    ÿÿÿ default value: classname (such as "htmlfile" or "FirefoxHTML")

    HKCR\[classname]\DefaultIcon
    ÿ default value: path of icon, such as "C:\icons\html.ico,0"

    The nuber at the end indicates the icon number in the file. For
    ico files it's always 0.

    Do you know whether this uses that blasted set of iconcache files ?

    It could be broken there for some reason.

    It's not clear to me, whether "redoing stuff" (canonical location updates)
    will ever repair iconcache. We have David Ross's AVG blank-sheet icon
    as an example. The only iconcache DB viewer, costs money.

    Paul

    --- MBSE BBS v1.0.8.4 (Linux-x86_64)
    * Origin: A noiseless patient Spider (3:633/280.2@fidonet)
  • From R.Wieser@3:633/280.2 to All on Tue Apr 9 03:41:15 2024
    Paul,

    It's not clear to me, whether "redoing stuff" (canonical location
    updates) will ever repair iconcache.

    Likely deleting them so Windows will rebuild them should than help.

    https://www.windowscentral.com/how-reset-icon-cache-database-windows-10

    Regards,
    Rudy Wieser




    --- MBSE BBS v1.0.8.4 (Linux-x86_64)
    * Origin: A noiseless patient Spider (3:633/280.2@fidonet)
  • From Big Al@3:633/280.2 to All on Tue Apr 9 05:42:36 2024
    On 4/8/24 03:15 PM, Ed Cryer wrote:
    Ed Cryer wrote:
    VanguardLH wrote:
    Ed Cryer <ed@somewhere.in.the.uk> wrote:

    I can't change it; neither with the "change icon" in Properties, nor
    with FileTypesMan. It stays stubbornly as a white page icon (Notepad
    style), although it's fine on the taskbar.

    The icons showing in Firefox.exe include correct ones, but also PDF and >>>> a handful of others.
    I tried changing to an icon in shell32.dll; no joy.

    Don't know what is a "Firefox file icon".ÿ Please describe better.

    If you are creating .url shortcuts on your desktop or in a folder, don't >>> use those if you want to have a different icon for each one.ÿ Instead,
    creating a .lnk shortcut (e.g., right-click on the desktop, create a new >>> shortcut), and enter the following for the command:

    <path>\firefox.exe <url>

    <path> to wherever you installed Firefox (or whatever web browser you
    want to use to open the <url>).ÿ Then right-click on that new shortcut,
    and go to the Shortcut tab to change its icon.ÿ If the executable
    specified for the target (command) doesn't have an icon you want, you
    can browse to other .exe and .dll files that have icon resources defined >>> within them.

    The above is how I created .lnk shortcuts (to programs) to let me change >>> icons to differentiate, for example, between a weather web site, Google
    Voice, crossword puzzle site, different webmail clients, etc.ÿ You don't >>> want a .url shortcut.ÿ You want a .lnk shortcut since that lets you
    choose an icon for just that shortcut.

    I have lots of .html files in a utility I use regularly. Their properties show that they open with
    Firefox, and they do just that when I click on them.
    All works well, at least so far.

    The problem is that when you navigate to the folder and show the files listed, they have the wrong
    icon. And I can't change that icon. And whatever I do to try and change it, reports no problem; it
    finishes as if it had done the change.

    Ed


    I've found some files locally that have a Firefox icon. They have an extension of .URL, and are
    called "Internet shortcut".

    There appears to have been some radical shift from MS in their handling of file extensions.

    Ed

    I don't think URL is a deviation. URL is a link where HTML/HTM is a page itself.
    I have a copy of my web page on my laptop and it's all HTML files, and they are text.

    A URL is like this, it's not a web page.: [{000214A0-0000-0000-C000-000000000046}]
    Prop3=19,2
    [InternetShortcut]
    IDList= URL=http://rs.ciggws.net/rd.cgi?FNC=MTSU_WM&CHA=UF2_DESKTOP&RES=america&LNG=EN&DEV=TR8600+series&OSV=W&ARA=US&CNM_SEP=0&OSV=W&DEV=TR8600+series&CTV=1.0&LNG=EN
    --
    Linux Mint 21.3 Cinnamon 6.0.4 Kernel 6.5.0-26-generic
    Al


    --- MBSE BBS v1.0.8.4 (Linux-x86_64)
    * Origin: A noiseless patient Spider (3:633/280.2@fidonet)
  • From VanguardLH@3:633/280.2 to All on Tue Apr 9 05:43:14 2024
    Keywords: VanguardLH,VLH

    Ed Cryer <ed@somewhere.in.the.uk> wrote:

    VanguardLH wrote:
    Ed Cryer <ed@somewhere.in.the.uk> wrote:

    I can't change it; neither with the "change icon" in Properties, nor
    with FileTypesMan. It stays stubbornly as a white page icon (Notepad
    style), although it's fine on the taskbar.

    The icons showing in Firefox.exe include correct ones, but also PDF and
    a handful of others.
    I tried changing to an icon in shell32.dll; no joy.

    Don't know what is a "Firefox file icon". Please describe better.

    If you are creating .url shortcuts on your desktop or in a folder, don't
    use those if you want to have a different icon for each one. Instead,
    creating a .lnk shortcut (e.g., right-click on the desktop, create a new
    shortcut), and enter the following for the command:

    <path>\firefox.exe <url>

    <path> to wherever you installed Firefox (or whatever web browser you
    want to use to open the <url>). Then right-click on that new shortcut,
    and go to the Shortcut tab to change its icon. If the executable
    specified for the target (command) doesn't have an icon you want, you
    can browse to other .exe and .dll files that have icon resources defined
    within them.

    The above is how I created .lnk shortcuts (to programs) to let me change
    icons to differentiate, for example, between a weather web site, Google
    Voice, crossword puzzle site, different webmail clients, etc. You don't
    want a .url shortcut. You want a .lnk shortcut since that lets you
    choose an icon for just that shortcut.

    I have lots of .html files in a utility I use regularly. Their
    properties show that they open with Firefox, and they do just that when
    I click on them.
    All works well, at least so far.

    The problem is that when you navigate to the folder and show the files listed, they have the wrong icon. And I can't change that icon. And
    whatever I do to try and change it, reports no problem; it finishes as
    if it had done the change.

    Ed

    So, it's not about .url shortcuts, but about .html files, and the icons displayed for those .html files (in whatever unidentified file viewer).
    In other words, you want to change the .html filetype icon, not some
    Firefox file icon.

    In FileTypesMan, right-click on the .html extension (filetype), and
    select to jump to the registry setting for that filetype, or select the filetype and use Ctrl+R to jump to the registry setting. Expand that
    registry key to see the DefaultIcon subkey. Does its default item have
    a value of:

    C:\Program Files\Mozilla Firefox\firefox.exe,1

    The path is where I installed Firefox. Might be different for you. The
    ",1" is specifying the 1st icon resource (dead keeled over fox) in the
    ..exe file.

    If you don't want to edit in regedit.exe the DefaultIcon pointer, you
    can right-click on the .html filetype in FileTypeMan to select "Edit
    Selected File Type". In that entry form, you can enter the resource
    index in an .exe or .dll file for which icon you want, or use the Browse
    button to find the .exe or .dll file (but you'll have to figure out the resource index if the first one isn't what you want).

    In regedit, go to:

    HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.html

    Under that key is a UserChoice subkey. Microsoft added this subkey for critical filetype and protocol handlers. Windows knows how to generate
    this value, not malware that might attempt to change which handlers are
    used for which filetypes or protocols. If the hash value is invalid,
    Windows will revert the filetype or protocol back to the default
    handler. Programs cannot programmatically use the registry API to
    change these protected handlers. You have to use the Windows wizard:
    Default Apps, and select either "Choose default apps by filetype" or
    "Choose default apps by protocol". Since you are asking about the .html filetype, use "Choose default apps by filetype". Scroll down to the
    ..html filetype. You should see:

    ..htm Firefox
    Firefox HTML Document

    ..html Firefox
    Firefox HTML Document

    If that is what you see, toggle the handler to see if returning back to
    Firefox as the handler steps atop whatever foul up might be regarding
    handlers and icons.

    There is also the possibility your shelliconcache is fouled. Delete it,
    logoff and logon to rebuild the cache, and test which icon shows up. I
    use WinAero Tweaker's Reset Icon Cache to delete and rebuild. Or you
    can read about the tweak at:

    https://winaero.com/fix-broken-icons-reset-icon-cache-in-windows-10-without-reboot/

    If you have lots of different filetype and protocol handler icons, the
    default 500 KB size of the icon cache file may not be sufficient. Some
    will have to get tossed out to make room for new ones. In WinAero
    Tweaker, you can increase the size of the cache (Icon Cache Size). Mine
    was only at 512 KB, so I upped it to 8192 KB (8 MB). See:

    https://winaero.com/change-icon-cache-size-windows-10/

    Since the change is to an HKEY_LOCAL_MACHINE subkey, the change applies
    to all Windows accounts. Although not mentioned, I'd probably logoff
    and logon to make sure the registry change got applied.

    Peculiarly, under the Explorer key, I have 2 settings:

    MaxCachedIcons
    Max Cached Icons

    One with spaces, one without. Possibly I did a registry edit a long
    time ago, and whoever's article I read about this had the spaces in the
    key, or the spaced version was used before, but Microsoft changed the
    data item's name.

    --- MBSE BBS v1.0.8.4 (Linux-x86_64)
    * Origin: Usenet Elder (3:633/280.2@fidonet)
  • From Newyana2@3:633/280.2 to All on Tue Apr 9 05:50:37 2024
    On 4/8/2024 12:57 PM, Paul wrote:

    Do you know whether this uses that blasted set of iconcache files ?


    As Rudy said, there used to be a method that involved deleting
    the icon cache. Years ago I wrote software that used a hack to
    change the size of icons, call the system for an update, then changed
    it back and called the system again. That would cause all icons to
    update.

    Yesterday on my new Win10 system I changed icons for folders
    and for HTA files. It didn't take at first, but after a reboot or two
    it caught up. Win10 seems to be good that way.

    It's not clear to me, whether "redoing stuff" (canonical location updates) will ever repair iconcache. We have David Ross's AVG blank-sheet icon
    as an example. The only iconcache DB viewer, costs money.


    I'm still not clear what we're talking about, though. I have
    seen Win10 lose the icon for Mozilla shortcuts in Quick Launch,
    though that seems to have fixed itself. As far as changing icons
    for file types, Win10 doesn't seem to need any special treatment
    in my experience. Just a little patience.

    --- MBSE BBS v1.0.8.4 (Linux-x86_64)
    * Origin: A noiseless patient Spider (3:633/280.2@fidonet)
  • From Big Al@3:633/280.2 to All on Tue Apr 9 07:47:46 2024
    On 4/8/24 04:45 PM, Ed Cryer wrote:
    Big Al wrote:
    On 4/8/24 03:15 PM, Ed Cryer wrote:
    Ed Cryer wrote:
    VanguardLH wrote:
    Ed Cryer <ed@somewhere.in.the.uk> wrote:

    I can't change it; neither with the "change icon" in Properties, nor >>>>>> with FileTypesMan. It stays stubbornly as a white page icon (Notepad >>>>>> style), although it's fine on the taskbar.

    The icons showing in Firefox.exe include correct ones, but also PDF and >>>>>> a handful of others.
    I tried changing to an icon in shell32.dll; no joy.

    Don't know what is a "Firefox file icon".ÿ Please describe better.

    If you are creating .url shortcuts on your desktop or in a folder, don't >>>>> use those if you want to have a different icon for each one.ÿ Instead, >>>>> creating a .lnk shortcut (e.g., right-click on the desktop, create a new >>>>> shortcut), and enter the following for the command:

    <path>\firefox.exe <url>

    <path> to wherever you installed Firefox (or whatever web browser you >>>>> want to use to open the <url>).ÿ Then right-click on that new shortcut, >>>>> and go to the Shortcut tab to change its icon.ÿ If the executable
    specified for the target (command) doesn't have an icon you want, you >>>>> can browse to other .exe and .dll files that have icon resources defined >>>>> within them.

    The above is how I created .lnk shortcuts (to programs) to let me change >>>>> icons to differentiate, for example, between a weather web site, Google >>>>> Voice, crossword puzzle site, different webmail clients, etc.ÿ You don't >>>>> want a .url shortcut.ÿ You want a .lnk shortcut since that lets you
    choose an icon for just that shortcut.

    I have lots of .html files in a utility I use regularly. Their properties show that they open
    with Firefox, and they do just that when I click on them.
    All works well, at least so far.

    The problem is that when you navigate to the folder and show the files listed, they have the
    wrong icon. And I can't change that icon. And whatever I do to try and change it, reports no
    problem; it finishes as if it had done the change.

    Ed


    I've found some files locally that have a Firefox icon. They have an extension of .URL, and are
    called "Internet shortcut".

    There appears to have been some radical shift from MS in their handling of file extensions.

    Ed

    I don't think URL is a deviation.ÿ URL is a link where HTML/HTM is a page itself.
    I have a copy of my web page on my laptop and it's all HTML files, and they are text.

    A URL is like this, it's not a web page.:
    [{000214A0-0000-0000-C000-000000000046}]
    Prop3=19,2
    [InternetShortcut]
    IDList=
    URL=http://rs.ciggws.net/rd.cgi?FNC=MTSU_WM&CHA=UF2_DESKTOP&RES=america&LNG=EN&DEV=TR8600+series&OSV=W&ARA=US&CNM_SEP=0&OSV=W&DEV=TR8600+series&CTV=1.0&LNG=EN

    .URl is a Windows extension. It points to:
    Windows system32.dll, url.dll,0
    Internet shortcut

    and , of course, Windows assigns a program to open those files.

    It strikes me that this .URL extension has thrown the cat amidst the pigeons. It's new to me. How
    long has it been infecting Win10?

    Ed



    I've seen .url files for years. Nothing new to me.
    --
    Linux Mint 21.3 Cinnamon 6.0.4 Kernel 6.5.0-26-generic
    Al


    --- MBSE BBS v1.0.8.4 (Linux-x86_64)
    * Origin: A noiseless patient Spider (3:633/280.2@fidonet)
  • From VanguardLH@3:633/280.2 to All on Tue Apr 9 07:51:39 2024
    Keywords: VanguardLH,VLH

    Ed Cryer <ed@somewhere.in.the.uk> wrote:

    VanguardLH wrote:
    Ed Cryer <ed@somewhere.in.the.uk> wrote:

    VanguardLH wrote:
    Ed Cryer <ed@somewhere.in.the.uk> wrote:

    I can't change it; neither with the "change icon" in Properties, nor >>>>> with FileTypesMan. It stays stubbornly as a white page icon (Notepad >>>>> style), although it's fine on the taskbar.

    The icons showing in Firefox.exe include correct ones, but also PDF and >>>>> a handful of others.
    I tried changing to an icon in shell32.dll; no joy.

    Don't know what is a "Firefox file icon". Please describe better.

    If you are creating .url shortcuts on your desktop or in a folder, don't >>>> use those if you want to have a different icon for each one. Instead, >>>> creating a .lnk shortcut (e.g., right-click on the desktop, create a new >>>> shortcut), and enter the following for the command:

    <path>\firefox.exe <url>

    <path> to wherever you installed Firefox (or whatever web browser you
    want to use to open the <url>). Then right-click on that new shortcut, >>>> and go to the Shortcut tab to change its icon. If the executable
    specified for the target (command) doesn't have an icon you want, you
    can browse to other .exe and .dll files that have icon resources defined >>>> within them.

    The above is how I created .lnk shortcuts (to programs) to let me change >>>> icons to differentiate, for example, between a weather web site, Google >>>> Voice, crossword puzzle site, different webmail clients, etc. You don't >>>> want a .url shortcut. You want a .lnk shortcut since that lets you
    choose an icon for just that shortcut.

    I have lots of .html files in a utility I use regularly. Their
    properties show that they open with Firefox, and they do just that when
    I click on them.
    All works well, at least so far.

    The problem is that when you navigate to the folder and show the files
    listed, they have the wrong icon. And I can't change that icon. And
    whatever I do to try and change it, reports no problem; it finishes as
    if it had done the change.

    Ed

    So, it's not about .url shortcuts, but about .html files, and the icons
    displayed for those .html files (in whatever unidentified file viewer).
    In other words, you want to change the .html filetype icon, not some
    Firefox file icon.

    In FileTypesMan, right-click on the .html extension (filetype), and
    select to jump to the registry setting for that filetype, or select the
    filetype and use Ctrl+R to jump to the registry setting. Expand that
    registry key to see the DefaultIcon subkey. Does its default item have
    a value of:

    C:\Program Files\Mozilla Firefox\firefox.exe,1

    The path is where I installed Firefox. Might be different for you. The
    ",1" is specifying the 1st icon resource (dead keeled over fox) in the
    .exe file.

    If you don't want to edit in regedit.exe the DefaultIcon pointer, you
    can right-click on the .html filetype in FileTypeMan to select "Edit
    Selected File Type". In that entry form, you can enter the resource
    index in an .exe or .dll file for which icon you want, or use the Browse
    button to find the .exe or .dll file (but you'll have to figure out the
    resource index if the first one isn't what you want).

    In regedit, go to:

    HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.html

    Under that key is a UserChoice subkey. Microsoft added this subkey for
    critical filetype and protocol handlers. Windows knows how to generate
    this value, not malware that might attempt to change which handlers are
    used for which filetypes or protocols. If the hash value is invalid,
    Windows will revert the filetype or protocol back to the default
    handler. Programs cannot programmatically use the registry API to
    change these protected handlers. You have to use the Windows wizard:
    Default Apps, and select either "Choose default apps by filetype" or
    "Choose default apps by protocol". Since you are asking about the .html
    filetype, use "Choose default apps by filetype". Scroll down to the
    .html filetype. You should see:

    .htm Firefox
    Firefox HTML Document

    .html Firefox
    Firefox HTML Document

    If that is what you see, toggle the handler to see if returning back to
    Firefox as the handler steps atop whatever foul up might be regarding
    handlers and icons.

    There is also the possibility your shelliconcache is fouled. Delete it,
    logoff and logon to rebuild the cache, and test which icon shows up. I
    use WinAero Tweaker's Reset Icon Cache to delete and rebuild. Or you
    can read about the tweak at:

    https://winaero.com/fix-broken-icons-reset-icon-cache-in-windows-10-without-reboot/

    If you have lots of different filetype and protocol handler icons, the
    default 500 KB size of the icon cache file may not be sufficient. Some
    will have to get tossed out to make room for new ones. In WinAero
    Tweaker, you can increase the size of the cache (Icon Cache Size). Mine
    was only at 512 KB, so I upped it to 8192 KB (8 MB). See:

    https://winaero.com/change-icon-cache-size-windows-10/

    Since the change is to an HKEY_LOCAL_MACHINE subkey, the change applies
    to all Windows accounts. Although not mentioned, I'd probably logoff
    and logon to make sure the registry change got applied.

    Peculiarly, under the Explorer key, I have 2 settings:

    MaxCachedIcons
    Max Cached Icons

    One with spaces, one without. Possibly I did a registry edit a long
    time ago, and whoever's article I read about this had the spaces in the
    key, or the spaced version was used before, but Microsoft changed the
    data item's name.

    .URL, .htm, .html are all Windows file extensions; or, at least, they
    used to be.
    They guide Windows, or, at least they used to, to different programs.

    They have icons associated with them; or, at least they used to.

    Ergo, if I look at a file's extension with WinExplorer, it should point
    to those root elements of the Windows architecture.

    But this schematic appears to have crumbled. OK, so be it. But how do I
    get to know the new layout?

    Ed

    Have you looked at using FileTypeMan to change the .exe or .dll for
    where to get the icon?

    Have you tried toggling the filetype associations?

    Have you deleted and rebuilt the icon cache yet?

    It's software. It'll break.

    --- MBSE BBS v1.0.8.4 (Linux-x86_64)
    * Origin: Usenet Elder (3:633/280.2@fidonet)
  • From Paul@3:633/280.2 to All on Tue Apr 9 14:20:40 2024
    On 4/8/2024 5:09 PM, Ed Cryer wrote:


    .URL, .htm, .html are all Windows file extensions; or, at least, they used to be.
    They guide Windows, or, at least they used to, to different programs.

    They have icons associated with them; or, at least they used to.

    Ergo, if I look at a file's extension with WinExplorer, it should point to those root elements of the Windows architecture.

    But this schematic appears to have crumbled. OK, so be it. But how do I get to know the new layout?

    Ed


    File types are, as they have been.

    Windows is object oriented in a sense. In that, double clicking
    a data icon of some sort, the system associates the data icon
    with an executable which will be used to handle it. This is roughly
    the equivalent of dragging the data icon on top of the program icon.

    File Types Management, is a means of doing something like this

    .html ==> Firefox

    The Firefox browser, registers with the OS, that it supports
    the reading and parsing of certain (multiple) file types.

    But, on the converse direction, the *user* has the
    ability to associate a specific data file type, with a
    specific application. And, we would hope when a user
    makes the selection, that all choices were equally
    functional.

    .html ==> Firefos
    Internet Explorer
    MSEdge
    Notepad

    Now, the file is one of many that are plain text,
    and consequently, Notepad is a "valid" choice that
    a user can make. Except it is not technically
    the "best" choice, since assigning a browser to
    parse that file type, is closer to the original intent.

    There are interfaces in the OS itself, without any
    third party, for setting these.

    You could attempt to force an association, except certain
    things in the Registry are protected with a hash check,
    as "proof" the Windows agent did the work of setting
    the choice. An example of where this protection is
    present, is the "User Default Browser Choice". which
    might indeed be related to .htm or .html.

    Microsoft has been using that hash, to "bias" the user
    choice. To annoy users that they can't make Firefox
    their default browser, and MSEdge seems to keep coming
    back. It would come back, any time the hash value
    is incorrect. Thus, any tool that duplicates that system
    built-in function, must also duplicate the hash scheme.
    There is crypto involved. But someone did break it,
    and to avoid DMCA charges, he cannot publicly give
    a recipe as to what his code is doing. That would
    be "hacking", punishable under the DMCA. Like Assange,
    he could be kept in a cardboard box for five years, in
    a kind of limbo. Developers must be very careful in
    their expression and thought <snicker>.

    https://i.postimg.cc/L4wJN66z/win10-default-apps.gif

    https://i.postimg.cc/44D62TJh/win10-default-apps-by-file-type.gif

    https://i.postimg.cc/vZQ6CYCD/win11-default-apps-Firefox.gif

    Paul

    --- MBSE BBS v1.0.8.4 (Linux-x86_64)
    * Origin: A noiseless patient Spider (3:633/280.2@fidonet)
  • From Newyana2@3:633/280.2 to All on Tue Apr 9 22:09:00 2024
    On 4/9/2024 7:00 AM, Ed Cryer wrote:

    All systems are up to date, as are the Firefoxes.

    Has anyone here using Home got my misbehaving browser?


    I have Win10 Home running Firefox. I haven't had any trouble
    with browsers. All my HTML files show a black-with-FF-logo
    icon. Though I did find something that claimed to
    remove Edge. Then I tracked down remaining Edge files and
    removed those. (In ProgramData? Program Files? I'm not sure.
    I was just setting up Win10 and it was days of whack-a-mole
    as I tried to get it to behave with some kind of baseline civility.)

    Could that have had an effect? I doubt it. I'm guessing that
    I must have gone through "choose defaults by extension". I
    remember that I used that for some files because the defaults
    I wanted were simply not included in my options for open with...

    Looking in my Registry now I see that actually FF never overwrote
    the HKCR extension and classname keys. It all points to IE!
    Instead, the only indication of Firefox is in the keys that
    Vanguard mentioned:

    HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.html\UserChoice

    There it has a value of ProgID which has data of FirefoxHTML-xxxxxxxxxx
    I don't know whether the number is unique. There's also a Hash value.
    So UserChoice overrides HKCR and is designed such that it can only
    be set through Windows. I have no values or subkeys for .html under HKCU\Software\Classes. FirefoxHTML-xxxxx points back into HKCR.

    This is more convoluted than I realized. And confusing. The term
    "ProgID" has traditionally had a very specfic meaning as a COM
    server.class designation. But it doesn't mean that here. It seems to
    be some kind of MS nerd practical joke.

    It looks like there's no reason not to go along with UserChoice
    if it works. Alternatively, one could reportedly delete the UserChoice
    key and thereby cause the setting to revert to HKCR. Then you'd
    need to change the class name under .html etc to the Firefox class
    identifier -- FirefoxHTML-xxxxxxx. I expect the UserChoice values can't
    be changed by hand. The Hash probably has to match the ProgID
    value.


    --- MBSE BBS v1.0.8.4 (Linux-x86_64)
    * Origin: A noiseless patient Spider (3:633/280.2@fidonet)
  • From Paul@3:633/280.2 to All on Wed Apr 10 00:18:02 2024
    On 4/9/2024 8:09 AM, Newyana2 wrote:
    On 4/9/2024 7:00 AM, Ed Cryer wrote:

    All systems are up to date, as are the Firefoxes.

    Has anyone here using Home got my misbehaving browser?


    ÿÿ I have Win10 Home running Firefox. I haven't had any trouble
    with browsers. All my HTML files show a black-with-FF-logo
    icon. Though I did find something that claimed to
    remove Edge. Then I tracked down remaining Edge files and
    removed those. (In ProgramData? Program Files? I'm not sure.
    I was just setting up Win10 and it was days of whack-a-mole
    as I tried to get it to behave with some kind of baseline civility.)

    ÿÿ Could that have had an effect? I doubt it. I'm guessing that
    I must have gone through "choose defaults by extension". I
    remember that I used that for some files because the defaults
    I wanted were simply not included in my options for open with...

    ÿ Looking in my Registry now I see that actually FF never overwrote
    the HKCR extension and classname keys. It all points to IE!
    Instead, the only indication of Firefox is in the keys that
    Vanguard mentioned:

    HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.html\UserChoice

    ÿ There it has a value of ProgID which has data of FirefoxHTML-xxxxxxxxxx
    I don't know whether the number is unique. There's also a Hash value.
    So UserChoice overrides HKCR and is designed such that it can only
    be set through Windows. I have no values or subkeys for .html under HKCU\Software\Classes. FirefoxHTML-xxxxx points back into HKCR.

    ÿÿ This is more convoluted than I realized. And confusing. The term
    "ProgID" has traditionally had a very specfic meaning as a COM
    server.class designation. But it doesn't mean that here. It seems to
    be some kind of MS nerd practical joke.

    ÿ It looks like there's no reason not to go along with UserChoice
    if it works. Alternatively, one could reportedly delete the UserChoice
    key and thereby cause the setting to revert to HKCR. Then you'd
    need to change the class name under .html etc to the Firefox class
    identifier -- FirefoxHTML-xxxxxxx. I expect the UserChoice values can't
    be changed by hand. The Hash probably has to match the ProgID
    value.


    There happens to be a post, with a hint.

    MID <ecf4f54317a17a4494baf96fde01c7e8@www.novabbs.com>

    http://al.howardknight.net/?STYPE=msgid&MSGI=%3Cecf4f54317a17a4494baf96fde01c7e8%40www.novabbs.com%3E

    The URL in that post, is this.

    https://www.ghacks.net/2024/04/08/new-sneaky-windows-driver-ucdp-stops-non-microsoft-software-from-setting-defaults/

    You know, Extended Support, "we won't change feature set", feature set.

    Paul


    --- MBSE BBS v1.0.8.4 (Linux-x86_64)
    * Origin: A noiseless patient Spider (3:633/280.2@fidonet)
  • From VanguardLH@3:633/280.2 to All on Wed Apr 10 08:52:58 2024
    Keywords: VanguardLH,VLH

    Ed Cryer <ed@somewhere.in.the.uk> wrote:

    Both .htm and .html have Firefox assigned; but .url has "Internet
    Browser", and the only alternative choice is "Look for an app in the Microsoft Store".

    Internet Browser is a switching client. It picks whatever you assigned
    to be the default web browser. I had changed the handler (don't
    remember how) to point at Firefox, but ran into some problem that I
    cannot now remember. It was serious, and luckily I remember what I
    changed in the last couple days; else, I would've had to restore from an
    image backup. When double-clicking on a .url file, the Internet Browser
    is used to determine which web browser to load. It is not an actual web browser. In dev circles, "browser" is often something to make a
    selection, like the file browser is a dialog that opens when you go to
    save a file or select one.

    It is the ieframe.dll file with its functions (exports) having a
    friendly name of "Internet Browser". It's one of those Internet
    Explorer libs used for more than IE, and something that survived despite Microsoft dropping Internet Explorer (and even if you manage to
    uninstall IE). Using a DLL viewer, like Nirsoft's DLL Export View, you
    can see the list of functions that can be called inside the DLL file.

    https://www.ctrl.blog/entry/windows-internet-browser.html

    --- MBSE BBS v1.0.8.4 (Linux-x86_64)
    * Origin: Usenet Elder (3:633/280.2@fidonet)
  • From VanguardLH@3:633/280.2 to All on Wed Apr 10 18:58:01 2024
    Keywords: VanguardLH,VLH

    Ed Cryer <ed@somewhere.in.the.uk> wrote:

    This MS forum shows a chap with a problem very similar to mine; https://answers.microsoft.com/en-us/windows/forum/all/incorrect-icon-being-displayed-for-one-particular/b70a2913-4f8f-4435-a14a-eba38ca38e1a

    In addition to what he mentions, I've also quadrupled the size of the
    icon cache. Oh, and BTW, the solutions suggested by the independent
    advisor Paul Abayon didn't work either.

    I already mentioned using WinAero Tweaker to reset the icon cache, and
    to change its size. Or, you can follow online articles delving into the
    same issues, like using a .bat file to 'del' the icon .db file and
    reg.exe to change a registry setting.

    As I recall, I've only had to delete the icon cache just once, but so
    long ago that I don't remember for which version of Windows. Once the
    registry setting is changed to increase the cache size, very unlikely
    you have to do it again.

    Paul, in that article, didn't seem to help much. More like he was
    trying to keep the user occupied with busy-work rather than addressing
    the issue. He is one of those pseudo-techs that professes competence he doesn't have. There are lots of those in the MS Answers web forums.
    His only real help was in providing a link to the TenForums article.
    There are tons of online articles describing how to delete the icon
    cache file, and upping the size of the cache. I picked the WinAero
    articles, because the tweaker has links to them to provide information
    on just what the tweaker does (unlike a lot of tweakers that keep secret
    that info, like that makes them magical and special).

    --- MBSE BBS v1.0.8.4 (Linux-x86_64)
    * Origin: Usenet Elder (3:633/280.2@fidonet)
  • From Big Al@3:633/280.2 to All on Wed Apr 10 21:13:50 2024
    On 4/10/24 06:52 AM, Ed Cryer wrote:
    VanguardLH wrote:
    Ed Cryer <ed@somewhere.in.the.uk> wrote:

    This MS forum shows a chap with a problem very similar to mine;
    https://answers.microsoft.com/en-us/windows/forum/all/incorrect-icon-being-displayed-for-one-particular/b70a2913-4f8f-4435-a14a-eba38ca38e1a

    In addition to what he mentions, I've also quadrupled the size of the
    icon cache. Oh, and BTW, the solutions suggested by the independent
    advisor Paul Abayon didn't work either.

    I already mentioned using WinAero Tweaker to reset the icon cache, and
    to change its size.ÿ Or, you can follow online articles delving into the
    same issues, like using a .bat file to 'del' the icon .db file and
    reg.exe to change a registry setting.

    As I recall, I've only had to delete the icon cache just once, but so
    long ago that I don't remember for which version of Windows.ÿ Once the
    registry setting is changed to increase the cache size, very unlikely
    you have to do it again.

    Paul, in that article, didn't seem to help much.ÿ More like he was
    trying to keep the user occupied with busy-work rather than addressing
    the issue.ÿ He is one of those pseudo-techs that professes competence he
    doesn't have.ÿ There are lots of those in the MS Answers web forums.
    His only real help was in providing a link to the TenForums article.
    There are tons of online articles describing how to delete the icon
    cache file, and upping the size of the cache.ÿ I picked the WinAero
    articles, because the tweaker has links to them to provide information
    on just what the tweaker does (unlike a lot of tweakers that keep secret
    that info, like that makes them magical and special).

    I'm teetering around a re-installation of Firefox; a complete clean uninstall using IOBit, after
    saving all bookmarks and list of add-ons.

    I'm reluctant to do that because it might work and remove the problem; which is so abstruse that I'm
    aiming for a Nobel prize. I'll follow in the footsteps of Watson & Crick, and Peter Higgs.ÿÿ (:-

    Ed

    P.S. I can't rid myself of a suspicion that MS are to blame here; they perform somersaults and
    sleight of hand in order to keep Edge installed and active. So, what have they done here? I recall a
    year or so ago that I had two FFs running when I downloaded a second one from the Store; for some
    reason I can't recall, probably just adventurous curiosity to see what would happen.

    If you don't have it turned on, Firefox sync will sync (by choice) bookmarks, settings, etc. If
    you re-install and turn sync back on, it will restore those bookmarks.
    All you need is an email and make a password to set it up. I"m not even sure the email address has
    to be valid, I don't remember (it's been too long) if it sent you a verification email or not.
    --
    Linux Mint 21.3 Cinnamon 6.0.4 Kernel 5.15.0-102-generic
    Al


    --- MBSE BBS v1.0.8.4 (Linux-x86_64)
    * Origin: A noiseless patient Spider (3:633/280.2@fidonet)
  • From VanguardLH@3:633/280.2 to All on Thu Apr 11 05:53:53 2024
    Keywords: VanguardLH,VLH

    Ed Cryer <ed@somewhere.in.the.uk> wrote:

    VanguardLH wrote:
    Ed Cryer <ed@somewhere.in.the.uk> wrote:

    This MS forum shows a chap with a problem very similar to mine;
    https://answers.microsoft.com/en-us/windows/forum/all/incorrect-icon-being-displayed-for-one-particular/b70a2913-4f8f-4435-a14a-eba38ca38e1a

    In addition to what he mentions, I've also quadrupled the size of the
    icon cache. Oh, and BTW, the solutions suggested by the independent
    advisor Paul Abayon didn't work either.

    I already mentioned using WinAero Tweaker to reset the icon cache, and
    to change its size. Or, you can follow online articles delving into the
    same issues, like using a .bat file to 'del' the icon .db file and
    reg.exe to change a registry setting.

    As I recall, I've only had to delete the icon cache just once, but so
    long ago that I don't remember for which version of Windows. Once the
    registry setting is changed to increase the cache size, very unlikely
    you have to do it again.

    Paul, in that article, didn't seem to help much. More like he was
    trying to keep the user occupied with busy-work rather than addressing
    the issue. He is one of those pseudo-techs that professes competence he
    doesn't have. There are lots of those in the MS Answers web forums.
    His only real help was in providing a link to the TenForums article.
    There are tons of online articles describing how to delete the icon
    cache file, and upping the size of the cache. I picked the WinAero
    articles, because the tweaker has links to them to provide information
    on just what the tweaker does (unlike a lot of tweakers that keep secret
    that info, like that makes them magical and special).

    I'm teetering around a re-installation of Firefox; a complete clean uninstall using IOBit, after saving all bookmarks and list of add-ons.

    I'm reluctant to do that because it might work and remove the problem;
    which is so abstruse that I'm aiming for a Nobel prize. I'll follow in
    the footsteps of Watson & Crick, and Peter Higgs. (:-

    Ed

    P.S. I can't rid myself of a suspicion that MS are to blame here; they perform somersaults and sleight of hand in order to keep Edge installed
    and active. So, what have they done here? I recall a year or so ago that
    I had two FFs running when I downloaded a second one from the Store; for some reason I can't recall, probably just adventurous curiosity to see
    what would happen.

    Deleting the iconcache.db file (and optionally increasing its size), and logging out and back in, did not work for you? Have you tried it yet?

    Corruption of the icon cache has been a problem for every Windows
    version. Increasing the cache size will alleviate the problem until you install so many program with so many app icons that the cache gets
    filled again to start truncating its content.

    --- MBSE BBS v1.0.8.4 (Linux-x86_64)
    * Origin: Usenet Elder (3:633/280.2@fidonet)
  • From VanguardLH@3:633/280.2 to All on Thu Apr 11 09:10:09 2024
    Keywords: VanguardLH,VLH

    Ed Cryer <ed@somewhere.in.the.uk> wrote:

    I know you seem convinced that [icon cache corruption] is the cause.
    You mention it time and again. But it was one of the first things I
    did.

    I mentioned it several times, because until now you did NOT mention
    doing it at first. Might've been the first thing you did, but the last
    you admitted. Apparently it did not help.

    Um, after deleting the iconcache.db file, you did logoff and logon
    again, right? The cache gets read into memory. Deleting the file won't
    remove the memory image. Since the file is under your %userprofile%
    folder, separate caches are maintained for each Windows account. Just
    logging out and logging in should reload the file into memory; else, I'd
    next try rebooting Windows.

    There are other iconcache files in Appdata/ Local/ Microsoft/ Windows/ Explorer folder; lots of them, things like iconcache_48.

    I've read other articles that mention iconcache_* files. Since they are
    cache files, should be okay to delete them, and get them rebuilt. I
    would do a backup first to restore them if found they're really needed.

    I have:

    %localappdata%
    iconcache.db (hidden file)
    iconcache.db.backup (hidden file)

    %localappdata%\Microsoft\Windows\Explorer
    iconcache_*.db (17 files)

    Mine were modified today or yesterday, no earlier. From what I've read
    of others trying to delete the Explorer\iconcache_*.db files, they were targeting those files only because of "iconcache" in their filename.
    When they tried to delete those files, they got an error the files were
    in-use by explorer.exe (which functions as both the file manager and the desktop manager). You can open a cmd.exe shell (I'd make it an admin
    aka elevated shell), and enter "taskkill /f /im explorer.exe" to kill
    all instances of that process. The desktop disappears. Then use the
    command shell to use 'del' commands on the iconcache_*.db files. Then
    run explorer.exe, and the desktop should reappear.

    When I've had to correct an icon problem (very rare), I only focused on deleting the iconcache.db file, not the iconcache_*.db files.

    --- MBSE BBS v1.0.8.4 (Linux-x86_64)
    * Origin: Usenet Elder (3:633/280.2@fidonet)
  • From Paul@3:633/280.2 to All on Thu Apr 11 15:47:31 2024
    On 4/10/2024 11:15 AM, Ed Cryer wrote:
    Big Al wrote:
    On 4/10/24 06:52 AM, Ed Cryer wrote:

    I'm teetering around a re-installation of Firefox; a complete clean uninstall using IOBit, after saving all bookmarks and list of add-ons.

    I'm reluctant to do that because it might work and remove the problem; which is so abstruse that I'm aiming for a Nobel prize. I'll follow in the footsteps of Watson & Crick, and Peter Higgs.ÿÿ (:-

    Ed

    P.S. I can't rid myself of a suspicion that MS are to blame here; they perform somersaults and sleight of hand in order to keep Edge installed and active. So, what have they done here? I recall a year or so ago that I had two FFs running when I downloaded a second one from the Store; for some reason I can't recall, probably just adventurous curiosity to see what would happen.

    If you don't have it turned on, Firefox sync will sync (by choice) bookmarks, settings, etc.ÿÿ If you re-install and turn sync back on, it will restore those bookmarks.
    All you need is an email and make a password to set it up.ÿ I"m not even sure the email address has to be valid, I don't remember (it's been too long) if it sent you a verification email or not.

    Experiment I've conducted on this rogue icon.

    Properties of .html file.
    Open with, Change.
    I change it to Edge, icons of all html files in that folder change before my eyes to the Edge icon.
    I change it to Opera, icons of all html files in that folder change before my eyes to the Opera icon.
    I change it to Safari, icons of all html files in that folder change before my eyes to the Safari icon.
    I change it to Slimjet, icons of all html files in that folder change before my eyes to the Slimjet icon.
    I change it to Internet Explorer, icons of all html files in that folder change before my eyes to the Edge icon.
    I change it to Firefox, icons of all html files in that folder change before my eyes to the wrong icon; the Notepad one that doesn't appear in FF's icons.

    Why? Why? Why? What's blocking? What interferes with the routing? Where is that icon coming from? How can I trace the path being followed?

    Ed

    What's interesting, is the HTML can be assigned to some startup item.

    "firefox default browser agent 308046B0AF4A39CB startup item"

    https://support.mozilla.org/en-US/questions/1283844

    I think that string is present on all installations, and it is not
    a personal identifier.

    It's also not a startup item on the computer.

    The icon that appears, is a gray firefox in the background, with
    a PDF "banner" in big letters at the bottom. And that's not
    an icon inside the firefox.exe itself.

    So while the file extension assignment dialog shows the word "Firefox",
    the actual assignment is something different. Look in the Registry for:

    FirefoxPDF - 308046B0AF4A39CB
    DefaultIcon C:\Program Files\Mozilla Firefox\firefox.exe,5 # But there is no 5 in the .rsrc

    We're already off to a good start.

    And my icons "sorta work". There's no blank sheet icons, but
    again, some items, the icon selection is not reflected
    in what you see on the screen.

    For example, if the registry specifies

    DefaultIcon C:\Program Files\Mozilla Firefox\firefox.exe,1

    it actually uses "8" in File Explorer. When there is a 1 and it could use it. Only the scale of "8" may favor its selection.

    Paul

    --- MBSE BBS v1.0.8.4 (Linux-x86_64)
    * Origin: A noiseless patient Spider (3:633/280.2@fidonet)
  • From Paul@3:633/280.2 to All on Fri Apr 12 04:26:20 2024
    On 4/11/2024 5:14 AM, Ed Cryer wrote:


    Well, well, well! Could it be that it's getting its 8 from a default icon dll?

    Ed

    It does suggest they're not cleaning up as well as they should.

    I had expected better of them, and then I had a look...

    Normally, there should not be a need for Firefox to interact
    with the Registry. I don't really know how they've done what
    they have done. Whether there is an interface that indirectly
    sprays those items, or they actually did reg interface things
    directly.

    I suspect their freeware Installer Kit they use (NSIS) likely
    has all of the gubbins to do this properly. But perhaps none
    of the staff are skilled at driving it. They don't use
    InstallShield (commercial), because that would be an admission
    that they had participated in the Windows ecosystem.

    *******

    This is an example of a mapping protected by the Microsoft hash.
    This scheme was recently changed by a "driver" for the function.
    The gentleman at the site below, will have to redo his reverse
    engineering (if he still enjoys puzzles).

    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.pdf\UserChoice]
    "Hash"="xh8KhPWlZL0="
    "ProgId"="AcroExch.Document"

    There is a tool here for setting the hash (scheme now defunt).
    This is the guy that reverse engineered the previous scheme.
    Due to DMCA, he could not document every step or receive
    a "hacking charge".

    http://kolbi.cz/blog/?p=346

    http://www.kolbi.cz/SetUserFTA_v1.5.zip

    SHA256 of SetUserFTA.exe (58,880 bytes)
    (6B7DBA337D2490083391623C1E2EAAFEC9C3DCBDE1DCDB2ABFD0E1F0C2BF31B8)

    SetUserFTA.exe .pdf AcroExch.Document.DC

    Paul

    --- MBSE BBS v1.0.8.4 (Linux-x86_64)
    * Origin: A noiseless patient Spider (3:633/280.2@fidonet)
  • From VanguardLH@3:633/280.2 to All on Fri Apr 12 06:03:14 2024
    Keywords: VanguardLH,VLH

    Ed Cryer <ed@somewhere.in.the.uk> wrote:

    I then look around. Everything ok, with the single exception of that
    rogue icon. Nothing has altered.

    I've had the blank page icon show up for some .url shortcuts. Too long
    since I created them to remember which web browser and version of it was
    used to create the shortcut, or if I right-click in a folder to use New Shortcut to add a URL shortcut there, or if I dragged from the address
    bar of the web browser to create the shortcut. Alternatively, I'd copy
    the URL from the old blank page .url shortcut, delete the old shortcut,
    and use right-click in the folder to New -> Shortcut, and enter the URL
    in the first dialog page (which interprets http: and https: entries as
    URLs to create a .url shorcut instead of a .lnk shortcut to a file).

    I just hunted through my Downloads folder where there are subfolders by category, and then more subfolders by product. I put URL shortcuts in
    those product folders, so I know where I got the product. Some had the
    blank page icon despite most other .url shortcuts show the Firefox icon.
    I double-clicked on the blank page .url shortcut to open the page in
    Firefox. Then I deleted the .url shortcut, and created a new one by
    dragging the padlock icon in Firefox's address bar to the same folder. Basically I deleted the old .url shortcut to create a new one. The old
    one had the blank page icon. The new one has the Firefox icon.

    A while ago, there were different .url shortcuts that Microsoft would
    create depending on how you performed the create. It's been too long to remember the details, but I recall that I didn't like the .url shortcut
    that Windows created, and had to use a workaround to create the legacy
    style of shortcut. I think the style changed in Windows 7, and lots of
    users were complaining that .url shortcuts didn't work like before.
    There was something different between creating a new shortcut and
    entering the URL string, and dragging a URL from the web browser's
    address bar.

    When I open a .url shortcut file (this one pointing to my e-mail
    client's home page) which shows the Firefox icon, I see:

    [InternetShortcut]
    URL=https://www.emclient.com/
    IDList=
    HotKey=0 IconFile=C:\Users\leeho\AppData\Local\Mozilla\Firefox\Profiles\8eskbbyh.default-release\shortcutCache\21nlP3+4Q2kXQWsYPh_tHp9lFzx_SdafGFVT4v_r7Fo=.ico
    IconIndex=0

    The URL field is obvious. The IconFile field shows from which file the
    icon is found. IconIndex is the resource index for the icon. Could be
    zero or non-zero for an icon resource inside an .exe or .dll file, but
    this shortcut is pointing to an .ico icon file (which I don't recall can
    have more than one icon, so the index is zero).

    I found another .url shortcut that had the blank page icon, and in
    Notepad its content was:

    [InternetShortcut] URL=https://www.microsoft.com/en-us/software-download/windows10
    IDList=
    HotKey=0 IconFile=C:\Users\lee_hodsdon\AppData\Local\Mozilla\Firefox\Profiles\6u4gergv.default\shortcutCache\QxrMc9AYfHUvWIXr8t+QwA==.ico
    IconIndex=0

    The one with the Firefox icon pointed to the .ico file under my current
    Firefox profile folder (8eskbbyh.default-release). The one with the
    blank page icon points to a Firefox folder (6u4gergv.default) that does
    not exist. I might've change or refreshed (create a new profile), or
    somehow had that old profile folder before, but I don't now, so the old
    ..url shortcut with a blank page icon couldn't find the old .ico file.

    The old .url shortcut that had a blank icon (because its .ico file
    didn't exist anymore) was created back in 2016, so it's been 8 years
    since I created that shortcut. In that time, a profile I had in Firefox
    back then doesn't exist anymore, so any .url shortcuts pointing to it
    won't find the .ico file.

    Have you tried copying the URL in the .url shortcut's properties,
    deleting the old .url shortcut file, and create a new .url shortcut
    using the same URL string?

    Have you ever right-clicked on the blank page icon .url shortcuts to
    click "Change icon"? You said that in your first post, but not to what
    you pointed to in finding an icon. If you don't keep the file from
    which shortcut intends to get the icon, or not keep the .exe or .dll
    file from where you selected an icon resource inside (or the resource
    index changes, like in an updated version of the file), Windows no
    longer can find the icon, so it'll display the generic blank page icon.

    In the past, I would save the favicon.ico file from a web site to store
    in a media folder. I could then use Change Icon in the .url shortcut properties to point to the web site's icon. However, a .url shortcut
    uses what is specified for the handler, so I had to create a regular
    shortcut that ran "firefox.exe <url>" as a program instead of pointing
    at a URL. Then change icon worked. I accidentally deleted the favicon
    folder, and all those shortcuts I had changed to point there went to the
    blank page icon. I recovered the folder from backups, and the URL
    shortcuts started using the favicons I had saved.

    This reminds of even longer ago when I created URL shortcuts that they
    managed to use the favicon.ico at a web site, if it had one, but that
    was tenuous. If I cleared the web browser's cache, the cached favicons
    were gone, and why I started to grab favion.ico files from web sites to
    store in my own separate "cache" folder.

    When you go into Default Apps, and select "Default apps by filetypes",
    and look at ".URL - Internet Shortcut", what handler is specified?
    Internet Browser, or Firefox? Change back to Internet Browser if you
    somehow changed that to Firefox.

    --- MBSE BBS v1.0.8.4 (Linux-x86_64)
    * Origin: Usenet Elder (3:633/280.2@fidonet)
  • From Paul@3:633/280.2 to All on Fri Apr 12 07:25:48 2024
    On 4/11/2024 3:27 PM, Ed Cryer wrote:
    Paul wrote:
    On 4/11/2024 5:14 AM, Ed Cryer wrote:


    Well, well, well! Could it be that it's getting its 8 from a default icon dll?

    Ed

    It does suggest they're not cleaning up as well as they should.

    I had expected better of them, and then I had a look...

    Normally, there should not be a need for Firefox to interact
    with the Registry. I don't really know how they've done what
    they have done. Whether there is an interface that indirectly
    sprays those items, or they actually did reg interface things
    directly.

    I suspect their freeware Installer Kit they use (NSIS) likely
    has all of the gubbins to do this properly. But perhaps none
    of the staff are skilled at driving it. They don't use
    InstallShield (commercial), because that would be an admission
    that they had participated in the Windows ecosystem.

    *******

    This is an example of a mapping protected by the Microsoft hash.
    This scheme was recently changed by a "driver" for the function.
    The gentleman at the site below, will have to redo his reverse
    engineering (if he still enjoys puzzles).

    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.pdf\UserChoice]
    "Hash"="xh8KhPWlZL0="
    "ProgId"="AcroExch.Document"

    There is a tool here for setting the hash (scheme now defunt).
    This is the guy that reverse engineered the previous scheme.
    Due to DMCA, he could not document every step or receive
    a "hacking charge".

    http://kolbi.cz/blog/?p=346

    ÿÿÿ http://www.kolbi.cz/SetUserFTA_v1.5.zip

    ÿÿÿÿÿÿ SHA256 of SetUserFTA.exeÿÿ (58,880 bytes)
    ÿÿÿÿÿÿ (6B7DBA337D2490083391623C1E2EAAFEC9C3DCBDE1DCDB2ABFD0E1F0C2BF31B8)

    ÿÿÿÿÿÿ SetUserFTA.exe .pdf AcroExch.Document.DC

    ÿÿÿ Paul

    My rogue icon is the first in shell32.dll. And when I look at that dll with Icofx it is listed as 1(8).
    8-7=1.

    Ed

    So your registry actually has a reference to shell32.dll,1 for a Firefox entry ?

    What would do that ?

    If the new protection was present on your OS, this article explains
    how today, you could deal with it.

    https://kolbi.cz/blog/2024/04/03/userchoice-protection-driver-ucpd-sys/

    Paul

    --- MBSE BBS v1.0.8.4 (Linux-x86_64)
    * Origin: A noiseless patient Spider (3:633/280.2@fidonet)