javascript - Window.open isn't working for multiple links in Google Chrome -
i tested in ff, work fine not in chrome. single link, found hack using redirect, i'm still looking ways open multiple links in new tabs in chrome.
http://plnkr.co/edit/zvaefssh4o4qdycsungd?p=preview
$scope.openlinks = function(){ var urls = ''; angular.foreach($scope.links, function(item){ $window.open("redirect.html?" + item.link); }); }; worth mentiion, http://www.rapidlinkr.com/ doesn't work in chrome working in ff.
your window.open seems working fine in google chrome, except fact chrome's pop-up blocker blocking new windows opening up. there no way bypass far know unless user allows pop-up blocker allow pop-ups on website.
javascript angularjs google-chrome
No comments:
Post a Comment