I am using a system with the following specifications:
This issue appears for me on flickr.com.
js
// ==UserScript==
// @name A Flickr script
// @Version 1.0
// @description try to take over the world!
// @match https://www.flickr.com/photos/*
// @match https://www.flickr.com/photos/*/*
// @grant none
// ==/UserScript==
It is because flickr use "history api" and ajax to fetch the new page, and this didn't trigger page reload so Tampermonkey won't load.
You can verify that by using this script:
// ==UserScript==
// @name A Flickr script
// @Version 1.0
// @description try to take over the world!
// @match https://www.flickr.com/*
// @grant none
// ==/UserScript==
const fn=history.pushState.bind(history)
history.pushState=(...args)=>{
console.log(args)
fn(...args)
}
@nindogo Please see https://github.com/Tampermonkey/tampermonkey/issues/488#issuecomment-357531737
Most helpful comment
It is because flickr use "history api" and ajax to fetch the new page, and this didn't trigger page reload so Tampermonkey won't load.
You can verify that by using this script: