From 661b1dc06c0eee27b0abbabb7cc99a4ee36a4c3d Mon Sep 17 00:00:00 2001 From: V Date: Tue, 17 May 2022 17:31:05 +0200 Subject: Fix not loading when navigating from other pages on GitHub 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 --- manifest.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'manifest.json') 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" } -- cgit 1.4.1