0107: Running Pi-Hole Ad-Blocker in a VirtualBox VM
This commit is contained in:
parent
abe2517e91
commit
8ca5503e26
1 changed files with 9 additions and 5 deletions
14
0107.html
14
0107.html
|
@ -33,9 +33,13 @@
|
|||
$(document).on('click','input.copy-text',function(){
|
||||
theButton = $(this);
|
||||
$('input.copy-text').attr('src','images/clipboard.png');
|
||||
$('span.copy-animation').removeClass('copy-animation');
|
||||
$('span.copy-animation,span.copy-animation-ps').removeClass('copy-animation copy-animation-ps');
|
||||
try {
|
||||
$('#'+ theButton.attr('rel')).addClass('copy-animation');
|
||||
if($('#'+ theButton.attr('rel')).parent('div').hasClass('PS')){
|
||||
$('#'+ theButton.attr('rel')).addClass('copy-animation-ps');
|
||||
} else {
|
||||
$('#'+ theButton.attr('rel')).addClass('copy-animation');
|
||||
}
|
||||
navigator.clipboard.writeText(theButton.data('clipboard-text').replace(/<[^>]*>?/gm, ''));
|
||||
theButton.attr('src','images/clipboard_active.png');
|
||||
} catch(err) {
|
||||
|
@ -57,8 +61,8 @@
|
|||
});
|
||||
|
||||
if(window.self !== window.top){
|
||||
window.parent.$('iframe.stepsFrame').height((this['scrollingElement']['scrollHeight']+20) +'px');
|
||||
}
|
||||
window.parent.$('iframe.stepsFrame').height((this['scrollingElement']['scrollHeight']+20) +'px');
|
||||
}
|
||||
});
|
||||
</script>
|
||||
<link href="css/steps.css" rel="stylesheet" type="text/css" />
|
||||
|
@ -154,7 +158,7 @@
|
|||
</li>
|
||||
<li>Enter and confirm the new password</li>
|
||||
<li>Click the Applications button > Internet > Chromium Web Browser</li>
|
||||
<li>Navigate to http://<vm ip="" name="" or="">localhost/admin</vm></li>
|
||||
<li>Navigate to http://DNSorIP/admin</vm></li>
|
||||
<li>Click Login</li>
|
||||
<li>Authenticate with the admin password</li>
|
||||
</ol>
|
||||
|
|
Loading…
Add table
Reference in a new issue