Here is a quick demo for AccWeb:
-
- Open
Predictor Extension
directory
- Open
-
- Open background.js and uncomment the line 3
var prediction_dict = {"g":[{url:"https://www.google.com/", hit_count:10, miss_count:0}]};
- Open background.js and uncomment the line 3
-
- Open Google Chrome, type
chrome://extensions/
and enableDeveloper mode
- Open Google Chrome, type
-
- Load unpacked extension and choose
Predictor Extension
directory
- Load unpacked extension and choose
-
- SSH to the remote server
ssh -i "COS561.pem" -X ubuntu@ec2-54-167-38-140.compute-1.amazonaws.com
and the public keyCOS561.pem
is in thebackend
directory. You can use your own servers, but you do need to change theserver_address
in the background.js file.
- SSH to the remote server
-
- cd
webserver
directory and typepython3 server.py
. A HTTP simple server should run.
- cd
-
- Load "www.google.com" in Chrome for multiple times. Servers get web resources from navigation.
-
- Clear browsing history of Chrome.
-
- In Chrome, type
omnix
and pressTAB
in address bar; this action enables clients to interact with Predictor Extension and typeg
.
- In Chrome, type
-
- Open
background page
inchrome://extensions
.
- Open
-
- In Network panel, you will find all resources related to
www.google.com
are fecthed.
- In Network panel, you will find all resources related to