add local adapter
support multi platforms to open url
fix