Giter Site home page Giter Site logo

wgsgyes / allso Goto Github PK

View Code? Open in Web Editor NEW

This project forked from h2y/allso

0.0 0.0 0.0 57 KB

超实用双栏聚合搜索引擎,web 单页面 App。充分利用屏幕信息显示资源,输入一个关键字,将自动提交给左右两个搜索引擎,同时返回他们的搜索结果!

Home Page: http://h2y.github.io/allso

License: GNU Affero General Public License v3.0

HTML 63.07% JavaScript 29.79% CSS 7.14%

allso's Introduction

ALLSO

超实用双栏聚合搜索引擎

ALLSO Logo

输入一个关键字,ALLSO 会自动提交给左右两个搜索引擎,同时返回他们的搜索结果!

页面一分为二,充分利用屏幕显示资源。同时浏览 2 个搜索引擎,资源互补,方便实用!

并且网页 UI 做的相当漂亮,简洁。绝对会让你爱不释手!

预览

链接地址

开始使用 ALLSO:http://h2y.github.io/allso

Github 项目主页:h2y/allso

个人网站发布页面:https://hzy.pw/p/1389

特色功能介绍

  • 即时搜索

输入关键字的同时,ALLSO 就会立即展开搜索,当你输完关键字,搜索结果已经展示在了屏幕上。让你享受最快捷的搜索体验,谁用谁知道,实用至极!

不过在 IE 上不会开启此功能,因为我不喜欢 IE。

  • 单页面技术

类似功能的网站在网上有不少,做得很差并且有个共同的缺点:每进行一次搜索,都会将网页彻底刷新一次,这样使得每个搜索结果都是一个独立的网页,有利于网站 SEO。但对于我们用户而言,没有任何的意义,只会增加搜索耗时。

ALLSO 采用纯单页面实现,加载一次后页面 0 刷新。

  • 视框最佳化处理

对搜索引擎返回的页面进行切割,去除边缘的无用区域,仅保留我们想看的内容。

**特别说明:**现在不再支持免翻墙上谷歌

由于 GFW 的封杀,我也木有办法 T.T

常见问题

  • ALLSO 不支持 Google 源站?

是的,由于 Google 页面标明了禁止被引用在站外 iframe 中,根据互联网协议,ALLSO 不能抓取并显示其搜索内容。

谷歌墙路线实际是使用了 ASK.com 服务器作为中转。(https://www.search.ask.com

  • 如何将 ALLSO 设置为浏览器默认搜索引擎

ALLSO 会响应响应 Hash 请求。例如,你可以访问 http://h2y.github.io/allso#Moshel,即可立即展开对 Moshel 的搜索。

所以,你可以在浏览器中这样设置,使 ALLSO 成为你的默认搜索引擎:(浏览器设置 -> 管理搜索引擎)

设置为浏览器默认搜索引擎

开发说明

使用 glup 进行前端打包。/lib 为源文件目录,/dist 为生成后的文件目录,/static 为不参与打包的静态资源。

npm install
npm run start # npm run build

相关推荐

我的 UserScript 浏览器脚本

这里是数个独立的 UserScript 浏览器脚本,为浏览器实现了各种强大的的功能。

我的 greasyfork 主页: https://greasyfork.org/zh-CN/users/19299

allso's People

Contributors

h2y avatar

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.