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.
Totally agree. I don’t think it’s unreasonable to ask users of the code to add their own slashes. :-)
This code is going to help so many people…
One final query - I’m thinking of giving the user the option to only reset the “date added” for specified sites…
I’m assuming it would be another iteration of the InStr and Replace commands?
I already have a modified version of your code that adds a few other options, such as the option to use today’s date as date added - so even if you have an example of those commands, that would be a huge help.
…and as ever, thanks again.
I was getting the same issue as Beatrice, but I thought it was because the script was adding the / at the end of my webpage address?
When I manually add the webpage in Edge UI, I can see in the Preferences file that it doesn’t add the / , so I just removed the line of code that adds it and it worked okay.
Is the / only for adding sites rather than pages?
I removed the code that adds the trailing slash and added a comment that says to include a trailing slash in your URLs, unless it's a file URL such as .html or .aspx. Handling the trailing slash automatically would require a big lookup table of web page file types. It would be rather difficult to know if such a table were complete.
I noticed a strange behavior of the script. If I use the AddSite function the first address becomes non-erasable and at the end it inserts "/" e.g. http://localServer/register/login.aspx AddSite >= http://localServer/register/login.aspx/ (not working ie mode)
Actually, two issues. The first is that the URL must be lowercase (solved) and the second is that files (.html, .aspx, etc.) must NOT have a trailing slash (to be solved).
I was getting the same issue as Beatrice, but I thought it was because the script was adding the / at the end of my webpage address?
When I manually add the webpage in Edge UI, I can see in the Preferences file that it doesn’t add the / , so I just removed the line of code that adds it and it worked okay.
Is the / only for adding sites rather than pages?
I see. I replicated the issue using this URL: http://toastytech.com/evil/index.html.That URL will not work if it has a trailing slash. So, it gets tricky. Edge requires a trailing slash for sites (at least so the entry can be deleted). If the code to add the trailing slash is removed from the script, then you'll need to test and make sure you include the slash when it's required. I'll see if I can come up with code that will work for all cases (maybe check for certain extensions, such as .html). I have to detect if it's a folder or a file.
I was getting the same issue as Beatrice, but I thought it was because the script was adding the / at the end of my webpage address?
When I manually add the webpage in Edge UI, I can see in the Preferences file that it doesn’t add the / , so I just removed the line of code that adds it and it worked okay.
Is the / only for adding sites rather than pages?