PageSourceSearch

https://www.freesoft.org/blogs/soapbox/wp-content/plugins/wp-quicklatex/js/wp-quicklatex-frontend.js?ver=1.0

js freesoft.org collected 2026-09-24 08:32:15 UTC 619 bytes, 14 lines download raw bytes

1jQuery(document).ready(function($) {
2
3  // Detect if SVG possible in <img> tags
4  var testImg = 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNzUiIGhlaWdodD0iMjc1Ij48L3N2Zz4%3D';
5  var img = document.createElement('img')
6  img.setAttribute('src',testImg);
7  
8  // This event handler is never called in browsers without SVG support
9  img.addEventListener('load',function() {
10		// Iterate through all <img> and replace png -> svg  
11		$('img.quicklatex-auto-format').attr('src', function() { return $(this).attr('src').replace('.png', '.svg'); })  
12  },true);
13
14});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.