People who code: we want your input. Take the Survey

TLDR; You have to start the http server (simple-http) and load your HTML files through it. For example, let's say you have a HTML file named hello.html and a JS script file named script.js in /home/user/Documents/javascript folder. hello.html: <!doctype html> <html> <head> <!-- Include skewer.js as a script --> <script ...


Instead of running the demo, just perform these minimal steps to ensure that everything is working correctly. Open a new buffer with the name myskewer.js Enable JS2-mode (a dependency of skewer) Enable skewer-mode M-xrun-skewer (a browser opens, go back to myskewer.js) Type alert("hello"); and hit C-xC-e at the end of that line Go back to the browser. You ...


Finally figured this out. Make sure that the following line is present in the greasemonkey script which you inject: // @include /^https?:/// That will enable skewering of every site. Now do a refresh of the the page. Now at the top right hand side of the window (firefox window) there will be a red triangle. Press on that triangle to inject the greasemonkey ...


An alternative to setting httpd-host to a hostname is to set it to an IP. You can use to bind to all local IP addresses. Try (setq httpd-host "") (it works for me).


In case port 8080 is already in use: you can configure skewer/simple-httpd to use another port by customizing the httpd-port variable. (M-x customize-variable<ret>httpd-port)

Only top voted, non community-wiki answers of a minimum length are eligible