PageSourceSearch

https://notnul.com/ScriptResource.axd?d=opQhjuPprR04ifDnI-rbNNHrYt…mzEzT6CHlU3YaGtaLnPebLuE0Y88Jhw1&t=51e37521

js notnul.com collected 2026-09-24 20:13:01 UTC 1,540 bytes, 41 lines download raw bytes

1// Name:        HTMLEditor.Toolbar_buttons.InsertHR.debug.js
2// Assembly:    AjaxControlToolkit
3// Version:     4.1.7.1213
4// FileVersion: 4.1.7.1213
5Type.registerNamespace("Sys.Extended.UI.HTMLEditor.ToolbarButton");
6
7Sys.Extended.UI.HTMLEditor.ToolbarButton.InsertHR = function(element) {
8    Sys.Extended.UI.HTMLEditor.ToolbarButton.InsertHR.initializeBase(this, [element]);
9}
10
11Sys.Extended.UI.HTMLEditor.ToolbarButton.InsertHR.prototype = {
12    callMethod : function() {
13        if(!Sys.Extended.UI.HTMLEditor.ToolbarButton.InsertHR.callBaseMethod(this, "callMethod")) return false;
14        var editor = this._designPanel;
15
16        try {
17            editor._saveContent();
18
19            var _div = editor._doc.createElement("div");
20            _div.innerHTML = "<hr>";
21
22            var el = _div.firstChild;
23            var place =editor._getSafePlace();
24            if(!place) return;
25
26            var parent=place.parentNode;
27
28            parent.insertBefore(el,place);
29            parent.removeChild (place);
30
31            el = (el.nextSibling)?el.nextSibling:el;
32            Sys.Extended.UI.HTMLEditor._setCursor(el,editor);
33            setTimeout(function() {editor.onContentChanged();editor._editPanel.updateToolbar();}, 0);
34
35            editor.focusEditor();
36            return true;
37        } catch(e){}
38    }
39}
40
41Sys.Extended.UI.HTMLEditor.ToolbarButton.InsertHR.registerClass("Sys.Extended.UI.HTMLEditor.ToolbarButton.InsertHR", Sys.Extended.UI.HTMLEditor.ToolbarButton.MethodButton);

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.