mirror of
https://github.com/rkd77/elinks.git
synced 2025-01-03 14:57:44 -05:00
SMJS: Add reload() function to reload hooks.js
This commit is contained in:
parent
eced76116d
commit
40a0152ed3
@ -78,5 +78,9 @@ function block_pr0n(uri) {
|
|||||||
}
|
}
|
||||||
elinks.follow_url_hooks.push(block_pr0n);
|
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_bookmarks.js');
|
||||||
do_file(elinks.home + 'smartprefixes_classic.js');
|
do_file(elinks.home + 'smartprefixes_classic.js');
|
||||||
|
Loading…
Reference in New Issue
Block a user