Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

iframe url redirect

$(function() {
    if ('app' !== $('body').attr('id')){
        window.setTimeout(function(){
            window.top.location.href = 'your redirect url'; 
        }, 5000);
    }
});
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #iframe #url #redirect
ADD COMMENT
Topic
Name
4+4 =