I'm a fool and didn't realize that 4.0 had changed it from GM_openInTab to
GM.openInTab - adjusting that and it works. Sorry for bugging y'all!

On Wed, Jun 21, 2023 at 12:20 AM David Jones <[email protected]>
wrote:

> I'm running GM 4.11 on Firefox 114.0.1 (64bit) on Windows 10.
>
> I've written a GM script to interface with Lemmy and open links to
> external sites in new tabs.
>
> https://github.com/Djones4822/GM-Lemmy-newTab/blob/main/lemmy.newtab.js
>
> When I apply this script, I get the error that GM_openInTab is not
> defined. I'm confused because the grant is present, and I thought I was
> using it correctly based on what I've read.
>
> Can anyone point to me where I'm going wrong? The script reaches the
> console log right before the GM_openInTab call before crashing.
>
> Thanks,
> Dave
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "greasemonkey-users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/greasemonkey-users/ixgRgksIpQw/unsubscribe
> .
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/greasemonkey-users/4a856abd-68a2-41c3-b3ab-dc0eb42bb3bfn%40googlegroups.com
> <https://groups.google.com/d/msgid/greasemonkey-users/4a856abd-68a2-41c3-b3ab-dc0eb42bb3bfn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"greasemonkey-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/greasemonkey-users/CADovCF1KJSYRMrzRgB_%2BZruREf%2BBV-i8mOemVmGWs%3D6oLN%2BoyQ%40mail.gmail.com.

Reply via email to