Launch to Web widgets

Hello everyone.

I have a question that I think is very simple for you.

When you approach an object with my character, press the E key will be written on the screen. When you move away from the object, this text will disappear.

But when the text is on the screen, pressing the E key will open a web page. In other words, the E key will not have a function anywhere in the game.

I tried with a video I watched on youtube but failed.

Will you help me with this problem?