Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Unread
    • Recent
    • Tags
    • Users
    • Register
    • Login
    1. Home
    2. justintaylor-dev
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 4
    • Best 0
    • Controversial 0
    • Groups 0

    justintaylor-dev

    @justintaylor-dev

    0
    Reputation
    3
    Profile views
    4
    Posts
    0
    Followers
    0
    Following
    Joined Last Online
    Website hyperbrew.co Location San Diego, CA

    justintaylor-dev Unfollow Follow

    Latest posts made by justintaylor-dev

    • RE: Accessing Dev Tools in Webview / CUSTOMGUI_HTMLVIEWER

      @ferdinand Great thanks!

      posted in Cinema 4D SDK
      justintaylor-devJ
      justintaylor-dev
    • RE: Accessing Dev Tools in Webview / CUSTOMGUI_HTMLVIEWER

      @ferdinand I really appreciate you looking into this and getting a response from the team so quickly.

      Agree that it seems just as secure or insecure to allow a JavaScript console as it is to allow the Python console that's already a part of Cinema 4D.

      But yes, the external browser workflow can work for now, just requires a few more steps to get up and running.

      Sounds like the team is pretty set on not opening this up, but in the future if there are other API requests, is this forum the best place to add these or is there somewhere else we should submit API requests?

      Thanks,
      Justin

      posted in Cinema 4D SDK
      justintaylor-devJ
      justintaylor-dev
    • RE: Accessing Dev Tools in Webview / CUSTOMGUI_HTMLVIEWER

      @ferdinand Thanks for your response and solid forum overview, good inspiration for my own community.

      Thanks for clarifying that dev tools is intentionally disabled. I am able to get debugging working with a separate web browser since messages talk back and forth to Python over web sockets so testing in Cinema isn't required, however it would make debugging these types of plugins much easier if we could just stay in Cinema.

      Is the main reason dev tools is disabled due to security concerns? Asking because I'm not seeing how enabling dev tools could potentially be exploited as it's done in many other host apps with web frontends like Adobe, Figma, Resolve, etc.

      If there are security concerns, I wonder if a new option could be added in preferences to enable / disable webview debugging.

      Thanks,
      Justin

      posted in Cinema 4D SDK
      justintaylor-devJ
      justintaylor-dev
    • Accessing Dev Tools in Webview / CUSTOMGUI_HTMLVIEWER

      Working on a Python plugin with a web frontend, and running into an issue with the accessing developer tools.

      On Windows, when the URL is blank, you can easily right click and select "Inspect" to pull up dev tools, but if you have a URL loaded, the "Inspect" option is no longer available.

      Is anyone aware of a workaround for this?

      Blank URL with Inspect Option
      581ac9d3-fd2a-42e1-bfc4-7ee21ec75dbe-image.png

      Loaded URL without Inspect Option
      d43105a2-1bc2-44e6-8299-52d493084762-image.png

      Also, I can't seem to access dev tools (aka Right Click > Inspect) on MacOS in either scenario.

      posted in Cinema 4D SDK python 2024 windows macos
      justintaylor-devJ
      justintaylor-dev