Skip to content

Commit

Permalink
Reduced unblock request delay from 5 to 1 second
Browse files Browse the repository at this point in the history
  • Loading branch information
roenw committed Sep 11, 2020
1 parent 17ca8b2 commit e679245
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 10 deletions.
9 changes: 1 addition & 8 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion blockpage/unblock/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@
sleep(1);
echo <<<EOL
<script>
setTimeout(function() {document.getElementById('interstitialUnblock').submit();}, 5000);
setTimeout(function() {document.getElementById('interstitialUnblock').submit();}, 1000);
</script>
EOL;
}
Expand Down
2 changes: 1 addition & 1 deletion config-sample.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ function get_config($section, $defaultValue) {
// In most cases this does not have to be changed. Only change it if your
// unblock page resides in a sub-path which is not "unblock"

$conf['safeurl'] = get_config('safeurl', "about:home");
$conf['safeurl'] = get_config('safeurl', "about:blank");
// Enter a URL of your choice to go to when a user clicks "back to safety"
// This should not be a directory.

Expand Down

0 comments on commit e679245

Please sign in to comment.