PageSourceSearch

https://www.terminatorfiles.com/template/js/custom.js

js terminatorfiles.com collected 2026-10-02 12:05:06 UTC 1,258 bytes, 35 lines download raw bytes

1// HACK OBJECT CLOSE/OPEN SPECIFIC FOR FANCYBOX (MIGHT NEED TO DO THAT WITH promoContainer INSTEAD?!)
2function objectClose() {
3	var fuckingIEobjects = document.getElementById("promoBannerSmall")
4	fuckingIEobjects.style.display='none'
5}
6function objectOpen() {
7	var fuckingIEobjects = document.getElementById("promoBannerSmall")
8	fuckingIEobjects.style.display=''
9}
10
11// POPUP WINDOW BROWSER (OLD VERSION, STILL HANDY IN SOME CASES)
12function openBrWindow(theURL,winName,features, myWidth, myHeight, isCenter){
13	if(window.screen){
14		if(isCenter){
15			if(isCenter=="true"){
16				var myLeft	 = (screen.width-myWidth)/2;
17				var myTop	 = (screen.height-myHeight)/2;
18				features	+= (features!='')?',':'';
19				features	+= ',left='+myLeft+',top='+myTop;
20			}
21		}
22	}
23	window.open(theURL,winName,features+((features!='')?',':'')+'width='+myWidth+',height='+myHeight).focus();
24}
25
26// HACK FOR BLANK WINDOW
27function externalLinks() {
28	if (!document.getElementsByTagName) return;
29	var anchors = document.getElementsByTagName("a");
30	for (var i=0; i<anchors.length; i++) {
31		var anchor = anchors[i];
32		if (anchor.getAttribute("href") && anchor.getAttribute("rel") == "external") anchor.target = "_blank";
33		}
34	}
35window.onload = externalLinks;

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.