Code Monkey home page Code Monkey logo

Comments (5)

avwo avatar avwo commented on July 30, 2024 1

重新安装 Whistle 并重启,新版可以通过 lineProps://module 设置 type:

https://xxx js://xxx lineProps://module

也可以用来设置 defer async crossorigin

from whistle.

avwo avatar avwo commented on July 30, 2024

这样注入会有什么问题吗?js 注入还不支持,可以试试 html 协议:https://wproxy.org/whistle/rules/htmlAppend.html

from whistle.

yiliang114 avatar yiliang114 commented on July 30, 2024

普通的 js 直接被 script 标签包裹嵌入没有问题,但是如果 js 代码中包含 import 之类的 es 代码,script 标签上需要带上 type="module" 才可以执行,否则嵌入的 js 执行就出错了。

from whistle.

avwo avatar avwo commented on July 30, 2024

下个版本加上,你先用 https://wproxy.org/whistle/rules/htmlAppend.html 嵌入

from whistle.

yiliang114 avatar yiliang114 commented on July 30, 2024

下个版本加上,你先用 https://wproxy.org/whistle/rules/htmlAppend.html 嵌入

🙇‍♂️

from whistle.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.