Code Monkey home page Code Monkey logo

profiles4limbo's Issues

耗电问题

看到rewrite系列是个集合,请问集合越多,是否比对规则时就越耗电?

Spotify的规则建议

关于Spotify分流规则
建议只把spotify.com加入proxy
其余的歌曲缓冲直接direct,感觉浪费了流量(哈哈

Bing 有什么好办法来过滤呢?

Bing现在在bing.com域名下推出了聊天机器人,也有DALLE之类的画图功能。

除了直接进行操作

DOMAIN-SUFFIX,bing.com,🤖 AI Platforms

之外,
不知道有什么好的办法过滤?毕竟是用bing搜索的时候好像没有必要使用特定的节点(美国)

关于Qx script response body的问题

最近在看小说,网页基本都是广告,而且都是js加载的,首先想到的是用response body替换html里面的所有<script>标签达到去广告的目的,每个小说网站写一个又不太现实,就想到用script-response-body做一个模板,直接引用就好了,但是实际操作却操作不了html的响应体,请大大赐教qx script response body究竟要怎么做才能重写html script标签达到response body的效果。以下是我的思路

var scriptTags = document.getElementsByTagName('script');
console.log(scriptTags)
// 遍历这些标签
for (var i = 0; i < scriptTags.length; i++) {
// 创建一个新的

标签
var p = document.createElement('p');

// 将新的

标签的内容设置为原<script>标签的内容
p.innerHTML = scriptTags[i].innerHTML;

// 将原<script>标签替换为新的

标签
scriptTags[i].parentNode.removeChild(scripts[i]);
};
$done({body});

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.