# Vtimes chrome integration

## Install the Vtimes

Search for "Vtimes" in the chrome app store

![](https://files.readme.io/249157b-iShot2021-10-20_19.53.25.png)

Click to enter the plug-in details to install

![](https://files.readme.io/929cf07-iShot2021-10-20_19.55.31.png)

## Log in to the Vtimes wallet to complete the visionweb integration

![](https://files.readme.io/ca7e750-iShot2021-10-20_19.58.29.png)

VisionWeb instance visionweb integrated into the browser code example

visionweb

```javascript
_bindVisionWeb() {
        if(window.visionWeb !== undefined)
            logger.warn('VisionWeb is already initiated. Vtimes will overwrite the current instance');

        const visionWeb = new VisionWeb(
            new ProxiedProvider(),
            new ProxiedProvider(),
            new ProxiedProvider()
        );
        visionWeb.extension = {}; //add a extension object for black list
        visionWeb.extension.setVisited=(href)=>{
            this.setVisited(href);
        };
        this.proxiedMethods = {
            setAddress: visionWeb.setAddress.bind(visionWeb),
            sign: visionWeb.vs.sign.bind(visionWeb)
        };
        visionWeb.vs.sign = (...args) => (
            this.sign(...args)
        );
        window.visionWeb = visionWeb;
    },
```

Use the injected visionweb instance directly on the browser side

JavaScript

```javascript
let visionweb = window.visionweb
```
