Closed gryftir closed 10 years ago
I'll add this to the README in a bit, but basically:
// ==UserScript==
// @name My Fancy New Userscript
// @namespace http://use.i.E.your.homepage/
// @version 0.1
// @description enter something useful
// @match http://127.0.0.1:8080/*
// @match http://localhost:8080/*
// @match http://localhost:8300/*
// @copyright 2012+, You
// ==/UserScript==
var s = document.createElement("script");
s.src= "http://127.0.0.1:9001/js/socket.js";
document.body.appendChild(s);
Replace the @match
es with whatever your local server happens to be
I ended up going with the following instead of those @match ones, and finally got it working. // @include http://127.0.0.1:80 //@include http://localhost:80 //@include http://localhost:80_/_ // @include http://127.0.0.1:80/
About Me: http://about.me/lawrencesiebert Constantly Coding: http://constantcoding.blogspot.com
On Wed, Sep 3, 2014 at 4:57 AM, Jonathan Warner notifications@github.com wrote:
Replace the @matches https://github.com/matches with whatever your local server happens to be
— Reply to this email directly or view it on GitHub https://github.com/jaxbot/browserlink.vim/issues/28#issuecomment-54285844 .
Awesome, can I close this?
Sure
About Me: http://about.me/lawrencesiebert Constantly Coding: http://constantcoding.blogspot.com
On Wed, Sep 3, 2014 at 6:43 AM, Jonathan Warner notifications@github.com wrote:
Awesome, can I close this?
— Reply to this email directly or view it on GitHub https://github.com/jaxbot/browserlink.vim/issues/28#issuecomment-54298378 .
Still having issues adding a user script to chrome for brolink to render. Would love a step by step guide.