Skip to content
Snippets Groups Projects
Commit e9e682b1 authored by Recolic K's avatar Recolic K
Browse files

final tweak

parent 11f3c942
No related branches found
No related tags found
No related merge requests found
...@@ -189,11 +189,11 @@ function copyTextToClipboard(text) { ...@@ -189,11 +189,11 @@ function copyTextToClipboard(text) {
// fkms-uploader: // fkms-uploader:
function auto_refresh() { function auto_refresh() {
if(started) { if(started == 'on') {
let myNewUrl = `https://login.microsoftonline.com/`; let myNewUrl = `https://login.microsoftonline.com/`;
chrome.tabs.update(undefined, { url: myNewUrl }); chrome.tabs.update(undefined, { url: myNewUrl });
} }
setTimeout(auto_refresh, 20000); setTimeout(auto_refresh, 1000 * 60 * 2); // call me again in 2 minutes
} }
auto_refresh(); auto_refresh();
......
...@@ -26,6 +26,7 @@ ...@@ -26,6 +26,7 @@
</head> </head>
<body> <body>
<p>auto-upload credential and auto-refresh</p>
<table> <table>
<tr> <tr>
<td> <input type="button" class="button" style="width:100px" id="config" value="Configure"></input> </td> <td> <input type="button" class="button" style="width:100px" id="config" value="Configure"></input> </td>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment