阅读:1588回复:2
有“基于规则或域名”的网页便签吗??
例如,想在 URL 符合正则式 ^https?://www.v2ex.com/t/\d+ 的网页上,显示一个便签,提醒我一些事情,如图
→ 如果不支持正则,至少支持*或?通配符,也行 → 如果也不支持通配符,最起码支持域名也行(即同一域名下的 URL 都显示该便签) 我目前在用 Diigo,但它是“ 1 个 URL 对应 1 个便签”,有时不太符合我的使用场景 形式上,扩展 /插件 /油猴脚本,甚至外部 exe 工具……都无所谓。请问有吗? ![]() |
|
1楼#
发布于:2018-11-02 00:38
// ==UserScript==
// @name notes // @namespace t // @description notes // @include * // @version 1 // @grant none // ==/UserScript== if (/^https?:\/\/www.v2ex.com\/t\/\d+/.test(location.href)) { addSomeText() } https://wiki.greasespot.net/Include_and_exclude_rules |
|
2楼#
发布于:2018-11-01 12:50
|
|