Code Monkey home page Code Monkey logo

sth's Introduction

sth

block site

geosite:category-ads-all,
clients2.googleusercontent.com,
update.googleapis.com,
clients1.google.com,
clients2.google.com

surfingkeys 0.9.74 settings

// 更改bing.com网站
addSearchAliasX('b', 'bing', 'https://cn.bing.com/search?q=', 's', 'http://api.bing.com/osjson.aspx?query=', function(response) {
    var res = JSON.parse(response.text);
    return res[1];
});
// 用deepl翻译
addSearchAliasX('l', 'DeepL', 'https://www.deepl.com/zh/translator#en/zh/');
mapkey('ol', '#8Open Search with alias g', function() {
    Front.openOmnibar({type: "SearchEngine", extra: "l"});
});

settings.interceptedErrors = ["*"]; //错误页依然可以使用Surfingkeys,*代表所有页面
settings.tabsMRUOrder = false; // 按照顺序排列标签页
settings.tabsThreshold = 8; // 超过8个tab便改为列表显示
// 关于“0”与“$”
map('gxl', 'gxT');
map('gxh', 'gxt');
map('w', 'cS');



// set theme
settings.theme = `
.sk_theme {
    font-family: Input Sans Condensed, Charcoal, sans-serif;
    font-size: 9pt;
    background: #282828;
    color: #ebdbb2;
}
.sk_theme tbody {
    color: #b8bb26;
}
.sk_theme input {
    color: #d9dce0;
}
.sk_theme .url {
    color: #98971a;
}
.sk_theme .annotation {
    color: #b16286;
}
.sk_theme .omnibar_highlight {
    color: #eb5959;
}
.sk_theme #sk_omnibarSearchResult ul li:nth-child(odd) {
    background: #282828;
}
.sk_theme #sk_omnibarSearchResult ul li.focused {
    background: #26349e;
}
#sk_status, #sk_find {
    font-size: 9pt;
}`;

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.