Skip to content
View in the app

A better way to browse. Learn more.

主视角中国

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[转贴] 网页黑白显示的滤镜代码

Featured Replies

把网页变为黑白显示,在 CSS 表单的最顶端加入以下代码:

html { filter:progid:DXImageTransform.Microsoft.BasicImage(grayscale=1); }
有一些网站可能使用 CSS 代码后仍然不能生效,是因为网站没有使用最新的网页标准协议引用,请将网页最头部的 <html> 替换为以下代码:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">[/code] 如果网站没有使用 CSS,可以在网页/模板的 HTML 代码 <head> 和 </head> 之间加入以下代码:
[code]<style>
html { filter:progid:DXImageTransform.Microsoft.BasicImage(grayscale=1); }
</style>
有一些网站 FLASH 动画的颜色不能被 CSS 滤镜控制,可以在 FLASH 代码的 <object …> 和 </object> 之间加入以下代码:
<param value="false" name="menu"/>
<param value="opaque" name="wmode"/>[/code] 最简单的把页面变成灰色的代码是在 <head> 和 </head> 之间加入以下代码:
[code]<style type="text/css">
html { filter: gray; }
</style>

学到了

Create an account or sign in to comment

Account

Navigation

搜索

搜索

设置浏览器推送通知

Chrome(安卓)
  1. 点击地址栏旁边的锁形图标。
  2. 点击 权限 → 通知
  3. 根据需要调整通知设置。
Chrome(桌面)
  1. 点击地址栏中的锁形图标。
  2. 选择 网站设置
  3. 找到 通知,然后根据需要调整设置。