The inject script is now always injected at the end of the body. But when using Turbo Drive for example, and listening to the turbo:load event, this scripts gets added multiple times because the body is re-evaluated - and thus multiple requests are made when browsing around (and keeps getting worse). I'd rather see this script in the head section. Would be nice if it could be configured.
Feature Request
The inject script is now always injected at the end of the body. But when using Turbo Drive for example, and listening to the
turbo:load
event, this scripts gets added multiple times because the body is re-evaluated - and thus multiple requests are made when browsing around (and keeps getting worse). I'd rather see this script in thehead
section. Would be nice if it could be configured.Plugin Version
4.13