summary refs log tree commit diff
path: root/manifest.json
diff options
context:
space:
mode:
authorV <v@anomalous.eu>2022-05-17 17:31:05 +0200
committerV <v@anomalous.eu>2022-05-17 18:21:08 +0200
commit661b1dc06c0eee27b0abbabb7cc99a4ee36a4c3d (patch)
tree560dbe88d1a038efda9524c037be612dcc0c05eb /manifest.json
parentf2afbcee6c2d495ada2b140e1882e9482a3d640b (diff)
downloadrefined-nixpkgs-0.2.tar.zst
Fix not loading when navigating from other pages on GitHub v0.2
GitHub uses pjax to speed up page loads. Since this replaces the native
browser navigation flow, it breaks content script loading. Fortunately,
pjax makes it easy for us to detect these synthetic load events, so we
can just process them ourselves.

Link: https://github.com/defunkt/jquery-pjax#reinitializing-pluginswidget-on-new-page-content
Diffstat (limited to 'manifest.json')
-rw-r--r--manifest.json4
1 files changed, 2 insertions, 2 deletions
diff --git a/manifest.json b/manifest.json
index 1fd731c..fbc8ba8 100644
--- a/manifest.json
+++ b/manifest.json
@@ -2,14 +2,14 @@
 	"manifest_version": 2,
 
 	"name": "Refined Nixpkgs",
-	"version": "0.1",
+	"version": "0.2",
 
 	"description": "Improve the experience for Nixpkgs maintainers",
 	"homepage_url": "https://anomalous.eu/projects/refined-nixpkgs",
 
 	"content_scripts": [
 		{
-			"matches": [ "https://github.com/NixOS/nixpkgs/pull/*" ],
+			"matches": [ "https://github.com/*" ],
 			"js": [ "content.js" ],
 			"run_at": "document_end"
 		}