I have an ePub3 book involving scripting which works fine with Readium, but only partially in iBooks. My guess is that the JavaScript is erroring out at some point (although as a standard web app the exact same code works fine in Safari). Any thoughts on how to go about debugging this?
How to debug scripted ePub3 in iBooks?
1.5k Views Asked by AudioBubble At
2
There are 2 best solutions below
1
Nicolas Zimmer
On
You can enable the Webkit Web Inspector in iBooks with this line in your terminal app to change its settings:
defaults write com.apple.iBooksX WebKitDeveloperExtras -bool YES
You'll find the inspector after re-starting iBooks in the context menu (More > Show Inspector). All the inspector tools are available including console etc.
Related Questions in JAVASCRIPT
- Using Puppeteer to scrape a public API only when the data changes
- inline SVG text (js)
- An array of images and a for loop display the buttons. How to assign each button to open its own block by name?
- Storing the preferred font-size in localStorage
- Simple movie API request not showing up in the console log
- Authenticate Flask rest API
- Deploying sveltekit app with gunjs on vercel throws cannot find module './lib/text-encoding'
- How to request administrator rights?
- mp4 embedded videos within github pages website not loading
- Scrimba tutorial was working, suddenly stopped even trying the default
- In Datatables, start value resets to 0, when column sorting
- How do I link two models in mongoose?
- parameter values only being sent to certain columns in google sheet?
- Run main several times of wasm in browser
- Variable inside a Variable, not updating
Related Questions in DEBUGGING
- How to pass the value of a function of one class to a function of another with the @property decorator
- Visual Studio C++, breakpoints not stopping debugging DLL (GODOT GDExtention)
- Playwright JS: Getting an error when debugging using line numbers
- C++ skips line when promting for user to enter name of person being added to a string array
- Xcode: Can't Attach to process
- unity navmeshsurface prefab not found or whatever
- It seems to be a bug about "base::trace()" or "methods:::.TraceWithMethods()"?
- How to check reference counting issues when doing direct manipulations of CPython objects?
- How to scroll to the bottom of console window in PyCharm2019 automatically?
- need help debugging prolog
- Is there a way to deactivate (but not delete) conditional breakpoints when debugging?
- How can i debug a python exe which is created by using pyinstaller?
- Increment or Decrement volume programmatically on Xiaomi device adjusts it by 10 steps instead of one step
- Checking request JSON with image data
- Why cannot I set font of `xlabel` in `plotmf` in MATLAB?
Related Questions in CROSS-PLATFORM
- Error while connecting to discord WebSocket on specific platform
- How to store metadata for a UTF-8 text file cross-platform?
- JavaScript Web Audio API - Audio Sampling Rate Issue on Android
- Dynamic sizing and responsive design
- What unicode characters are generally displayable across browsers (using system fonts) and not showing missing glyphs?
- Python cross-platform software update mechanism like youtube-dl?
- Back button is not visible in maui, using Prism
- react native system compatibility issues
- Render local pdf reports in c# from .rdlc template for cross platform as using System.Drawing is not supported for non-windows platforms
- Options for building cross-platform applications using HTML as the GUI?
- ScrollView doesnt work in React Native horizontally
- Linking to .so with newer symbol
- Is there a way to create a GIF from network images in flutter?
- In my MAUI application, why when I programmatically add a rotated box to an AbsoluteLayout do I see 2 boxes. One is rotated and the other is not
- Animated components with 'fadeIn' animation making views behind them visible in android but working fine in iOS | React Native
Related Questions in IBOOKS
- Is there an onclick (ontap?) for a link in epub that will force the page to a non-linear file?
- want to navigate to specific chapter in flatlist paging react natve
- CSS rules applied to only the left/verso in a two page spread
- Javascript to disable page-turning entirely?
- ePub and Apple Books Grey and Black mode background-color doesn't work
- Ionic iOS share PDF to ibooks
- iPhone: bulk move ALL voice memos + ALL pdfs generated from Safari page prints (pdf-exports using "Books") to pc
- UIDocumentInteractionController not displaying app based on UTI
- Getting a LaunchServices error when trying to share to apple Books on ios
- Data cleaning file names in iBooks directory with python
- Error while parsing the prefix "ibooks" for attribute "ibooks:readaloud"
- How does Apple create shadow effect for a book in iBooks app in iOS 12?
- Is it possible to open PDF Files directly in iBooks instead of Browser (deeplinking?)
- How to scroll to show search bar under navigation bar like iOS 11 iBook
- How To Share .Mobi file to iBooks App using Xamarin iOS
Related Questions in EPUB3
- How to set the cover-image property in a epub file
- How to prevent @media from breaking the parsing of the CSS file on some Kobo EPUB readers?
- Pandoc Checklist/Checkbox/Tasklist generation using task_lists Extension doesn't work
- Is there an onclick (ontap?) for a link in epub that will force the page to a non-linear file?
- CSS rules applied to only the left/verso in a two page spread
- Javascript to disable page-turning entirely?
- ePub and Apple Books Grey and Black mode background-color doesn't work
- Creating an Epub from scratch
- Is there any epub sdk or package for flutter that supports highlights and notes?
- How to implement navigation for epubJs in Angular
- Read Aloud EPUB3 Authoring Tools
- How to prevent screen recording in Epub Viewer on flutter based application IOS and Android?
- How to render epub file in React Native Expo project
- where to find epuf format?
- Is there any way to convert epub2 to epub3 using Python?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Azardi Online can be used to read the file using the browser. The built-in or add-in console can be used from there to debug. Or a console shim can be created:
References
Azardi Online
Event Handler Attributes
Debugging JavaScript on Android and iOS