Git Product home page Git Product logo

jsproxy's Issues

这个内容替换,测试没办法替换唉

是只能替换超链接吗?

{"msg": "success", "res": {"vertical": [{"views": 0, "ncos": 3, "rank": 21655, "tag": ["\u5411\u65e5\u8475", "\u5c71", "\u5915\u9633", "\u5929\u7a7a", "\u98ce\u666f"], "wp": "http://img.aibizhi.adesk.com/5c0a6c08e7bce75dca87b3d9?sign=66bb875deaaa966bf0c4c873a9143722&t=60ff0e70", "xr": false, "cr": false, "favs": 248, "atime": 1544703604.0, "id": "5c0a6c08e7bce75dca87b3d9", "desc": "", "thumb": "http://img.aibizhi.adesk.com/5c0a6c08e7bce75dca87b3d9?sign=66bb875deaaa966bf0c4c873a9143722&t=60ff0e70", "img": "http://img.aibizhi.adesk.com/5c0a6c08e7bce75dca87b3d9?sign=66bb875deaaa966bf0c4c873a9143722&t=60ff0e70", "cid": ["4e4d610cdf714d2966000002"], "url": [], "rule": "&imageView2/3/h/$<Height>", "preview": "http://img.aibizhi.adesk.com/5c0a6c08e7bce75dca87b3d9?sign=66bb875deaaa966bf0c4c873a9143722&t=60ff0e70", "store": "qiniu"}]}, "code": 0}

// 替换文本
//格式:  '被替换':'替换'
//注意js结束的的逗号
const replace_dict = {
    'success':'aaaa',
    'http://':'https://'
}

没任何效果

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.