Giter Site home page Giter Site logo

baidunetdisk-wap's Introduction

BaiduNetdisk (WAP)

Table of Contents
  • Install
  • Features
    • 禁止跳转至 PC 版网页
    • 突破大文件限制
  • Extra
    • 优酷视频使用 HTML5 播放器
    • 腾讯视频使用 HTML5 播放器
    • 伪装指定网站的 User-Agent
    • 加载自定义 CSS
    • 阅读模式
    • 翻译文本
    • 移除重复标签页
  • Note

Install

Chrome: 更多工具 -> 扩展程序 -> 开发者模式 -> 加载已解压的扩展程序 -> 导航至文件夹 Chrome,点击确定。

Features

禁止跳转至 PC 版网页

https://pan.baidu.com/wap/home

突破大文件限制

https://pan.baidu.com/disk/home

Extra

优酷视频使用 HTML5 播放器(解除优酷对 PC 端访问移动端的操作限制)

腾讯视频使用 HTML5 播放器

伪装指定网站的 User-Agent (Android)

Header

  1. background.js 中指定网站。
urls: ['*://*.v2ex.com/*', '*://*.zhihu.com/*', '*://v.youku.com/*']
  1. Done.

Native

  1. manifest.json 中指定网站。
"js": ["user_agent_native.js"],
"matches": ["*://*.baidu.com/*", "*://v.youku.com/*"],
  1. Done.

加载自定义 CSS

main.css 中添加样式。

a{text-decoration:none !important}
a:hover { text-decoration: underline !important;}
*:not([class*="icon"]):not(i){font-family: "Microsoft YaHei","Symbol" !important;}

阅读模式

开启 | 关闭:Alt+Shift+R

指定网站自动开启阅读模式

manifest.json 中指定网站。

"js": ["autoplay_read.js"],
"matches": ["*://*.jianshu.com/*", "*://*.wikipedia.org/*", "*://*.stackoverflow.com/*"],

翻译文本

翻译 选中 文本并将结果输出至 F12 Console。

  • 翻译    :Alt+Q
  • 翻译 + 朗读:Alt+Shift+Q

移除重复标签页

Note

因为安全原因,高版本的 Chrome 可能需要 自己设置快捷键

baidunetdisk-wap's People

Contributors

xhstormr avatar

Watchers

 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.