Skip to content

Commit

Permalink
#642 elemhide converter fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Mizzick committed Apr 10, 2017
1 parent f139acc commit 47cb6f4
Showing 1 changed file with 20 additions and 26 deletions.
46 changes: 20 additions & 26 deletions Extension/tests/safari-converter/safari-correct-rules.js
Expand Up @@ -33,6 +33,25 @@ var safariCorrectRules = [
"selector": "#calendar_widget"
}
},
{
"trigger": {
"url-filter": ".*",
"if-domain": [
"*test-elemhide.com"
]
},
"action": {
"type": "ignore-previous-rules"
}
},
{
"trigger": {
"url-filter": "\\/testelemhidenodomain"
},
"action": {
"type": "ignore-previous-rules"
}
},
{
"trigger": {
"url-filter": "^[htpsw]+://([^/]*\\.)?pics\\.rbc\\.ru\\/js\\/swf"
Expand Down Expand Up @@ -72,7 +91,6 @@ var safariCorrectRules = [
"type": "block"
}
},

{
"trigger": {
"url-filter": "^[htpsw]+://([^/]*\\.)?b\\.babylon\\.com[/:&?]?"
Expand All @@ -81,12 +99,11 @@ var safariCorrectRules = [
"type": "block"
}
},

{
"trigger": {
"url-filter": "^[htpsw]+://([^/]*\\.)?getsecuredfiles\\.com[/:&?]?",
"resource-type": [
"popup",
"popup"
],
"load-type": [
"third-party"
Expand All @@ -104,7 +121,6 @@ var safariCorrectRules = [
"type": "block"
}
},

{
"trigger": {
"url-filter": "^[htpsw]+://([^/]*\\.)?emjcd\\.com[/:&?]?",
Expand All @@ -120,7 +136,6 @@ var safariCorrectRules = [
"type": "ignore-previous-rules"
}
},

{
"trigger": {
"url-filter": "^[htpsw]+://([^/]*\\.)?intellitxt\\.com\\/ast\\/js\\/nbcuni\\/",
Expand All @@ -132,7 +147,6 @@ var safariCorrectRules = [
"type": "ignore-previous-rules"
}
},

{
"trigger": {
"url-filter": "^[htpsw]+://([^/]*\\.)?hulu\\.com\\/embed"
Expand Down Expand Up @@ -185,7 +199,6 @@ var safariCorrectRules = [
"type": "ignore-previous-rules"
}
},

{
"trigger": {
"url-filter": ".*",
Expand Down Expand Up @@ -237,25 +250,6 @@ var safariCorrectRules = [
"action": {
"type": "ignore-previous-rules"
}
},
{
"trigger": {
"url-filter": ".*",
"if-domain": [
"*test-elemhide.com"
]
},
"action": {
"type": "ignore-previous-rules"
}
},
{
"trigger": {
"url-filter": "\\/testelemhidenodomain"
},
"action": {
"type": "ignore-previous-rules"
}
}
];

Expand Down

0 comments on commit 47cb6f4

Please sign in to comment.