# Enabling Developer Extras in HTMLViewer

**URL:** <https://forum.xojo.com/t/enabling-developer-extras-in-htmlviewer/57187>\
**Category:** General\
**Created:** [September 18, 2020, 3:05pm UTC](https://forum.xojo.com/t/enabling-developer-extras-in-htmlviewer/57187 "2020-09-18T15:05:54Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Rob\_Johnston](https://forum.xojo.com/user_avatar/forum.xojo.com/rob_johnston/32/348_2.png) [@Rob\_Johnston](https://forum.xojo.com/u/Rob_Johnston)\
**Post date:** [September 18, 2020, 7:30pm UTC](https://forum.xojo.com/t/enabling-developer-extras-in-htmlviewer/57187/4 "2020-09-18T19:30:23Z")

</div>

After doing a lot of research, I found the answer to enabling the Web Inspector on an HTMLViewer object on Mac. For whatever reason, Apple (or WebKit) decided to change the key used to enable the inspector. It used to be `WebKitDeveloperExtras`. Today it’s `WebKitDebugDeveloperExtrasEnabled`. Ugh!

To enable the Web Inspector in your app, you would need to run the following in Terminal:

`defaults write <your-bundle-identifier> WebKitDebugDeveloperExtrasEnabled -bool YES`

This command adds the key/value to your application’s ~/Library/Preferences/\*.plist file. Any subsequent launches of the app (on that computer) will have the “Inspect Element” contextual menu option available for your embedded web views.

---

_[View the full topic](https://forum.xojo.com/t/enabling-developer-extras-in-htmlviewer/57187)._
