-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathview.js
More file actions
20 lines (19 loc) · 713 Bytes
/
Copy pathview.js
File metadata and controls
20 lines (19 loc) · 713 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
if (localStorage.getItem("islocked") == "yes") {
var pass = prompt("Enter PassWord: ");
var spass = localStorage.getItem("lockedpass");
if (pass == spass) {
navigator.mozSetMessageHandler("activity", function (activityRequest) {
var option = activityRequest.source.data;
var activity_path = option.blob.name;
playVid(option.blob);
});
} else {
document.body.innerHTML = "Wrong Access. Hold End Key To Exit.";
}
} else {
navigator.mozSetMessageHandler("activity", function (activityRequest) {
var option = activityRequest.source.data;
var activity_path = option.blob.name;
playVid(option.blob);
});
}