Revert "Remove isBrowser for paramsSafe"

This reverts commit c78b6237dca5740a8910b9783ca184ba7fa2364c.