Website Blocker on Microsoft Edge Doesn't Restore Page
complete
Philip Young
complete
Fixed on 2.11.7
Philip Young
The profile is based on the rule you created.
Say you create a profile that only activates when you have category “design” or “coding” active.
Then you have to override each properties (say, in this profile you want to block specific websites). Otherwise it’ll always fallback to settings on your default profile.
Sorry for the late reply! For some reason I don’t get any incoming email about this.
Philip Young
I just tried on mine and it works.
Based on your report, I assume the website blocker restoration works on other browsers except Edge. If that's the case, it's something isolated to Edge.
If not, you probably have settings that enable the website to be also blocked on break or something else.
t
tebriel@github.com
Philip Young thanks for the fast response. Are you using multiple profiles? Maybe that's part of it? The site I 'm seeing not being restored is in my secondary profile. Also yes works in Safari
t
tebriel@github.com
If multiple profiles work for you i'm going to assume it's some sort of corporate managed profile setup blocking the restore. Can you give me a sense of what restores the page (Refresh meta on the page, api call to the browser, etc) and I can poke around and see if I can at least see it trying?
Philip Young
tebriel@github.com: I’m sure you’re right and this is a UX issue on my end. So each profile always fallback to default profile if not overridden. You can and have to override each properties (the checkbox on the left, then set the overridden value (the checkbox on the right).
It didn’t restore probably because it still default to default profile.
t
tebriel@github.com
Philip Young thanks for the info! Am I reading that that there is a way to set the profile in Session or that there needs to be a way to work for this? (Like, is there a workaround now or do I just manually redirect the page as the workaround?)
Philip Young
tebriel@github.com: Yep! You can configure a rule. The profile will be activated when the rule is satisfied.
Here's an example rule for my "Unrestricted" profile where it allows me to open websites
t
tebriel@github.com
Philip Young oh we've having a miscommunication due to ambiguous terms I think! I was asking if multiple Microsoft Edge User Profiles was something you were testing. For example I have two logged in users to Edge with different profiles (my work and my personal profile).
Philip Young
tebriel@github.com: I see. So what are you trying to achieve? I presume you want to sync Session profile with your Edge profile?
Or is it something else?
Under the hood, Session simply check the browser URL with Applescript. If it matches with what you've configured on Session app, then it redirects it to the blocked page.
The restore blocked website works the same:
- It checks if the URL is redirect one
- If yes, replace it with the original URL
If the blocking works, but the restore don't, then it doesn't make any sense because both doesn't do anything "special".
if both doesn't work, probably 100% related to Applescript. Or simply you didn't give Session permission to access automation / Applescript on edge
t
tebriel@github.com
Philip Young ah ok so something must be wrong on my side, the blocking works but when I exit the session it doesn't restore. I thought that maybe you were traversing the profiles section of the Edge userdata folder to do/undo things. I didn't realize it was applescript telling edge "if x do y". We can probably just close this as "my machine is probably broken."
Philip Young
tebriel@github.com: Can you elaborate what "exit" is here? Are you force closing the app, or ended the Session via UI / keyboard shortcut / apple shortcut?
Force close won't restore the website when timer has ended.
Sorry for the late reply btw. I didn't get any email whenever you replied and I don't understand why.
t
tebriel@github.com
Philip Young ah by “exit” I just mean when I hit the coffee cup and go from session to break. Normal flow.
Philip Young
tebriel@github.com: If you still use Session, can you try 2.11.7? I hope it can restore Edge website now :)
t
tebriel@github.com
Philip Young I'll try today or next week! (just got back from vacation).