Open hite opened 7 months ago
{
"name": "Default Rules",
"author": "Official",
"type": "Close Login Popup#Auto Hide",
"matches": ["blog.csdn.net", "zhihu", "medium.com"],
"data": {
"*.zhihu.com": [
{
"type": "autoClick",
"name": "Close Login Dialog",
"data": ".Modal-closeButton"
}
],
"blog.csdn.net": [
{
"type": "autoHide",
"name": "Close Passport Login",
"data": ".passport-login-container"
},
{
"type": "insertCSS",
"name": "Remove Copy Restriction",
"data": ".passport-container-mini {display: none !important;} #content_views pre code{user-select: text !important;} #content_views pre{ user-select: text !important;}"
},
{
"type": "insertCSS",
"name": "Remove Restriction to Read Full Text Only for Followers",
"data": "#content_views{height:auto !important; overflow: auto !important;}"
}
],
"www.jianshu.com/go-wild*": [
{
"type": "autoClick",
"name": "Ignore Warning for Target Page",
"data": ":contains('Continue to')"
}
],
"link.zhihu.com/": [
{
"type": "autoClick",
"name": "Auto Open External Page",
"data": ".content .link"
}
]
}
}
1. Steps to Share Your Rule Set
AccessHappily
extension's settings page, and copy the content of rule to the clipboard (or click the linkCopy Rules and Publish
). Open the Online Rules List.New issue
button in the top right corner.Add a comment in the first comment with a pure JSON object, like the comment below. Note: Use
as the markdown markup*.
2. Steps to Subscribe to Rules
AccessHappily
extension's settings page.Add
.3. JSON Object Format
4. Key Format
AccessHappily
considers the fact thatURL = location.host + location.pathname
, uses this URL for matching rule (excluding query parameters).5. Rule Format
6. Rule Example in the Next Comment