Tampermonkey / tampermonkey

Tampermonkey is the most popular userscript manager, with over 10 million users. It's available for Chrome, Microsoft Edge, Safari, Opera Next, and Firefox.
GNU General Public License v3.0
4.3k stars 424 forks source link

Tampermonkey interferes with addons using the History API #1566

Open CennoxX opened 2 years ago

CennoxX commented 2 years ago

Tampermonkey interferes with addons manipulating the history using the History API. The addon Back to Close uses the back button to close newly opened tabs, this works by adding a fake visited page in the history as first entry. With the new Tampermonkey version the site isn't added anymore, which breaks this addon. With the good old v4.13.6136 of Tampermonkey I never had any problems.

Expected Behavior

A page visit is added to the history by the other addon

Actual Behavior

It's not added

Specifications

ElhemEnohpi commented 2 years ago

I'm having the same problem. Tampermonkey prevents the other addon from working, even when there are no scripts active, and even when "Enabled" is unchecked in the TM menu. I tried the Beta too. See https://github.com/jsmnbom/back2close/issues/13#issuecomment-1295963200 for details.