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.2k stars 418 forks source link

`@run-in` support #2102

Closed cyber-sec0 closed 2 weeks ago

cyber-sec0 commented 3 months ago

Expected Behavior

// @ GM.tab_types incognito This should define tampermonkey "tab_types" in a script

Actual Behavior

This doesn't exist

Specifications

derjanb commented 3 months ago

And what should tab_types do?

cyber-sec0 commented 3 months ago

a The same thing this does.

derjanb commented 3 weeks ago

5.3.6205 has a new meta tags called @run-in.

(crx|xpi in review)

Please download the crx file linked above and drag and drop it to the extensions page chrome://extensions (after you've enabled 'Developer Mode').

For a quick fix please export your settings and scripts as zip or (JSON) file at the "Utilities" tab and import it back at the fixed BETA version.

cyber-sec0 commented 2 weeks ago

I haven't tested it, but thank you for adding it!