Answer the question
In order to leave comments, you need to log in
How to save open browser tabs?
Hello!
Is there such an extension to chrome / fox that would allow saving ALL currently open tabs at once?
*.mht is not suitable. It is necessary that it would be saved in html. It would be ideal to save in general in one file.
*.js and *.css are unnecessary, but they don't get in the way.
Answer the question
In order to leave comments, you need to log in
can i suggest a php script for this
<?php
$links = 'http://ya.ru/1
http://ya.ru/2
http://ya.ru/3
// ... все ссылки - одна ссылка в строке
';
foreach(explode("\n", $links) as $link) {
$html = file_get_contents($link);
file_put_contents('result.html', $html, FILE_APPEND);
}
$links = file_get_contents('links.txt');
Try Mozilla Archive Format , "Save all tabs to archive as..." function - all tabs will be saved in *.mht, *.mhtml format in the specified folder.
yarofon has already answered what the problem is. And the line is probably some kind of virus. Need to decode. it's not difficult there.
Perhaps the problem is due to short_tag https://php.net/manual/en/ini.core.php#ini.short-o... On some hosting they are enabled, but on some they are not. Therefore, there was no error due to <? (where they are disabled).
What between inc I would remove, if it's not yours of course.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question