override ProductPage IFrame with localhost

try to take over the world!

  1. // ==UserScript==
  2. // @name override ProductPage IFrame with localhost
  3. // @namespace http://tampermonkey.net/
  4. // @version 0.1
  5. // @description try to take over the world!
  6. // @author You
  7. // @match https://ecom.wix.com/storefront/product/*
  8. // @grant none
  9. // ==/UserScript==
  10.  
  11. (function() {
  12. 'use strict';
  13. // Your code here...
  14. console.log('overrides IFrame works');
  15. location.href = `http://localhost:4000${location.search}`;
  16. })();
  17.