Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
coopwire-hypothesis
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
孙灵跃 Leon Sun
coopwire-hypothesis
Commits
40d3fa84
Commit
40d3fa84
authored
Jan 26, 2022
by
Robert Knight
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revise comment to avoid confusing use of the term _blank_
parent
7f32c5ee
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
vitalsource.js
src/annotator/integrations/vitalsource.js
+4
-4
No files found.
src/annotator/integrations/vitalsource.js
View file @
40d3fa84
...
@@ -60,10 +60,10 @@ export class VitalSourceContainerIntegration {
...
@@ -60,10 +60,10 @@ export class VitalSourceContainerIntegration {
/** @param {HTMLIFrameElement} frame */
/** @param {HTMLIFrameElement} frame */
const
injectIfContentReady
=
frame
=>
{
const
injectIfContentReady
=
frame
=>
{
// Check if this frame contains
ebook content, as opposed to being a
// Check if this frame contains
decoded ebook content, as opposed to
//
"blank" frame containing encrypted book content, as hidden text,
//
invisible and encrypted book content, which is created initially after a
//
which is created initially after a chapter navigation. These "blank"
//
chapter navigation. These encrypted pages are replaced with the real
//
pages are replaced with the real
content after a form submission.
// content after a form submission.
//
//
// The format of the decoded HTML can vary, but as a simple heuristic,
// The format of the decoded HTML can vary, but as a simple heuristic,
// we look for a text paragraph.
// we look for a text paragraph.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment