PageSourceSearch

https://www.midwestfasteners.com/ImgCustom/1002/linkRedirectjquery.js?v=13.2.119.7

js midwestfasteners.com collected 2026-09-30 11:50:01 UTC 2,314 bytes, 66 lines download raw bytes

1document.addEventListener("DOMContentLoaded", function() {
2"use strict";
3
4  var old_path = '/category/capacitor-discharge/'; 
5  //if (window.location.pathname = old_path) { 
6if (window.location.pathname.indexOf(old_path) !== -1) {
7var product = window.location.hash.replace(/^#(.*)/, '$1'); 
8var new_path = '/blog-category/capacitor-discharge/'; 
9var loca = new_path; //+ '/' + product; 
10window.location.replace(loca);
11
12}
13
14
15var old_path1 = '/category/instructional-how-to/'; 
16if (window.location.pathname.indexOf(old_path1) !== -1) {
17// Not on an old-style URL return false; } // Some browsers include the hash character in the anchor, strip it out 
18var product1 = window.location.hash.replace(/^#(.*)/, '$1'); 
19// Redirect to the new-style URL 
20var new_path1 = '/blog-category/instructional-how-to/'; 
21
22var loca1 = new_path1; //+ '/' + product1; 
23window.location.replace(loca1);
24}
25
26
27var old_path2 = '/category/stud-welding/'; 
28if (window.location.pathname.indexOf(old_path2) !== -1) {
29// Not on an old-style URL return false; } // Some browsers include the hash character in the anchor, strip it out 
30var product2 = window.location.hash.replace(/^#(.*)/, '$1'); 
31// Redirect to the new-style URL 
32var new_path2 = '/blog-category/stud-welding/'; 
33
34var loca2 = new_path2; //+ '/' + product2; 
35window.location.replace(loca2);
36
37}
38
39
40var old_path3 = '/category/technical/'; 
41if (window.location.pathname.indexOf(old_path3) !== -1) {
42// Not on an old-style URL return false; } // Some browsers include the hash character in the anchor, strip it out 
43var product3 = window.location.hash.replace(/^#(.*)/, '$1'); 
44// Redirect to the new-style URL 
45var new_path3 = '/blog-category/technical/'; 
46
47var loca3 = new_path3;// + '/' + product3; 
48window.location.replace(loca3);
49
50}
51
52
53var old_path4 = '/category/uncategorized/'; 
54if (window.location.pathname.indexOf(old_path4) !== -1) {
55// Not on an old-style URL return false; } // Some browsers include the hash character in the anchor, strip it out 
56var product4 = window.location.hash.replace(/^#(.*)/, '$1'); 
57// Redirect to the new-style URL 
58var new_path4 = '/blog-category/uncategorized/'; 
59
60var loca4 = new_path4; // + '/' + product4; 
61window.location.replace(loca4);
62
63}
64
65console.log("testing file");
66});

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.