# Webview Method(only Mobile)

SafePal provides some public methods for Dapp to interact with the wallet. you can copy this url to the SafePal DApp search bar, and try it.

# isSafePal

// check the UserAgent include "SafePal"
var isSafePal = navigator.userAgent.indexOf('SafePal') > 0;
// check the var
var isSafePal = window.isSafePal;
1
2
3
4

For more detailed document, please refer to the Extension Wallet