'How to get localstorage items from from redirected url

I want to take localstorage items from the second url..

enter image description here



Solution 1:[1]

If you know the name where the data is stored you can use JS in your console. For example:

console.log( localStorage.getItem('name') ); But you can get the data only from the current site where you are visited.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Maik Lowrey