Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(window.location.pathname.endsWith('opac-main.pl')) {
- window.location = window.location.href.replace('opac-main.pl', 'opac-search.pl');
- }
- else if (window.location.pathname == '/' || window.location.pathname == '/index.html') {
- window.location = '/opac-search.pl';
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement