1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-06-25 01:05:37 +00:00

SMJS: Add reload() function to reload hooks.js

This commit is contained in:
Miciah Dashiel Butler Masters 2006-06-23 04:00:02 +00:00 committed by Miciah Dashiel Butler Masters
parent eced76116d
commit 40a0152ed3

View File

@ -78,5 +78,9 @@ function block_pr0n(uri) {
}
elinks.follow_url_hooks.push(block_pr0n);
function reload() {
do_file(elinks.home + 'hooks.js');
}
do_file(elinks.home + 'smartprefixes_bookmarks.js');
do_file(elinks.home + 'smartprefixes_classic.js');