summaryrefslogtreecommitdiff
path: root/extensions/userscripts
diff options
context:
space:
mode:
authorportix <portix@gmx.net>2013-04-17 13:04:11 +0200
committerportix <portix@gmx.net>2013-04-17 13:04:11 +0200
commit47db632b797e7c7072e9bc779bee1caba290c768 (patch)
tree1b1368d2f0e1b0ad8721a409c90312de363b73c8 /extensions/userscripts
parentada7b7aa134261f117720df6100586247550e8cd (diff)
downloaddwb-47db632b797e7c7072e9bc779bee1caba290c768.zip
Print error if no scripts were found in userscripts
Diffstat (limited to 'extensions/userscripts')
-rw-r--r--extensions/userscripts4
1 files changed, 4 insertions, 0 deletions
diff --git a/extensions/userscripts b/extensions/userscripts
index 2f18663a..70e811a1 100644
--- a/extensions/userscripts
+++ b/extensions/userscripts
@@ -500,6 +500,10 @@ function userscriptsStart()
Signal.connect("documentLoaded", loadFinishedCallback);
ret = true;
}
+ if (ret == false)
+ {
+ extensions.error(me, "No scripts found, place scripts in $XDG_CONFIG_HOME/.config/dwb/greasemonkey");
+ }
//metaData = {};
//onStart.concat(onEnd).forEach(function (v, k, obj) {
// var o = {