Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 1,000,000+ packages pre-installed, including admin-iframe-compatibility with all npm packages installed. Try it out:

var adminIframeCompatibility = require("admin-iframe-compatibility")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

admin-iframe-compatibility v1.0.56

Compatiblity js to adapt catalog admin to iframe

There is nothing glamorous to see here

  • this package is just a static js with jquery code that runs on catalog admin pages

Developing locally

  • Setup:
npm install
  • You will need requestly chrome extension linked here
  • Open requestly, create a Redirect Rule like so:
Request URL Contains //unpkg.com/admin-iframe-compatibility/index.js

Destination http://localhost:4200/index.js
  • Save it and leave it on
  • Run the server and you are good to go
    npm start
    
  • Just edit the js, save it and refresh admin page to get the new version running
RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free