Codebox Syntax Highlighting

Discuss issues and requests related with the forum software
User avatar
TheDewd
Posts: 1334
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...
Image Bulldozer - Sokoban inspired game from 1994 recreated in AutoHotkey.
User avatar
joedf
Posts: 7245
Joined: 29 Sep 2013, 17:08
Facebook: J0EDF
Google: +joedf
GitHub: joedf
Location: Canada
Contact:

Re: Codebox Syntax Highlighting

03 Jun 2019, 15:39

darn it....
Does this appear correctly for you? :think:
https://www.autohotkey.com/boards/viewtopic.php?p=279454#p279454
Image Image Image Image Image
Windows 10 x64 Professional, Intel i5-8500 @ 4.00 GHz, 2x8GB DDR4 3143 MHz, NVIDIA GTX 1060 6GB | [About Me] | [ASPDM - StdLib Distribution]
[Populate the AHK MiniCity!] | [Qonsole - Quake-like console emulator] | [LibCon - Autohotkey Console Library] | [About the AHK Foundation]
User avatar
TheDewd
Posts: 1334
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 694 times
JoeDF.png
Mozilla Firefox (Quantum) 67.0 (64-bit)
JoeDF.png (36.6 KiB) Viewed 703 times
Image Bulldozer - Sokoban inspired game from 1994 recreated in AutoHotkey.
User avatar
joedf
Posts: 7245
Joined: 29 Sep 2013, 17:08
Facebook: J0EDF
Google: +joedf
GitHub: joedf
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 @ 4.00 GHz, 2x8GB DDR4 3143 MHz, NVIDIA GTX 1060 6GB | [About Me] | [ASPDM - StdLib Distribution]
[Populate the AHK MiniCity!] | [Qonsole - Quake-like console emulator] | [LibCon - Autohotkey Console Library] | [About the AHK Foundation]
User avatar
TheDewd
Posts: 1334
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. :-)
Image Bulldozer - Sokoban inspired game from 1994 recreated in AutoHotkey.
swagfag
Posts: 2912
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: 1334
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.
Image Bulldozer - Sokoban inspired game from 1994 recreated in AutoHotkey.
User avatar
joedf
Posts: 7245
Joined: 29 Sep 2013, 17:08
Facebook: J0EDF
Google: +joedf
GitHub: joedf
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 @ 4.00 GHz, 2x8GB DDR4 3143 MHz, NVIDIA GTX 1060 6GB | [About Me] | [ASPDM - StdLib Distribution]
[Populate the AHK MiniCity!] | [Qonsole - Quake-like console emulator] | [LibCon - Autohotkey Console Library] | [About the AHK Foundation]

Return to “Forum Issues”

Who is online

Users browsing this forum: No registered users and 11 guests