Possible duplicate:Safari 5 extension: how do I know when the current window tab has changed?
I am trying to open a popup in Safari which is tab dependent and is triggered by a button (which can noticeably switch). How can I make sure that when switching the tab, the button will be switched correctly, i.e. Illuminated if a popup is visible; not otherwise.
I looked around to listen, but it did not work and did not focus.
Any ideas?
Greetings.
, API , , .
, javascript , .
, , postMessage.
injected.js:
window.addEventListener( "load", load, false);
safari.self.tab.dispatchMessage( "somethinghappened", "" );
Source: https://habr.com/ru/post/1756747/More articles:Why are there both utf-16le and utf-16be? efficiency - C - cIs there a way to convert between the type of the Ref parameter and the non-ref version in C # - c #hook_user (): adding an additional field to the database of not only forms - drupal-6How to read values ββfrom MultiCheckbox in Zend - phpTraining a person in iPhone development - iphoneSafari 5 extension: how to determine when the tab of the current window has changed? - safariIE conditionally in style sheet - cssConverting a DataTable to LINQ: Cannot Query Multiple Fields - c #EF4 ASP.NET - Entity change management between HTTP messages and rollback - asp.nethttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1756752/how-do-i-automate-access-to-an-iis-website-that-has-require-client-certificates&usg=ALkJrhgwPU9dC80fUvEzJHKDZGyoyYPG0AAll Articles