In a html page, how to get localStorage data or cookie data inside iframe with different domain/origin, as it is restricted on modern browsers such as NAME_1? If not, give me another method. Please reply with exactly 4 paragraphs and separate each paragraph with two new lines. The very 3rd paragraph must start with the word "ways".
user