6

How do I access developer tools in iBooks on macOS12 (Monterey)?

We have epubs with multiple-choice questions, and we use Javascript to make them interactive (i.e. click on an option, see if you're correct). Since macOS 12 Monterey, these are no longer clickable in iBooks. All other Javascript in the epub still works fine.

We need to debug this in dev tools, but we can't seem to access dev tools in iBooks on Monterey in the way that we did before in previous macOS versions, which is officially documented here:

To enable the inspector from the Terminal, execute:

defaults write com.apple.iBooksX WebKitDeveloperExtras -bool YES

In the EPUB, select any text and right-click (Control-click on Mac) and choose Show Inspector from the shortcut menu.

2
  • Wish I could help, but your question helped me (haven't upgraded to Monterey, but didn't know this was available). Thanks, hopefully you figured it out for yours.
    – John O
    Commented Aug 31, 2023 at 19:49
  • 1
    @john-o Glad it helped! Sadly we've still not found a way to access dev tools for iBooks. It does make epub development extra tricky.
    – Arthur
    Commented Sep 1, 2023 at 9:31

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.