Git Product home page Git Product logo

baiduadfinisher's Introduction

baiduAdfinisher

屏蔽百度线上产品页面广告chrome扩展程序,兼容各大“国产”浏览器急速版(360、搜狗、猎豹、百度、UC、QQ等)以及其他webkit内核浏览器。

### 离线chrome扩展程序(.crx文件)安装方式:
1、打开chrome扩展程序页面(chrome://extensions/ 或者 菜单 > 更多工具> 扩展程序);
2、把.crx文件拖进该页面(国产浏览器直接拖入任意页面)。
### 关于未上架扩展被chrome禁用的问题:
目前已知较有效方法就是安装chrome开发版(dev) 下载地址:https://www.chromium.org/getting-involved/dev-channel 请卸载原有的chrome之后全新安装(非常重要)

效果截图:
github

###2016-05-25
现已支持百度全线线上产品页面广告屏蔽(搜索、新闻、贴吧、知道、音乐、图片、视频、文库、百科等)。

###2016-05-26
新增:点击扩展图标打开(如果已打开则切换到)百度页面,当书签用,省去每次输入地址链接的麻烦 ^_^

2016-06-04

ES6编写 / "use strict"

const  url="d3d3LmJhaWR1LmNvbQ==";
chrome.browserAction.onClicked.addListener((tab) =>{
	chrome.tabs.getAllInWindow(null, fuckBat = tabs =>{
		for(var t of tabs){
			if (t.url.match(atob(url))) {
				fuckBat.bTab = true;
				chrome.tabs.update(t.id, {selected:true});
				break;
			}
		}
		!fuckBat.bTab && chrome.tabs.create({"url":`https://${atob(url)}`, "selected":true});
	});
});

2016-06-04

1、屏蔽“音乐盒”播放页广告 github
github

2016-06-05

1、修正贴吧置顶帖被当做广告屏蔽的bug。

2016-06-07

1、修正百度翻译被当做广告屏蔽的bug。 ###2016-06-13
1、屏蔽音乐盒播放暂停时展示的广告。

2016-06-15

1、新增音乐盒歌词显示“K歌”模式(双击歌词区域进入、退出)。 github

2016-07-08

1、修复贴吧回帖之后所有回帖被隐藏的bug。

2016-07-28

1、修复贴吧广告屏蔽css规则失效的bug。

2016-09-28

1、修复由于百度html结构有变动导致部分css规则失效的bug。

持续更新中...

baiduadfinisher's People

Contributors

unclehking avatar

Watchers

 avatar

Forkers

web8yxm

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.