I have a Facebook app running on an inside frame. I want to make my browser's title to blink when the user goes out from the game's tab. However, I can't set the document.title property because I have a different domain than 'Facebook.com'. I have a JS function to change the document title and it works fine when I'm not in a different frame. How can I make this work for me with the current situation (when I'm in a different frame and need to make the browser's tab blink)...?
            Asked
            
        
        
            Active
            
        
            Viewed 222 times
        
    2 Answers
1
            You can't. And you should not do that. It's really annoying for the people using your app.
 
    
    
        Roemer
        
- 3,566
- 1
- 16
- 32
- 
                    It is. When the Facebook Canvas app is loaded from the Facebook chrome, using an iFrame, you can't change the tab-title. – Roemer Apr 13 '15 at 16:35
0
            
            
        Here are few link worth looking at:
 - http://forums.mozillazine.org/viewtopic.php?f=25&t=404146,
 - https://developer.mozilla.org/en-US/docs/Web/Events/focusout,
 - https://developer.mozilla.org/en-US/docs/Web/API/Document/hasFocus,
 - http://javascript.info/tutorial/focus,
 - Is there a way to detect if a browser window is not currently active?,
 - Make browser tab flash a notification,
 - Make browser window blink in task Bar,  
cheers
 
     
    