您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
限制指定主域名及其所有子域名的访问,显示确认页面,支持30分钟、今日内和本次会话不再提示,受限列表存储在 GM_Value 中,已确认页面显示倒计时,支持通过菜单添加当前域名到限制列表
install : https://greasyfork.org/zh-CN/scripts/534187
userscript-site-access-check
是一个 Tampermonkey 用户脚本,帮助你限制对特定网站的访问。访问受限网站时会显示自定义确认页面,防止冲动浏览,培养专注习惯。
document_start
).crx
(Chrome/Edge) 或 .xpi
(Firefox) 文件并下载。chrome://extensions
或 edge://extensions
),开启“开发者模式”,然后将下载的 .crx
文件拖拽到该页面进行安装。.xpi
文件,或将其拖拽到 Firefox 窗口中进行安装。userscript-site-access-check.user.js
)。userscript-site-access-check
。showRestrictionPage()
函数内的 HTML。如有建议或发现问题,欢迎提交 Issue 或 Pull Request。
Apache License 2.0
userscript-site-access-check
is a Tampermonkey userscript to help you restrict access to specific websites. When you visit a restricted site, a custom confirmation page is shown to prevent impulsive browsing and encourage focus.
document_start
for early intervention.crx
(Chrome/Edge) or .xpi
(Firefox) file for your browser from the official website.chrome://extensions
or edge://extensions
), enable "Developer mode", and then drag and drop the downloaded .crx
file onto the page to install..xpi
file or drag and drop it into a Firefox window to install.userscript-site-access-check.user.js
).userscript-site-access-check
in your installed scripts.showRestrictionPage()
function.Suggestions and issues are welcome via Issues or Pull Requests.
Apache License 2.0