mirror of
https://github.com/alexadam/save-as-ebook.git
synced 2025-09-11 01:44:44 +00:00
misc
This commit is contained in:
parent
c1b85a6379
commit
d54cfe8ab7
3 changed files with 34 additions and 9 deletions
33
README.md
33
README.md
|
@ -1,6 +1,35 @@
|
|||
# ff-ext
|
||||
# Save as eBook (.epub)
|
||||
|
||||
## How to install it
|
||||
|
||||
# Credits
|
||||
### Chrome (tested on v. 52.0.2743.116)
|
||||
|
||||
```
|
||||
1. Navigate to chrome://extensions/
|
||||
2. Load unpacked extension ...
|
||||
3. Select the extension's directory
|
||||
```
|
||||
|
||||
### Firefox (tested on v. 50.0a2 (2016-08-15))
|
||||
|
||||
```
|
||||
1. Navigate to about:debugging
|
||||
2. Load temporary add-on ...
|
||||
3. Select the extension's directory
|
||||
```
|
||||
|
||||
### Opera (tested on v. 39.0.2256.48)
|
||||
|
||||
```
|
||||
1. Navigate to opera:extensions
|
||||
2. Load unpacked extension ...
|
||||
3. Select the extension's directory
|
||||
```
|
||||
|
||||
# Problems
|
||||
|
||||
# To-Do
|
||||
|
||||
## Credits
|
||||
|
||||
https://www.iconfinder.com/icons/1031371/book_empty_library_reading_icon#size=128
|
||||
|
|
|
@ -157,9 +157,7 @@ function sanitize(rawContentString) {
|
|||
dirty = '<div>' + $wdirty.html() + '</div>';
|
||||
|
||||
////////////////
|
||||
return force(dirty);
|
||||
|
||||
if ($('*').length < maxNrOfElements) {
|
||||
if ($('*').length > maxNrOfElements) {
|
||||
return force(dirty);
|
||||
}
|
||||
|
||||
|
|
6
menu.js
6
menu.js
|
@ -7,8 +7,7 @@ document.getElementById("editChapters").onclick = function() {
|
|||
|
||||
chrome.tabs.query({
|
||||
currentWindow: true,
|
||||
active: true,
|
||||
highlighted: true
|
||||
active: true
|
||||
}, function(tab) {
|
||||
|
||||
chrome.tabs.executeScript(tab[0].id, {file: '/jquery.js'});
|
||||
|
@ -36,8 +35,7 @@ function dispatch(action, justAddToBuffer) {
|
|||
}
|
||||
chrome.tabs.query({
|
||||
currentWindow: true,
|
||||
active: true,
|
||||
highlighted: true
|
||||
active: true
|
||||
}, function(tab) {
|
||||
|
||||
chrome.tabs.executeScript(tab[0].id, {file: '/jquery.js'});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue