EZProxy-Safari-App-Extension
EZProxy-Safari-App-Extension copied to clipboard
Feature Request: tab url updating
Hi Aidan,
I was just wondering if it would be possible to implement an option to modify the url of the tab, rather than creating a new tab, so that the tab history will remain present, as happens with the javascript bookmarks; javascript:void(location.href='https://ezproxy.lib.monash.edu.au/login?url='+location.href)
The convenience and aesthetics of having the EZproxy button is awesome, though sometimes the functionality of the javascript bookmark is more useful, especially when trying to dig through a sea of papers, and subsequently an even larger sea of tabs.
Thank you Adrea
Hi @adreasnow,
Thanks for your request – and apologies for the delay.
As I understand it the model Apple is using is designed to stop 'me' as a developer tampering with your existing window content. While it is possible to read from the document, indeed that is how I get the URL initially, something in the SafariEvent
actively prevents interfering with an open tab.
I could be completely wrong, but I am yet to stumble upon any documentation that would allow me to change the active tab without opening a new one. If you know of an example extension that does this I'd love to hear about it so I can do this – it irks me that I can't do exactly what you say. 💯
Best Wishes, Aidan.
Thank you for the reply, I really appreciate your plugin regardless!