Google chrome frame overlay works only once

后端 未结 1 2046
独厮守ぢ
独厮守ぢ 2021-02-04 03:50

I have a page that prompts for a Google Chrome Frame installation if the user uses an outdated browser.

It works great if the user chooses to install the plugin

1条回答
  •  借酒劲吻你
    2021-02-04 04:44

    You're right about the cookie, but it annoyingly also sets a private variable when it shows the popup, so without hacking the cfinstall script we're looking at overriding existing methods.

    This is the best I can get. There's a problem where pressing "cancel" and then "close" means that the popup is still on the 2nd page when you pop it back up again, but you can install from there so I don't think it's that big an issue. (The pedant in me doesn't like it though!)

    
    
        
            
            
        
        
            Prompt
            
        
    
    

    0 讨论(0)
提交回复
热议问题