Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions public/js/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -631,4 +631,19 @@ jQuery(function () {
processMovablePart1();
e.preventDefault();
});
var searchParams = new URLSearchParams(location.search);
if(searchParams.has("nowarning")) {
localStorage.setItem("dismissedWarning","true");
} else if(localStorage.getItem("dismissedWarning") != "true") {
jQuery("#outdatedModal").modal({keyboard: false, backdrop: 'static'});
let closeWarning = jQuery('#closeWarning');
setTimeout(function(){
closeWarning.css({"opacity":"1"});
closeWarning.removeAttr("disabled");
closeWarning.tooltip({title:"Only continue if you know what you're doing!"});
closeWarning.click(function(){
localStorage.setItem("dismissedWarning","true");
});
},10000);
}
});
2 changes: 1 addition & 1 deletion src/Badges/ManualMiningPTSDBadge.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

class ManualMiningPTSDBadge extends BaseBadge
{
public $description = 'Awarded for beeing active in the manual mining days.';
public $description = 'Awarded for being active in the manual mining days.';
public $title = 'Manual Mining PTSD';

protected function registerEventListeners()
Expand Down
43 changes: 15 additions & 28 deletions up.html
Original file line number Diff line number Diff line change
Expand Up @@ -388,28 +388,26 @@ <h5 class="mb-0">

</main>

<div class="modal fade" id="vguideModal" tabindex="-1" role="dialog" aria-labelledby="vguideModalLabel" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal fade" id="outdatedModal" tabindex="-1" role="dialog" aria-labelledby="outdatedModalLabel" aria-hidden="true">
<div class="modal-dialog modal-lg modal-dialog-centered" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="vguideModalLabel">You seem to come from a Video Guide</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
<h5 class="modal-title" id="outdatedModalLabel">Outdated Guide</h5>
</div>
<div class="modal-body">
<p><b>Why you should not use video guides:</b></p>
<ul>
<li>They get outdated quickly</li>
<li>Tough to update and give assistance for</li>
<li>Can be misinformative and dangerous for the console</li>
</ul>
<p><b>Recommended Solution</b></p>
<p>Read a trusted written tutorial. We recommend <a href="https://3ds.hacks.guide" target="_blank">3ds.hacks.guide</a>, If you require help with any of the steps,
come visit us on <a href="https://discord.gg/C29hYvh" target="_blank">Discord</a> and we will help you through the process</p>
<p><b>The guide that linked you to this page is likely outdated.</b></p>
<p>
Are you currently attempting to mod your console? <b><u>STOP!</u></b><br>
You should <b>only</b> be following the official written guide: <a href="https://3ds.hacks.guide/">3ds.hacks.guide</a>.
</p>
<p>
If you are using this for some other reason (i.e. data recovery), you should check with the Discord server linked below before continuing.<br>
You should only continue if you know <b>exactly</b> what you are doing. In that case, you can close this popup after 30 seconds.
</p>
<p>Have any questions? Join the <a href="https://discord.gg/C29hYvh" target="_blank">Nintendo Homebrew Discord server</a> and ask in #3ds-assistance-1.</p>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
<button type="button" class="btn btn-danger" id="closeWarning" data-placement="top" data-dismiss="modal" style="opacity:0;transition: opacity 1s;" disabled>Close</button>
</div>
</div>
</div>
Expand Down Expand Up @@ -461,7 +459,7 @@ <h5 class="modal-title" id="unmineableModalTitle">We were unable to successfully
<p>If you are sure your id0 was correct, you will need to format your console from <span style="color: white">System Settings > Other Settings > System Format</span> in order to use *miner methods. Once your system is formatted, you should begin the whole process again.
Formatting your system will remove <b>all</b> of your user data, including installed <b>digital games, saves</b>, NNID details, themes and other non-system files.
Once you log back into your NNID, you will be able to redownload any purchases you have made, including games and themes.
You can <b>NOT</b> recover your digital game saves unless you have an existing homebrew entry point. <sub>If you do not know what this is, you do not have one.</sub
You can <b>NOT</b> recover your digital game saves unless you have an existing homebrew entry point. <sub>If you do not know what this is, you do not have one.</sub>
</p>
<p>If formatting does not solve the issue, or if you wish to preserve your data, you can attempt an <a href="https://3ds.hacks.guide/get-started#alternate-methods" rel="noreferrer" target="_blank">alternate method</a> from the 3ds.hacks.guide site.</p>
<p>If you require help with this information, please feel free to ask in the assistance channels on the Nintendo Homebrew Discord server.
Expand All @@ -478,15 +476,4 @@ <h5 class="modal-title" id="unmineableModalTitle">We were unable to successfully
<script src="/js/popper.min.js"></script>
<script src="/js/bootstrap.min.js"></script>
<script src="/js/script.js"></script>
<script>
jQuery(function () {
if (document.referrer.match(/^https?:\/\/([^\/]+\.)?youtube\.com(\/|$)/i) ||
document.referrer.match(/^https?:\/\/([^\/]+\.)?jacksorrell\.tv(\/|$)/i) ||
document.referrer.match(/^https?:\/\/([^\/]+\.)?youtu\.be(\/|$)/i) ||
document.referrer.match(/^https?:\/\/([^\/]+\.)?antonretro\.com(\/|$)/i)) {
jQuery('#vguideModal').modal();
}

});
</script>
{% endblock %}
43 changes: 15 additions & 28 deletions views/home/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -388,28 +388,26 @@ <h5 class="mb-0">

</main>

<div class="modal fade" id="vguideModal" tabindex="-1" role="dialog" aria-labelledby="vguideModalLabel" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal fade" id="outdatedModal" tabindex="-1" role="dialog" aria-labelledby="outdatedModalLabel" aria-hidden="true">
<div class="modal-dialog modal-lg modal-dialog-centered" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="vguideModalLabel">You seem to come from a Video Guide</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
<h5 class="modal-title" id="outdatedModalLabel">Outdated Guide</h5>
</div>
<div class="modal-body">
<p><b>Why you should not use video guides:</b></p>
<ul>
<li>They get outdated quickly</li>
<li>Tough to update and give assistance for</li>
<li>Can be misinformative and dangerous for the console</li>
</ul>
<p><b>Recommended Solution</b></p>
<p>Read a trusted written tutorial. We recommend <a href="https://3ds.hacks.guide" target="_blank">3ds.hacks.guide</a>, If you require help with any of the steps,
come visit us on <a href="https://discord.gg/C29hYvh" target="_blank">Discord</a> and we will help you through the process</p>
<p><b>The guide that linked you to this page is likely outdated.</b></p>
<p>
Are you currently attempting to mod your console? <b><u>STOP!</u></b><br>
You should <b>only</b> be following the official written guide: <a href="https://3ds.hacks.guide/">3ds.hacks.guide</a>.
</p>
<p>
If you are using this for some other reason (i.e. data recovery), you should check with the Discord server linked below before continuing.<br>
You should only continue if you know <b>exactly</b> what you are doing. In that case, you can close this popup after 10 seconds.
</p>
<p>Have any questions? Join the <a href="https://discord.gg/C29hYvh" target="_blank">Nintendo Homebrew Discord server</a> and ask in #3ds-assistance-1.</p>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
<button type="button" class="btn btn-danger" id="closeWarning" data-placement="top" data-dismiss="modal" style="opacity:0;transition: opacity 1s;" disabled>Close</button>
</div>
</div>
</div>
Expand Down Expand Up @@ -461,7 +459,7 @@ <h5 class="modal-title" id="unmineableModalTitle">We were unable to successfully
<p>If you are sure your id0 was correct, you will need to format your console from <span style="color: white">System Settings > Other Settings > System Format</span> in order to use *miner methods. Once your system is formatted, you should begin the whole process again.
Formatting your system will remove <b>all</b> of your user data, including installed <b>digital games, saves</b>, NNID details, themes and other non-system files.
Once you log back into your NNID, you will be able to redownload any purchases you have made, including games and themes.
You can <b>NOT</b> recover your digital game saves unless you have an existing homebrew entry point. <sub>If you do not know what this is, you do not have one.</sub
You can <b>NOT</b> recover your digital game saves unless you have an existing homebrew entry point. <sub>If you do not know what this is, you do not have one.</sub>
</p>
<p>If formatting does not solve the issue, or if you wish to preserve your data, you can attempt an <a href="https://3ds.hacks.guide/get-started#alternate-methods" rel="noreferrer" target="_blank">alternate method</a> from the 3ds.hacks.guide site.</p>
<p>If you require help with this information, please feel free to ask in the assistance channels on the Nintendo Homebrew Discord server.
Expand All @@ -478,15 +476,4 @@ <h5 class="modal-title" id="unmineableModalTitle">We were unable to successfully
<script src="/js/popper.min.js"></script>
<script src="/js/bootstrap.min.js"></script>
<script src="/js/script.js"></script>
<script>
jQuery(function () {
if (document.referrer.match(/^https?:\/\/([^\/]+\.)?youtube\.com(\/|$)/i) ||
document.referrer.match(/^https?:\/\/([^\/]+\.)?jacksorrell\.tv(\/|$)/i) ||
document.referrer.match(/^https?:\/\/([^\/]+\.)?youtu\.be(\/|$)/i) ||
document.referrer.match(/^https?:\/\/([^\/]+\.)?antonretro\.com(\/|$)/i)) {
jQuery('#vguideModal').modal();
}

});
</script>
{% endblock %}
3 changes: 3 additions & 0 deletions views/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@
box-shadow: 0 0 5px #ee5f5b;
}
}
.modal-backdrop.show {
opacity: 0.9!important;
}
</style>
<meta name="theme-color" content="#2a9fd6" />
<link href="data:image/x-icon;base64,AAABAAEAEBAQAAEABAAoAQAAFgAAACgAAAAQAAAAIAAAAAEABAAAAAAAgAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAATeu0AAa/fwAX45wAh/XOAK2c/wCMe/8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACIiIiIiIAACMzMzMzMyACQRERERETMgJBEREREREyAkERERERETICQRERERERMgJBEREREREyAkEREAARETICRVEBEQFVMgJFUREREVUyAkABEiIRADICQAEgACEAMgJERCAAIREyACIiAGACIiAAAAAGZgAAAAAAAAYGAAAADABwAAgAMAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAOBAAADgQAAhsMAAPx/AAD9fwAA" rel="icon" type="image/x-icon" />
Expand Down