wallabag/themes/default/js/autoClose.js

6 lines
136 B
JavaScript

$(document).ready(function() {
current_url = window.location.href
if (current_url.match("&closewin=true")) {
window.close();
}
});