Is there a Windows batch way to make firefox tor browser open tabs from a separate text list of book sites?
This is the current getbooks.bat file but it's cumbersome to maintain the list of book sites in that huge line (which the newsreader may break up
into multiple lines).
@echo off
echo "Open Firefox Tor Browser to various book sites"
"C:\Program Files\Tor Browser\Browser\Firefox.exe" "http://www.authorama.com/" "https://www.ebooks.com/en-us/free/" "https://www.feedbooks.com/catalog/public_domain" "https://www.free-ebooks.net/" "http://www.freeengineeringbooks.com/" "https://scholar.google.com/" "https://www.gutenberg.org/" "https://archive.org/" "https://manybooks.net/" "https://pdfget.com/" "https://www.science.gov/" "https://digital.library.upenn.edu/books/" "https://librivox.org/" "https://pdfgrab.com/" "https://sci-hub.ru/" "https://openaccessbutton.org/" "https://www.researchgate.net/" "https://www.academia.edu" "https://unpaywall.org" "https://annas-archive.org/" "https://www.readanybook.com/" "https://www.base-search.net/" "https://openlibrary.org/" "https://www.tandfonline.com/" "https://libgen.rs/" "https://libgen.is/" "https://libgen.li/" "https://libgen.st/" "http://zlibrary.to/" "http://bookszlibb74ugqojhzhg2a63w5i2atv5bqarulgczawnbmsb6s6qead.onion/" "http://thepiratebay.org" "https://www.torrentdownload.info/" "https://www.limetorrents.lol/" "https://bitsearch.to/" "https://librarygenesis.net/" &
Is there an easy way to just include a text file list of book web sites to open?
Is there a Windows batch way to make firefox tor browser open tabs
from a separate text list of book sites?
Instead of a batch script, you could save all the URLs as bookmarks
under the same bookmark folder. When you want to open all of them, double-click on the bookmark folder, or right-click on the folder and
select "Open all bookmarks" in the context menu.
I want to send the batch file to hundreds of others (mostly students) and
I don't use bookmarks and I don't want all those others on all types of browsers to have to import a bookmark file from me. That's nuts.
Is there a Windows batch way to make firefox tor browser open tabs from a separate text list of book sites?
This is the current getbooks.bat file but it's cumbersome to maintain the list of book sites in that huge line (which the newsreader may break up
into multiple lines).
@echo off
echo "Open Firefox Tor Browser to various book sites"
"C:\Program Files\Tor Browser\Browser\Firefox.exe" "http://www.authorama.com/" "https://www.ebooks.com/en-us/free/" "https://www.feedbooks.com/catalog/public_domain" "https://www.free-ebooks.net/" "http://www.freeengineeringbooks.com/" "https://scholar.google.com/" "https://www.gutenberg.org/" "https://archive.org/" "https://manybooks.net/" "https://pdfget.com/" "https://www.science.gov/" "https://digital.library.upenn.edu/books/" "https://librivox.org/" "https://pdfgrab.com/" "https://sci-hub.ru/" "https://openaccessbutton.org/" "https://www.researchgate.net/" "https://www.academia.edu" "https://unpaywall.org" "https://annas-archive.org/" "https://www.readanybook.com/" "https://www.base-search.net/" "https://openlibrary.org/" "https://www.tandfonline.com/" "https://libgen.rs/" "https://libgen.is/" "https://libgen.li/" "https://libgen.st/" "http://zlibrary.to/" "http://bookszlibb74ugqojhzhg2a63w5i2atv5bqarulgczawnbmsb6s6qead.onion/" "http://thepiratebay.org" "https://www.torrentdownload.info/" "https://www.limetorrents.lol/" "https://bitsearch.to/" "https://librarygenesis.net/" &
Is there an easy way to just include a text file list of book web sites to open?
What you could do is write all those links into an .HTM file ( <a
href=.... ), which only needs to be double-clicked to open in a(ny) webbrowser, and allows your students to easily open a website at their leisure.
On 03/13/2024 2:24 AM, Oliver wrote:
Is there a Windows batch way to make firefox tor browser open tabs from a
separate text list of book sites?
This is the current getbooks.bat file but it's cumbersome to maintain the
list of book sites in that huge line (which the newsreader may break up
into multiple lines).
@echo off
echo "Open Firefox Tor Browser to various book sites"
"C:\Program Files\Tor Browser\Browser\Firefox.exe"
"http://www.authorama.com/" "https://www.ebooks.com/en-us/free/"
"https://www.feedbooks.com/catalog/public_domain"
"https://www.free-ebooks.net/" "http://www.freeengineeringbooks.com/"
"https://scholar.google.com/" "https://www.gutenberg.org/"
"https://archive.org/" "https://manybooks.net/" "https://pdfget.com/"
"https://www.science.gov/" "https://digital.library.upenn.edu/books/"
"https://librivox.org/" "https://pdfgrab.com/" "https://sci-hub.ru/"
"https://openaccessbutton.org/" "https://www.researchgate.net/"
"https://www.academia.edu" "https://unpaywall.org"
"https://annas-archive.org/" "https://www.readanybook.com/"
"https://www.base-search.net/" "https://openlibrary.org/"
"https://www.tandfonline.com/" "https://libgen.rs/" "https://libgen.is/"
"https://libgen.li/" "https://libgen.st/" "http://zlibrary.to/"
"http://bookszlibb74ugqojhzhg2a63w5i2atv5bqarulgczawnbmsb6s6qead.onion/"
"http://thepiratebay.org" "https://www.torrentdownload.info/"
"https://www.limetorrents.lol/" "https://bitsearch.to/"
"https://librarygenesis.net/" &
Is there an easy way to just include a text file list of book web
sites to
open?
If it were me, I would put the above links in a word processor that canI use WordPerfect to write the HTML file. I write the text I want in
save the file as an HTML file and send the students the HTML file.
If that way the ope the HTML file in a tab in the browse and they can
open each URL is separate tabs.
Oliver <ollie@invalid.net> wrote:
Is there a Windows batch way to make firefox tor browser open tabs from a
separate text list of book sites?
This is the current getbooks.bat file but it's cumbersome to maintain the
list of book sites in that huge line (which the newsreader may break up
into multiple lines).
@echo off
echo "Open Firefox Tor Browser to various book sites"
"C:\Program Files\Tor Browser\Browser\Firefox.exe"
"http://www.authorama.com/" "https://www.ebooks.com/en-us/free/"
"https://www.feedbooks.com/catalog/public_domain"
"https://www.free-ebooks.net/" "http://www.freeengineeringbooks.com/"
"https://scholar.google.com/" "https://www.gutenberg.org/"
"https://archive.org/" "https://manybooks.net/" "https://pdfget.com/"
"https://www.science.gov/" "https://digital.library.upenn.edu/books/"
"https://librivox.org/" "https://pdfgrab.com/" "https://sci-hub.ru/"
"https://openaccessbutton.org/" "https://www.researchgate.net/"
"https://www.academia.edu" "https://unpaywall.org"
"https://annas-archive.org/" "https://www.readanybook.com/"
"https://www.base-search.net/" "https://openlibrary.org/"
"https://www.tandfonline.com/" "https://libgen.rs/" "https://libgen.is/"
"https://libgen.li/" "https://libgen.st/" "http://zlibrary.to/"
"http://bookszlibb74ugqojhzhg2a63w5i2atv5bqarulgczawnbmsb6s6qead.onion/"
"http://thepiratebay.org" "https://www.torrentdownload.info/"
"https://www.limetorrents.lol/" "https://bitsearch.to/"
"https://librarygenesis.net/" &
Is there an easy way to just include a text file list of book web sites to >> open?
Instead of a batch script, you could save all the URLs as bookmarks
under the same bookmark folder. When you want to open all of them, double-click on the bookmark folder, or right-click on the folder and
select "Open all bookmarks" in the context menu.
On 03/13/2024 2:24 AM, Oliver wrote:
Is there a Windows batch way to make firefox tor browser open tabs from a
separate text list of book sites?
This is the current getbooks.bat file but it's cumbersome to maintain the
list of book sites in that huge line (which the newsreader may break up
into multiple lines).
@echo off
echo "Open Firefox Tor Browser to various book sites"
"C:\Program Files\Tor Browser\Browser\Firefox.exe"
"http://www.authorama.com/" "https://www.ebooks.com/en-us/free/"
"https://www.feedbooks.com/catalog/public_domain"
"https://www.free-ebooks.net/" "http://www.freeengineeringbooks.com/"
"https://scholar.google.com/" "https://www.gutenberg.org/"
"https://archive.org/" "https://manybooks.net/" "https://pdfget.com/"
"https://www.science.gov/" "https://digital.library.upenn.edu/books/"
"https://librivox.org/" "https://pdfgrab.com/" "https://sci-hub.ru/"
"https://openaccessbutton.org/" "https://www.researchgate.net/"
"https://www.academia.edu" "https://unpaywall.org"
"https://annas-archive.org/" "https://www.readanybook.com/"
"https://www.base-search.net/" "https://openlibrary.org/"
"https://www.tandfonline.com/" "https://libgen.rs/" "https://libgen.is/"
"https://libgen.li/" "https://libgen.st/" "http://zlibrary.to/"
"http://bookszlibb74ugqojhzhg2a63w5i2atv5bqarulgczawnbmsb6s6qead.onion/"
"http://thepiratebay.org" "https://www.torrentdownload.info/"
"https://www.limetorrents.lol/" "https://bitsearch.to/"
"https://librarygenesis.net/" &
Is there an easy way to just include a text file list of book web sites to >> open?
If it were me, I would put the above links in a word processor that can save the file as an HTML file and send the students the HTML file.
If that way the ope the HTML file in a tab in the browse and they can open each URL is separate tabs.
VanguardLH <V@nguard.LH> wrote
Instead of a batch script, you could save all the URLs as bookmarks
under the same bookmark folder. When you want to open all of them,
double-click on the bookmark folder, or right-click on the folder and
select "Open all bookmarks" in the context menu.
Thanks for the suggestion of bookmarks, but if I had wanted
bookmarks, I wouldn't need to write a batch file to get them. :)
I want to send the batch file to hundreds of others (mostly students) and I don't use bookmarks and I don't want all those others on all types of browsers to have to import a bookmark file from me. That's nuts.
All I want is to know how to include a text file of URLs
so the students (and I) can put the URLs into that text file.
Oliver wrote:
Is there an easy way to just include a text file list of book web sites to >> open?
Yes. Create a text file, "links.txt" and put url for each website per
line. Create batch file with text file "links.bat" below, or use full
path to "links.txt"
---------------------------------------------------------------
@echo off
set LINKS=links.txt
set BROWSER=firefox
FOR /F %%i in (%LINKS%) do start %BROWSER% -new-tab %%i
set LINKS=
set BROWSER=
---------------------------------------------------------------
Oliver,
Is there a Windows batch way to make firefox tor browser open tabs
from a separate text list of book sites?
I think so, yes. You will have to find some script that will iterate thru the list line-by-line, and than use the "start" command to execute FF with that line as its argument.
One drawback : As those %FF% .... lines are started at the same time a
number of them will not see an open FF window and as a result start
their own.
The goal is efficiency and portability and the ability to run scripts.
a. Run the script when a book needs to be searched for
b. Up pops a query of which browser & then it opens the 25 (or so) tabs
c. Then you paste into each tab the same search (for example, an ISBN)
Then the script would only ask "what do you want to search for", and it
would then create the URLs for each search & run them all at the same time.
For duckduckgo for example, it would construct a url like this. https://duckduckgo.com/?t=ffab&q=game+of+thrones+pdf+free+download&ia=web
Loading lots of Firefox windows or tabs is overkill. No user can read through the first book opened in Firefox before the next instance of
Firefox would load. Rather than a delay, pause after each load.
Oliver <ollie@invalid.net> wrote:OR Just drag the HTML file to a browser windows, no fancy import.
VanguardLH <V@nguard.LH> wrote
Instead of a batch script, you could save all the URLs as bookmarks
under the same bookmark folder. When you want to open all of them,
double-click on the bookmark folder, or right-click on the folder and
select "Open all bookmarks" in the context menu.
Thanks for the suggestion of bookmarks, but if I had wanted
bookmarks, I wouldn't need to write a batch file to get them. :)
I want to send the batch file to hundreds of others (mostly students) and I >> don't use bookmarks and I don't want all those others on all types of
browsers to have to import a bookmark file from me. That's nuts.
All I want is to know how to include a text file of URLs
so the students (and I) can put the URLs into that text file.
Your last query was:
Is there an easy way to just include a text file list of book web
sites to open?
Yep: export your bookmark folder to an HTML file. You could export
bookmarks to a .json file which is text, but I don't know that all web browsers support import from .json file. Structure might be similar
between the text in a .json file to the text in an .html file, but an
HTML file can be opened as a web page, just like when you're web surfing
to load web pages.
Don't bother your students to import bookmarks. Export the bookmarks in
your web browser to an HTML file. Distribute the .html file to your students. They use the File -> Open File menu in their own choice of
web browser on their choice of OS to load the HTML doc. They see a web
page full of titles (assuming you add titles to your bookmarks) that are hyperlinks to the URLs for the books. They can click on whichever one
they want to visit in their choice of order during whatever web session
they start.
They don't have to wade through all prior books in a script to get at a
later book. You don't need to maintain a table, or a huge 'if' block to
let them choose which book to visit. They aren't forced to view books
in the order you present using a 'for' command. They just open the
.html file, and click on a hyperlink to visit whichever URL they choose.
They don't have to run a script which requires them use Windows since
you're not providing forks of your script that will run under bash, or whatever script interpreter is available in their OS.
Oh, you don't do bookmarks, but you'll do more work for a batch script.
Just how do you come ahead on your effort between the two? You write, *debug*, and update (to add or remove books) a script that you have to redistribute. Or you maintain your own list of bookmarks in a bookmark folder, and you export the bookmark folder to an .html file. No debug,
no expertise in writing HTML or Windows-only batch scripts, and you redistribute the .html file on update. How is maintaining a bookmark
folder harder than maintaining a script file? How much will you have to learn of DOS batch scripting language to get a working and bug-free
script that only works on Windows, and that is as easy to use as a web
page presenting all the URLs (and whatever title you give to those
bookmarks to describe them)?
Is writing a script to control Firefox some class assignment for you?
You're making it far more difficult than necessary for both you and your students, and you cast away your students not on Windows platforms.
When you export your bookmarks, no one has to import them into their web browser. Export as an HTML file. Distribute the .html file to your students. They open it as a web page, like use the File -> Open menu in their choice of web browser on their choice of OS. Very easy to
maintain. Very easy to use.
VanguardLH wrote:
However, is the -new-tab an available command-line argument in every web
browser on every platform? Probably not, and it is unlikely the OP can
force all his students to use the same web browser. Hell, his students
may be on non-Windows platforms (Linux, MacOS, iOS), so his batch script
is worthless to those students.
OP's post was "...*Windows batch* way to make *firefox* tor browser open
tabs from a list of book sites"
VanguardLH wrote:
However, is the -new-tab an available command-line argument in every web
browser on every platform? Probably not, and it is unlikely the OP can
force all his students to use the same web browser. Hell, his students
may be on non-Windows platforms (Linux, MacOS, iOS), so his batch script
is worthless to those students.
OP's post was "...*Windows batch* way to make *firefox* tor browser open
tabs from a list of book sites"
VanguardLH wrote:
When you export your bookmarks, no one has to import them into their web
browser. Export as an HTML file. Distribute the .html file to your
students. They open it as a web page, like use the File -> Open menu in
their choice of web browser on their choice of OS. Very easy to
maintain. Very easy to use.
OR Just drag the HTML file to a browser windows, no fancy import.
Jonathan N. Little wrote:
VanguardLH wrote:
However, is the -new-tab an available command-line argument in every web >>> browser on every platform? Probably not, and it is unlikely the OP can
force all his students to use the same web browser. Hell, his students
may be on non-Windows platforms (Linux, MacOS, iOS), so his batch script >>> is worthless to those students.
OP's post was "...*Windows batch* way to make *firefox* tor browser open
tabs from a list of book sites"
But that's a really valid remark from VanguardLH.
The original poster Oliver stated that he wants to "send the batch file to *hundreds of others* (mostly students)". So you can guess that there's a good percentage of his recipients who have no use for a "Windows batch file", because they don't use Windows at all.
And also, why should these links be opened with the Tor Browser? Wouldn't
a standard installation of Firefox be sufficient?
Alas the same question as above: what about the recipients who haven't installed *any* Version of Firefox at all?
IMO a Windows only batch file is a really unfit starting point for the purpose of Oliver.
"Jonathan N. Little" <lws4art@gmail.com> wrote:
VanguardLH wrote:
However, is the -new-tab an available command-line argument in every web >>> browser on every platform? Probably not, and it is unlikely the OP can
force all his students to use the same web browser. Hell, his students
may be on non-Windows platforms (Linux, MacOS, iOS), so his batch script >>> is worthless to those students.
OP's post was "...*Windows batch* way to make *firefox* tor browser open
tabs from a list of book sites"
Which makes me suspicious that the OP is not a teacher (violating
copyrights) and his "students" are anyone wanting to read the books regardless of copyright violation.
The scenario is a pretense. Why would all his "students" have to use
the Tor variant of Firefox to legimately read an online book?
knuttle <keith_nuttle@yahoo.com> wrote:
VanguardLH wrote:
When you export your bookmarks, no one has to import them into their web >>> browser. Export as an HTML file. Distribute the .html file to your
students. They open it as a web page, like use the File -> Open menu in >>> their choice of web browser on their choice of OS. Very easy to
maintain. Very easy to use.
OR Just drag the HTML file to a browser windows, no fancy import.
Not an import, but a File -> Open to load the .html file. If drag
works, that is easier (if the file is not obscured by the browser
window, like it is fullscreened).
Is there a Windows batch way to make firefox tor browser open tabs from a separate text list of book sites?
Just a sidenote: neither drag&drop nor "file -> open" work in Firefox on actual Android devices. (Security reasons, you know..)
Nevertheless i think an exported html-snippet like described above could
be the most universal solution.
Firefox will not pend the batch script until it exits.
Loading lots of Firefox windows or tabs is overkill.
He has not reduced his effort, or that of his students, by
using a script.
Maintain and distribute a .json file
In addition, his students will only be able to read the books
in the order he decides.
If it were me, I would put the above links in a word processor that
can save the file as an HTML file and send the students the HTML file.
If that way the ope the HTML file in a tab in the browse and they can
open each URL is separate tabs.
firefox -url "http://www.authorama.com/"
"https://www.ebooks.com/en-us/free/" "https://www.feedbooks.com/catalog/public_domain" "https://www.free-ebooks.net/" "http://www.freeengineeringbooks.com/" "https://scholar.google.com/" "https://www.gutenberg.org/" "https://archive.org/" "https://manybooks.net/" "https://pdfget.com/" "https://www.science.gov/" "https://digital.library.upenn.edu/books/" "https://librivox.org/" "https://pdfgrab.com/" "https://sci-hub.ru/" "https://openaccessbutton.org/" "https://www.researchgate.net/" "https://www.academia.edu" "https://unpaywall.org" "https://annas-archive.org/" "https://www.readanybook.com/" "https://www.base-search.net/" "https://openlibrary.org/" "https://www.tandfonline.com/" "https://libgen.rs/"
"https://libgen.is/" "https://libgen.li/" "https://libgen.st/" "http://zlibrary.to/" "http://bookszlibb74ugqojhzhg2a63w5i2atv5bqarulgczawnbmsb6s6qead.onion/" "http://thepiratebay.org" "https://www.torrentdownload.info/" "https://www.limetorrents.lol/" "https://bitsearch.to/" "https://librarygenesis.net/"
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 437 |
Nodes: | 16 (2 / 14) |
Uptime: | 196:06:42 |
Calls: | 9,136 |
Calls today: | 3 |
Files: | 13,432 |
Messages: | 6,035,589 |