How to use the s.sfacg.com function in s

To help you get started, we’ve selected a few s examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github yjlintw / comic-reader / assets / js / search.js View on Github external
function search() {
    if (isSearching()) return;
    $("#search-result").html("loading...");
    var searchString = $("#search-box").val();
    console.log($("#search-box").val());
    
    // --- s.sfacg.com ---
    request(
    { method: 'GET'
    , uri: 'http://s.sfacg.com/?Key=' + searchString.toUnicode() + '&S=0&SS=0'
    }
    , handleResponse);
    searchFlagDict["s.sfacg.com"] = true;

    // --- others ---
    //   $("#search-result").html(tmp.html());
}

s

SheetJS Spreadsheet Helper Library

Apache-2.0
Latest version published 5 years ago

Package Health Score

56 / 100
Full package analysis