Look at LSB init scripts for more information.
Copy to /etc/init.d:
# replace "$YOUR_SERVICE_NAME" with your service's name (whenever it's not enough obvious)| // ==UserScript== | |
| // @name Userscript Name | |
| // @namespace http://example.com/ | |
| // @description Userscript Description | |
| // @match http://example.com/* (or @include * to include all pages) | |
| // @version 1.0 | |
| // ==/UserScript== | |
| // Emulate Greasemonkey's unsafeWindow in Chrome | |
| window.unsafeWindow = window.unsafeWindow || (function() { |
Look at LSB init scripts for more information.
Copy to /etc/init.d:
# replace "$YOUR_SERVICE_NAME" with your service's name (whenever it's not enough obvious)