Giter Club home page Giter Club logo

yang's People

Contributors

deepsource-io[bot] avatar dmlls avatar samyakbardiya avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

yang's Issues

Add option to use Kagi bangs

Kagi has their own repository of bangs here. It would be nice if there was an option to use Kagi's bangs instead, which should be as easy as replacing this line with https://raw.githubusercontent.com/kagisearch/bangs/main/data/bangs.json depending on the user's settings.

Passing URLs to query may not get escaped properly

Thanks for the shoutout!

I had this same issue with my extension where passing a URL to a site like the Wayback Machine won't get escaped properly. Something like !wayback https://duckduckgo.com/bangs works without the extension installed, but with it installed, it tries to search https%3A%2F%2Fduckduckgo.com%2Fbangs and fails.

Custom Search Engines

I want to use a search engine self hosted by a friend of mines which is searx.absturztau.be
it would be cool to add an optional permission to intercept links from any site of your choice
Here's an example from Extension UBlacklist
image

!bang <term> doesn't work

For example, !bang google is redirecting to moz-extension://d2b72ea1-45d8-450b-9ae8-887696c55f6a/bang?q=google when it should redirect to https://duckduckgo.com/bangs?q=google

Custom bangs behaves different from DuckDuckGo bangs

I configured Yang custom bang !g {{{s}}} to open https://www.google.com/search?q={{{s}}}. I tried tests with and without URL Encode Query option.

The original DuckDuckGo bang! with an emtpy query directly opens the first page of the site. For example, !g with opens https://www.google.com. I guess it opens the link of "d" element from bang.js file when there is no keyword.

{"c":"Online Services","d":"www.google.com","r":2123537,"s":"Google","sc":"Google","t":"g","u":"https://www.google.com/search?q={{{s}}}"}

Yang! custom bang behaves differently. It opens https://www.google.com/search?q= page with an empty query. It has no option to configure the page to open with an empty query.

Need `package.json` file

Hey @dmlls, thanks for the blazingly fast extension! I really enjoy it in Firefox, but miss something similar for Chrome. Iโ€™m planning to dive in and try converting it to a Chrome extension.

FYI, I don't have much experience with web extensions, so I'll be learning as I go. I plan to use some NPM packages, but I noticed that you've git-ignored the package.json and package-lock.json files. Could you please share those files? I want to avoid any conflicts with your project.

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.