Code syntax highlighting in the WordPress plugin，I prefer the syntax highlighter for this，But this plugin will be a problem in the course of，That's it for each language individually write js script，The result was the number of reception load a maximum of 30 js much! Some say this country，For foreign blog for this is simply deadly。
We use a number of related tools，The analysis of the page，Js file path is to find these plugins directorysyntaxhighlighter3/scripts中
This time we wanted to，There can remove these default settings can be loaded script file，Some way is to use the online plug-in or manually merging them，In fact a temporary solution while reducing the number of script，It has greatly increased the capacity of a single script。Is there a way to make it when you need to load it?
As shown in FIG，We "Load ALL Brushes" to remove the hook，So it will not load all of the default language files
In the actual use of them，It will be based on our labels or add lang statement to choose to load one or more script files，So there is no script highlighting 30+ 10+ expansion in addition to highlighting script appears in front of the problem。
Original article written by Gerber drop-off：R0uter's Blog » WP syntax highlighting widget syntaxhighlighter cause excessive number of reception js
Reproduced Please keep the source and description link：https://www.logcg.com/archives/549.html