Page 1 of 1

Codebox Syntax Highlighting

Posted: 03 Jun 2019, 07:40
by TheDewd
The syntax highlighting and documentation command linking is not working for Codebox using AutoHotkey setting...

Re: Codebox Syntax Highlighting

Posted: 03 Jun 2019, 15:39
by joedf
darn it....
Does this appear correctly for you? :think:
https://www.autohotkey.com/boards/viewtopic.php?p=279454#p279454

Re: Codebox Syntax Highlighting

Posted: 03 Jun 2019, 15:55
by TheDewd
joedf wrote:
03 Jun 2019, 15:39
Does this appear correctly for you?
No. It appears that only Mozilla Firefox (Quantum) 67.0 (64-bit) is affected on my system, which is unfortunate because it's my preferred web browser.

Microsoft Windows 10 Enterprise 10.0.17134 Build 17134

I just tested Internet Explorer, Edge, and Google Chrome which all work fine!

Re: Codebox Syntax Highlighting

Posted: 03 Jun 2019, 17:38
by joedf
I just tested with FF67, and got no highlighting... I found out for some reason uBlock Origin was blocking prism.js... After whitelisting autohotkey, everything is fine...
Do you have an adblocker or something that could be blocking prism.js from being loaded?

Re: Codebox Syntax Highlighting

Posted: 03 Jun 2019, 17:50
by TheDewd
joedf wrote:
03 Jun 2019, 17:38
Do you have an adblocker or something that could be blocking prism.js from being loaded?
Adblock Plus. I'll try whitelisting it tomorrow when I go back to work, and I'll reply here with the results. Thanks for investigating. :-)

Re: Codebox Syntax Highlighting

Posted: 03 Jun 2019, 17:54
by swagfag
huh, u right. it does work if u switch it off

Re: Codebox Syntax Highlighting

Posted: 04 Jun 2019, 07:57
by TheDewd
I whitelisted "https://www.autohotkey.com/boards/assets/prism/prism.js" in Adblock Plus.

The Codebox is working again! Thank you! :-)

prism.js was blocked due to the "EasyPrivacy" filter list.

Re: Codebox Syntax Highlighting

Posted: 04 Jun 2019, 08:22
by joedf
Great! thanks for the info! :+1: