-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Change the open URL link to a button #17347
Conversation
Needs some work with CSS styling, but the idea is good. |
Is there another button that I can reference for the styling? I looked around for button-like UI elements but couldn't find anything so I made the button look similar to the S logo at the top of the page. |
@patch-malone Wait a couple of minutes, I will write a style. |
68ae2d1
to
4267baf
Compare
I have another idea. To make the page seem more like an error page, the bg should be yellow, possibly striped too. HTTPS Everywhere logo needs to be fixed to remove white background though. |
You can apply these styles to background: repeating-linear-gradient(45deg, #ffdc00, #ffdc00 10px, #e5c600 10px, #e5c600 20px);
min-height: 100vh; /* this fixes weird looping */ |
To temporarily remove the white bg from the image, you can set |
1d94da1
to
cf79f52
Compare
Maybe instead of closing the page you should make it go back to the page that had unencrypted link and if that's impossible (page was opened directly) you should simply hide the button? |
Tab history isn't accessible. |
cf79f52
to
b066116
Compare
b066116
to
a93dbd8
Compare
@Bisaloo Are any other changes required before merging? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Made a small change to language I realized was outdated in the interstitial, but otherwise looks good to go and will merge soon
When trying to visit a page that isn't available as HTTPS a user may be shown a cancel page where they can either cancel the insecure visit or choose to override the restriction. The link of the URL shown at the bottom of that page misleadingly goes to an internal extension URL. Instead, change the actionable item into a button with a clear label describing the action.
Screenshots
Before
After
Notice the button at the bottom of the page