Remove "Do you want to be redirected instantly?" text in "Before navigate unsafe" case
This commit is contained in:
parent
111b377eaf
commit
4df50ffc9c
@ -12,7 +12,7 @@
|
||||
<p data-message="beforeNavigateDestination"></p>
|
||||
<div id="unsafe" class="uk-alert uk-alert-danger uk-hidden"><p data-message="beforeNavigateUnsafe"></p></div>
|
||||
<div id="timer" class="uk-alert uk-alert-primary uk-hidden"><p></p></div>
|
||||
<p><span data-message="beforeNavigateOptions"></span> <a href="options.html#option-navigation-delay" target="_blank" data-message="optionsLink"></a></p>
|
||||
<p id="options-link"><span data-message="beforeNavigateOptions"></span> <a href="options.html#option-navigation-delay" target="_blank" data-message="optionsLink"></a></p>
|
||||
</div>
|
||||
<script src="i18n.js"></script>
|
||||
<script src="before-navigate.js"></script>
|
||||
|
@ -24,6 +24,7 @@ if(args.has("target"))
|
||||
if(args.has("safe_in"))
|
||||
{
|
||||
document.getElementById("unsafe").classList.remove("uk-hidden")
|
||||
document.getElementById("options-link").classList.add("uk-hidden")
|
||||
timer("beforeNavigateUnsafeTimer",args.get("safe_in"),false,when_safe)
|
||||
}
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user