---
title: "Deprecation: #95011 - Various global JavaScript functions and variables"
manual: "TYPO3 Core Changelog"
version: "main"
permalink: "https://docs.typo3.org/permalink/changelog:deprecation-95011"
source: "Changelog/11.4/Deprecation-95011-VariousGlobalJavaScriptFunctionsAndVariables.rst"
typo3-version: "11.4"
typo3-major: 11
type: "deprecation"
issue: 95011
forge: "https://forge.typo3.org/issues/95011"
tags: ["Backend", "JavaScript", "NotScanned", "ext:backend"]
rendered: "2026-09-25T23:17:45+00:00"
---

# Deprecation: #95011 - Various global JavaScript functions and variables {#deprecation-95011}

See [forge#95011](https://forge.typo3.org/issues/95011)

## Description {#description}

The following globally available variables in TYPO3 Backend's JavaScript code have been marked as deprecated:

-   `top.currentSubScript`
-   `top.currentModuleLoaded`
-   `top.nextLoadModuleUrl`

In addition the global JavaScript function `jump()` has
been marked as deprecated as well.

This functionality has been around for a very long time, and
is superseded by TYPO3's Module Menu Component (since 4.5) and the newly introduced Backend Routing Component in JavaScript
since TYPO3 v11.

## Impact {#impact}

The variables will work and be filled as expected in TYPO3 v11, but will not be available anymore in TYPO3 v12.

Calling `jump()` will trigger a JavaScript warning in ones'
browser console.

## Affected Installations {#affected-installations}

TYPO3 installations with custom extensions which utilize Backend
JavaScript and using the legacy functionality, which is highly
unlikely.

## Migration {#migration}

Use the ModuleMenu JavaScript API or the Router API to find out the current module or go to a specific route:

```js
const router = document.querySelector('typo3-backend-module-router');
router.setAttribute('endpoint', url);
router.setAttribute('module', moduleName);
```
