Fake PerformanceObserver

Unblock pages broken by dom.enable_performance_observer = false

Tác giả
Xiao 2
Cài đặt hàng ngày
0
Số lần cài đặt
27
Đánh giá
0 0 0
Phiên bản
2022.03.29
Đã tạo
29-03-2022
Đã cập nhật
29-03-2022
Size
445 Byte
Giấy phép
N/A
Áp dụng cho

On Firefox, if you has set dom.enable_performance_observer = false a few sites may break. For instance, hash links don't work in GitHub. Example (click any index link in the center of the page, like "For version 2.0 and later").

This tiny script fakes PerformanceObserver to unblock these pages. Currently restricted to pages I know are broken. You can set user-includes/matches to enable this script in other pages.

Tested with FireMonkey, but should work with any UserScripts Manager.