Skip to content

Commit

Permalink
chore(chrome): ignore block_js on top pages
Browse files Browse the repository at this point in the history
  • Loading branch information
j-mendez committed Dec 14, 2024
1 parent f0d6301 commit 5077ab5
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 12 deletions.
12 changes: 6 additions & 6 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion spider/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "spider"
version = "2.21.24"
version = "2.21.25"
authors = [
"j-mendez <jeff@spider.cloud>"
]
Expand Down
2 changes: 1 addition & 1 deletion spider_chrome/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "spider_chrome"
version = "2.21.24"
version = "2.21.25"
rust-version = "1.70"
authors = [
"j-mendez <jeff@spider.cloud>"
Expand Down
2 changes: 2 additions & 0 deletions spider_chrome/src/handler/network.rs
Original file line number Diff line number Diff line change
Expand Up @@ -410,6 +410,7 @@ impl NetworkManager {
&& ResourceType::Stylesheet == event.resource_type
|| self.block_javascript
&& javascript_resource
&& self.intercept_manager == NetworkInterceptManager::UNKNOWN
&& !ALLOWED_MATCHER.is_match(current_url)
} else {
skip_networking
Expand Down Expand Up @@ -512,6 +513,7 @@ impl NetworkManager {
&& ResourceType::Stylesheet == event.resource_type
|| self.block_javascript
&& javascript_resource
&& self.intercept_manager == NetworkInterceptManager::UNKNOWN
&& !ALLOWED_MATCHER.is_match(current_url)
} else {
skip_networking
Expand Down
2 changes: 1 addition & 1 deletion spider_cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "spider_cli"
version = "2.21.24"
version = "2.21.25"
authors = [
"j-mendez <jeff@spider.cloud>"
]
Expand Down
2 changes: 1 addition & 1 deletion spider_transformations/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "spider_transformations"
version = "2.21.24"
version = "2.21.25"
authors = [
"j-mendez <jeff@spider.cloud>"
]
Expand Down
2 changes: 1 addition & 1 deletion spider_utils/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "spider_utils"
version = "2.21.24"
version = "2.21.25"
authors = [
"j-mendez <jeff@spider.cloud>"
]
Expand Down
2 changes: 1 addition & 1 deletion spider_worker/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "spider_worker"
version = "2.21.24"
version = "2.21.25"
authors = [
"j-mendez <jeff@spider.cloud>"
]
Expand Down

0 comments on commit 5077ab5

Please sign in to comment.