Greasy Fork is available in English.

searchEngineJump 搜索引擎快捷跳转

方便的在各个搜索引擎之间跳转,增加可视化设置菜单,能更友好的自定义设置,修复百度搜索样式丢失的问题

< Feedback on searchEngineJump 搜索引擎快捷跳转

Question/comment

spn
§
Posted: 24.06.2021

希望增加“金山词霸”的支持

@match 部分

// @match          *://www.iciba.com/*

rules 部分

{name: "金山词霸",
    url: /^https?:\/\/www\.iciba\.com\/word/i,
    enabled: true,
    engineList: "translate",
    style: '\
        z-index : 0;\
    ',
    insertIntoDoc: {
        keyword: '//input[@type="search"]',
        target: 'css;.Search_input__1qgiU',
        where: 'afterEnd',
    },
},
spn
§
Posted: 24.06.2021

engineList 部分

engineList.translate[9] = {
    name: '金山词霸',
    url: 'https://www.iciba.com/word?w=%s',
    favicon: "data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAACGElEQVQ4y6WTzUuUURTGf+e87+v3BwxYToupoYVYgViLFiPtIrBNELZsIUIUFEXQqk1I/0JU24oWZRFFiyD7WhhBDWYfq4zCsRETdfwYHL33tHhtdLSF0IEH7r1cnnOe55wjPP1u/EeEYrLuaogpoJi4LREoBhiIQa3Btbb3DLZdQbwQIdSJIC7+8y+IPP5pAKnqEgMdz+lYusGvwm/uVo3Qu7OeOoXsbIkzw9OMLDiQDRLi7CED/gJ7x94R1o2RTF7naFBFz9AEuZLnVKqewcw2Ol/kyS0b601T84AJNbnPMD+BD3ZgzSc5/naKN7OOb4vGpS8FsjMlTqcbMGeYp4wQDyCUabWVeRcwWjS8xc9iytc5T7I6Qpxguq4C8UJMsuqKG6U5WOJgY4B4JTAlckImETAyvYQhiF+DmlfWKA21GdzkVR52tXAuXcuxlognXQn2J2oYmiwhpphfg+IVvJYlGDA+dZvzH4p0p5q43NnCx3ml/9MCDw4laK9VlAi8gFdCMQMzRFb7I5AYVnpeXWTWe+aAtEAARJkDDJ7o497NO5xt7QZzcRsBzMAESq+TRI+2c1iHN0/d/SzLE+Ps3nMEKXhMIMQLSOxs8VkT+rIBdIZNCyKCNTQx3Z6ht5Be9VwIzeIW/pAUxVwEDsz9dWMDQeMu+hb3kfflwhFu5S0+RIiyaVQrwhtmKxXUsQTAWMH8VvavMsMfIrbvQBU3VlgAAAAASUVORK5CYII=",
    blank:true,
};

delayList 部分

        /^https?:\/\/www\.iciba\.com\/word\?/,

还有一个问题,就是在金山词霸页面本脚本设置对话框右上角关闭按钮样式不正常,不知道改哪里。

Post reply

Sign in to post a reply.