Clean Qwant

This scipt will result in a more minimalistic version of the Qwant website. If you don't want to use the dark theme of the website you should remove the background-color css overwrite.

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

You will need to install an extension such as Tampermonkey to install this script.

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

// ==UserScript==
// @name     Clean Qwant
// @description This scipt will result in a more minimalistic version of the Qwant website. If you don't want to use the dark theme of the website you should remove the background-color css overwrite.
// @include http*://*.qwant.*
// @version  2.1.1
// @run-at document-start

// @namespace https://greasyfork.org/users/213191
// ==/UserScript==

//create a new style node
var style = document.createElement('style');
style.type = 'text/css';

//sets style content (see style_change.css)
style.innerHTML = '.wrapper{background-color:#181a1b!important}.all_content,.header_content.header_content--classic :not(.header__item--appmenu),.home__snippet__extension,.sidebar__item.sidebar__item--maps,.sidebar__item.sidebar__item--music,.sidebar__item.sidebar__item--shopping,.verticals__container,footer,.result-smart__news{display:none!important}.header__item--appmenu *{display:block!important}.header__item--appmenu{border-left:none}';

//append style to document
document.getElementsByTagName('head')[0].appendChild(style);