Browse to a Baka-Tsuki web page that has the full text of a story.
Click on the WebToEpub icon on top right of the window.
Check story details are correct.
Select image to use for cover.
Click the "Pack EPUB" button.
Wait for progress bar to finish (indicating the images being downloaded) and the generated EPUB to be placed in your downloads directory.
How to use with Archive of Our Own:
Browse to first chapter of story you want.
Click on the WebToEpub icon on top right of the window.
Check story details are correct.
Click the "Pack EPUB" button.
Wait for progress bar to finish (indicating the additional chapters are being downloaded) and the generated EPUB to be placed in your downloads directory.
How to use for site that there is no specific parser for:
Tests will be launched in your default browser. To open them in different browser, open the page URL in it.
To run unit tests without Node.js
If you are not trying to run unit tests in /unitTest/ folder, you do not need this
If you can use nodejs, see previous paragraph instead
If you can not install nodejs or http-server is not working when you run npm test, and you have no alternative ways to serve files (like chrome Web Server app for example), you have to allow browser to run local html files to run tests.
To run unit tests (without local server) under Chrome
Close all running copies of Chrome
Start Chrome with command line argument --allow-file-access-from-files. That is:
Open a command propmt
Browse to the directory holding Chrome
Type in command chrome.exe --allow-file-access-from-files . Press "Enter".
If you don't do this, some tests will fail with error messages containing the text Failed to execute 'send' on 'XMLHttpRequest': Failed to load.
Load unitTest/Tests.html
If you get Failed to read the 'localStorage' property from 'Window': Access is denied for this document errors
Type chrome://settings/content into Chrome's search bar
Uncheck Block third-party cookies and site data
Click Finished
Re-run unit tests
When finished with unit tests.
Restore original value of Block third-party cookies and site data (if you changed it).
close all running copies of Chrome
To run unit tests (without local server) under Firefox
请发表评论