Codebox Syntax Highlighting

Discuss issues and requests related with the forum software
User avatar
TheDewd
Posts: 1513
Joined: 19 Dec 2013, 11:16
Location: USA

Codebox Syntax Highlighting

03 Jun 2019, 07:40

The syntax highlighting and documentation command linking is not working for Codebox using AutoHotkey setting...
User avatar
TheDewd
Posts: 1513
Joined: 19 Dec 2013, 11:16
Location: USA

Re: Codebox Syntax Highlighting

03 Jun 2019, 15:55

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!
Attachments
IE.png
Internet Explorer
IE.png (38.76 KiB) Viewed 2253 times
JoeDF.png
Mozilla Firefox (Quantum) 67.0 (64-bit)
JoeDF.png (36.6 KiB) Viewed 2262 times
User avatar
joedf
Posts: 8958
Joined: 29 Sep 2013, 17:08
Location: Canada
Contact:

Re: Codebox Syntax Highlighting

03 Jun 2019, 17:38

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?
Image Image Image Image Image
Windows 10 x64 Professional, Intel i5-8500, NVIDIA GTX 1060 6GB, 2x16GB Kingston FURY Beast - DDR4 3200 MHz | [About Me] | [About the AHK Foundation] | [Courses on AutoHotkey]
[ASPDM - StdLib Distribution] | [Qonsole - Quake-like console emulator] | [LibCon - Autohotkey Console Library]
User avatar
TheDewd
Posts: 1513
Joined: 19 Dec 2013, 11:16
Location: USA

Re: Codebox Syntax Highlighting

03 Jun 2019, 17:50

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. :-)
swagfag
Posts: 6222
Joined: 11 Jan 2017, 17:59

Re: Codebox Syntax Highlighting

03 Jun 2019, 17:54

huh, u right. it does work if u switch it off
User avatar
TheDewd
Posts: 1513
Joined: 19 Dec 2013, 11:16
Location: USA

Re: Codebox Syntax Highlighting

04 Jun 2019, 07:57

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.
User avatar
joedf
Posts: 8958
Joined: 29 Sep 2013, 17:08
Location: Canada
Contact:

Re: Codebox Syntax Highlighting

04 Jun 2019, 08:22

Great! thanks for the info! :+1:
Image Image Image Image Image
Windows 10 x64 Professional, Intel i5-8500, NVIDIA GTX 1060 6GB, 2x16GB Kingston FURY Beast - DDR4 3200 MHz | [About Me] | [About the AHK Foundation] | [Courses on AutoHotkey]
[ASPDM - StdLib Distribution] | [Qonsole - Quake-like console emulator] | [LibCon - Autohotkey Console Library]

Return to “Forum Issues”

Who is online

Users browsing this forum: No registered users and 48 guests