4 ms·
You can change the visibility of the target page so they wouldn't know
by joshfraser 2y ago
You can change the visibility of the target page so they wouldn't know
- chatmasta 2y agoHow? You don't control the DOM on that. You can adjust the window prior to changing its location but that's it.
- pockmarked19 2y ago[flagged]
- deleted 2y ago[deleted]
- jeroenhd 2y agoI don't think you can, but you could open a popup over the target to hide the authorisation page to make it a little less obvious. JS also has a window.close() function for opened windows, but I believe browsers might show a warning when you try that on an external origin. One could also confuse the user by spawning a whole bunch of tabs for other services after clicking the authorise button, making the user think something weird is going on and closing all the tabs that just popped up without realising they clicked the authorisation button.