The app estimates how many pages each O'Reilly ebook page is if it's a paper book.
- Install Tampermonkey or Greasemonkey extension on your browser
- Register
main.js
to Tampermonkey or Greasemonkey as a new user script (except formodule.exports line
that is a final line) - Open developer mode of your browser (short cut key may be F12 if you use Firefox and Chrome) and click "Console" tab
- Open e-Book page on O'Reilly Online and then reload the page
- See "Console" tab
Be sure to reload at step 4.
You may see like this ("Fundamentals of Software Architecture", M. Richards, et al.);
Chapter 1. Introduction, 2.8, 5054
Defining Software Architecture, 2.2, 3906
Expectations of an Architect, 0.5, 843
Make Architecture Decisions, 0.9, 1578
Continually Analyze the Architecture, 0.7, 1271
Keep Current with Latest Trends, 0.4, 700
Ensure Compliance with Decisions, 0.7, 1309
Diverse Exposure and Experience, 0.7, 1298
Have Business Domain Knowledge, 0.7, 1236
Possess Interpersonal Skills, 0.8, 1364
Understand and Navigate Politics, 1.6, 2806
Intersection of Architecture and…, 1.4, 2557
Engineering Practices, 4.9, 8731
Operations/DevOps, 1.0, 1740
Process, 1.1, 1963
Data, 0.5, 895
Laws of Software Architecture, 0.9, 1678
First column is a section name, second column is the number of estimated pages, and third column is the number of characters within <p>
tag.
npm install
npm test