Other issues or features related to Microsoft Edge on Windows 10
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
After adding URL's in IE mode pages it has a expire days of 30. I would like to know how to extend more than 30 days as per InternetExplorerIntegrationLocalSiteListExpirationDays policy.
Please help.
Other issues or features related to Microsoft Edge on Windows 10
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.
I get what you mean, but now it opens the way for users to replace the whole URL with HTTP capitalized.
I'm not really concerned about that. Typical users are just going to run the script as is to set the expiry of their existing IE Mode URLs. System administrators and technical users may edit the script. If they mess up using FindReplace there's now a backup they can go to. I've also improved the wording and warnings in the FindReplace comments.
I guess that would happen for redirection anyway, having parameters or not. May be add yet another prompt warning about redirection?
When you manually enter a URL in Edge, it only accepts the string up to the question mark, so I'm doing the same. I don't really see anything else that needs to be done in that regard.
The issue was it is my homepage, and also set as the "When Edge starts open these pages". The script looks for the site, and finds it after "homepage" and after "startup_urls" as well, so it does not add it.
In my tests, using Edge version 110.0.1587.50, home and startup pages are stored in the separate "Secure Preferences" file, so there is no interference with IE Mode pages stored in "Preferences". Apparently it's different on your computer. Puzzling.
ClearAll works perfectly. Except that if the new AddSites are same as the old ones, and the ClearAll is activated, it says "Profile already updated" (because it matches Data to OriginalData) when in fact it did remove old entries and add the same exact entries again.
That's working as designed. It works with a copy of the Preferences file in memory, so if the end result is that Data=OrignalData then the Preferences file is not touched and no backup is created.
Thank you for the thorough testing and excellent suggestions.
Regarding (3), you can use the FindReplace feature to correct bad entries, rather than manually editing the Preferences file.
Yes, but stupid me did not even think the issue was the Case, and I kept trying to Replace my original entry, which had uppercase, and of course InStr(Start, String, Substring, Compare) defaults to case sensitive if the Compare is not set to 1. So I kept searching, then opening Edge, only to find it still there, bang my head on the desk a couple of time, then try again :D
I've also implemented all of your suggestions except for (1) because the FindReplace will work on any substring and not just whole URLs.
I get what you mean, but now it opens the way for users to replace the whole URL with HTTP capitalized.
Also, I see what you did by trimming on "?", to ommit the parameters, but it doesn't work that way all the time unfortunately. Case in my point, Old Oracle Apps has a "login link", that contains parameters for a .jsp, that then redirect to another link for a different .jsp, that contain a longer set of parameters (read: really really really long). That's the reason for the redirection. Now, when you add the login link, it gets trimmed back to the .jsp, but that's not the .jsp that encapsulates the whole site, so it will not be running in IE Mode.
Hmmm, I guess that would happen for redirection anyway, having parameters or not. May be add yet another prompt warning about redirection? (i.e. "Make sure you use the final URL, and not the easy-to-use-redirected-bookmark ... etc" or some such).
Please test the new version and let me know the results. Be sure to test URLs with IP addresses. Thanks.
I think I fixed it. In the AddEntries sub, I replaced the condition If Instr(Data,AddSite)=0 with the following:
FoundAddSite = Instr(Data,AddSite)
If FoundAddSite=0 Or FoundAddSite > Instr(Data,"homepage"":""" & AddSite) Or FoundAddSite > Instr(Data,"startup_urls"":[""" & AddSite)
(I put the Instr(Data,AddSite) in a variable so I wouldn't search for it 3 times)
Thank you for everything.
Hello Mr.LesFerch,
First of all, Thank you for your solution. I did make it work when my system locale is set to United states.
However, it pops out this error message when the locale is set to my current location, Taiwan.
Is there any fix for this? I'll just switch the locale to US if there isn't any anyway. Grateful for the script.
I've poked around the script like changing the locale to zh-tw, no luck.
Again, thank you very much for your solution. Have a great day master.
Thank you for the thorough testing and excellent suggestions.
Regarding (3), you can use the FindReplace feature to correct bad entries, rather than manually editing the Preferences file. Or, now, you can just go back to a previous Preferences file because I've added an automatic backup feature.
I've also implemented all of your suggestions except for (1) because the FindReplace will work on any substring and not just whole URLs.
Please test the new version and let me know the results. Be sure to test URLs with IP addresses. Thanks.
This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.
Comments have been turned off. Learn more