PageSourceSearch

https://zigarrenzeit.de/js/brivium/AutoLink/click_handler.js?_v=e9b622a8

js zigarrenzeit.de collected 2026-09-24 12:24:35 UTC 1,299 bytes, 49 lines download raw bytes

1/** @param {jQuery} $ jQuery Object */
2!function($, window, document, _undefined)
3{
4	/**
5	 * Censor word listener for the options page. This handles automatically
6	 * creating additional text boxes when necessary.
7	 *
8	 * @param jQuery li.AutoLinkClickListener to listen to
9	 */
10	XenForo.AutoLinkClickListener = function($element) { this.__construct($element); };
11	XenForo.AutoLinkClickListener.prototype =
12	{
13		__construct: function($element)
14		{
15			$element.one('click', $.context(this, 'clickTrigger'));
16			this.triggered = false;
17			this.$word = $element.attr('title');
18			this.$replace = $element.attr('href');
19			this.$element = $element;
20		},
21
22		clickTrigger: function()
23		{
24			if(this.$word && this.$replace && !this.triggered){
25				this.triggered = true;
26				console.log(1);
27				XenForo.ajax(
28					"index.php?bral-log/log-auto-link", 
29					{
30						word: this.$word,
31						replace: this.$replace
32					}, 
33					function (json) {
34						if (XenForo.hasResponseError(json) !== false) {
35							return true;
36						}
37					},
38					{cache: false}
39				);
40			}
41		}
42	};
43
44	// *********************************************************************
45
46	XenForo.register('a.AutoLinkClickListener', 'XenForo.AutoLinkClickListener');
47
48}
49(jQuery, this, document);

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.