mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -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);
|
||||
|
||||
function reload() {
|
||||
do_file(elinks.home + 'hooks.js');
|
||||
}
|
||||
|
||||
do_file(elinks.home + 'smartprefixes_bookmarks.js');
|
||||
do_file(elinks.home + 'smartprefixes_classic.js');
|
||||
|
Loading…
Reference in New Issue
Block a user