# Embedding .pde to html does not work/ .pde to p5.js

**URL:** <https://discourse.processing.org/t/embedding-pde-to-html-does-not-work-pde-to-p5-js/16181>\
**Category:** Coding Questions\
**Created:** [December 6, 2019, 5:03pm UTC](https://discourse.processing.org/t/embedding-pde-to-html-does-not-work-pde-to-p5-js/16181 "2019-12-06T17:03:47Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![GoToLoop](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/gotoloop/32/86_2.png) [@GoToLoop](https://discourse.processing.org/u/GoToLoop)\
**Post date:** [December 6, 2019, 6:14pm UTC](https://discourse.processing.org/t/embedding-pde-to-html-does-not-work-pde-to-p5-js/16181/6 "2019-12-06T18:14:28Z")

</div>

- The problem is that browsers block loadings from “file://” scheme.
- You’re gonna need some local server in order to run “.js” scripts as “http://” scheme instead.
- Alternatively, you can install Firefox:

> **[Firefox Developer Edition](https://www.mozilla.org/en-US/firefox/developer/)**
>
> Firefox Developer Edition is the blazing fast browser that offers cutting edge developer tools and latest features like CSS Grid support and framework debugging

- Once installed, go to its about:config page.
- Then at the search box there, type in privacy.file\_unique\_origin, and toggle it to `false`.
- Now you can run most sketches from there via the “file://” scheme.

---

_[View the full topic](https://discourse.processing.org/t/embedding-pde-to-html-does-not-work-pde-to-p5-js/16181)._
