0107: Running Pi-Hole Ad-Blocker in a VirtualBox VM

This commit is contained in:
i12bretro 2021-04-14 10:13:18 -04:00
parent abe2517e91
commit 8ca5503e26

View file

@ -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 &gt; Internet &gt; 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>