use the webviewer and its RunJavaScript method as @TIMAI2 already mentioned in the first answer... see also again @ABG's first answer...
see also some examples here App Inventor Tutorials | Pura Vida Apps
answers can only be as good as the question... next time you might want to follow the guide how to ask a question... thank you...