clankill3r Posted May 23, 2011 Share Posted May 23, 2011 Hi, i need to check 150 pages, i allready have the links in a list. Instand of clicking one, going back to the document click another one etc. I want a faster way to open them all in once. how can i make a page that if i open the page the pages gets opened in tabs? (I also tried a fireflox plug in called snapLinksMod but it's quite a old build and it doesn't seem to work anymore). Quote Link to comment https://forums.phpfreaks.com/topic/237257-need-to-open-150-tabs/ Share on other sites More sharing options...
AbraCadaver Posted May 23, 2011 Share Posted May 23, 2011 Not in PHP. Javascript will do it, though it's up to the user/browser as to whether it opens in a tab or new window. You could put your links in an array and loop through them and use: window.open(url) Quote Link to comment https://forums.phpfreaks.com/topic/237257-need-to-open-150-tabs/#findComment-1219239 Share on other sites More sharing options...
Psycho Posted May 23, 2011 Share Posted May 23, 2011 Although, depending on what you need to do on those pages, you could create a PHP page to grab the contents of those pages and build one page with a UI to select the pages to view. Or, another option would be to use frames. Have one frame across the top or left with the list of 150 links and those links are set to change the content of the main frame. I would never propose frames for an actual user facing function, but it would probably work well in this specific case. Quote Link to comment https://forums.phpfreaks.com/topic/237257-need-to-open-150-tabs/#findComment-1219248 Share on other sites More sharing options...
clankill3r Posted May 23, 2011 Author Share Posted May 23, 2011 i only need it once, Ok i got it working exept it opens in new windows, i prefer tabs. Is that possible with java-script? Quote Link to comment https://forums.phpfreaks.com/topic/237257-need-to-open-150-tabs/#findComment-1219258 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.