sVim icon indicating copy to clipboard operation
sVim copied to clipboard

Can't blacklist draw.io website

Open nikivdev opened this issue 8 years ago • 3 comments

I have this in my svimrc :

let blacklists = ["*://codepen.io/*", "*://draw.io/*", "*://*slack.com/*", "*://codesandbox.io/*", "*://codewars.com/*", "*://discordapp.com/*"]

However going to draw.io still doesn't turn off sVim for me. Not really sure why.

nikivdev avatar Oct 14 '17 16:10 nikivdev

Try to add "www" in front of the domain name, like this: "*://www.draw.io/*"

chelovek0v avatar Oct 31 '17 07:10 chelovek0v

I can't blacklist any websites, testing with:

let blacklists = ["://*youtube.com*"]

I tried all different combinations including with "www.", testing each time by opening a new tab and navigating to a youtube page and entering insert mode, seeing the mode indicator. It is the only line in my sVimrc, so I can't see how it could be a syntax error. sVim 1.0.7 Safari 12.1

CallumHoward avatar Apr 22 '19 05:04 CallumHoward

@CallumHoward I just tried with let blacklists = ["*://*youtube.com/*"] and it seems to work, let me know if it works on your end.

@nikitavoloboev similarly for draw.io let blacklists = [ "*://*draw.io/*"]

(I know this is a very old issue, but I've been browsing all the open ones)

rk1 avatar Jan 21 '20 12:01 rk1