PageSourceSearch

https://notnul.com/ScriptResource.axd?d=6tiCnk4JvBRIK4YEZtRsG734rN…WtUPLdss6F2hSugDpCRJn8uoH838w681&t=51e37521

js notnul.com collected 2026-09-24 20:12:29 UTC 1,739 bytes, 41 lines download raw bytes

1// Name:        HTMLEditor.Toolbar_buttons.PasteWord.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.PasteWord = function(element) {
8    Sys.Extended.UI.HTMLEditor.ToolbarButton.PasteWord.initializeBase(this, [element]);
9}
10
11Sys.Extended.UI.HTMLEditor.ToolbarButton.PasteWord.prototype = {
12    callMethod : function() {
13        if(!Sys.Extended.UI.HTMLEditor.ToolbarButton.PasteWord.callBaseMethod(this, "callMethod")) return false;
14        var editor = this._designPanel;
15
16        if(Sys.Extended.UI.HTMLEditor.isIE)
17        {
18            editor._saveContent();
19            editor.openWait();
20            setTimeout(function(){editor._paste(true,true); editor.closeWait();},0)
21        }
22        else
23        {
24            var sel   = editor._getSelection();
25            var range = editor._createRange(sel);
26            var useVerb = String.format(Sys.Extended.UI.Resources.HTMLEditor_toolbar_button_Use_verb, (Sys.Extended.UI.HTMLEditor.isSafari && navigator.userAgent.indexOf("mac") != -1)?"Apple-V":"Ctrl-V" );
27            var mess = String.format(Sys.Extended.UI.Resources.HTMLEditor_toolbar_button_OnPasteFromMSWord, useVerb);
28
29            alert(mess);
30
31            setTimeout(function(){
32                editor._removeAllRanges(sel);
33                editor._selectRange(sel,range);
34            },0);
35            editor.isWord = true;
36        }
37    }
38}
39
40Sys.Extended.UI.HTMLEditor.ToolbarButton.PasteWord.registerClass("Sys.Extended.UI.HTMLEditor.ToolbarButton.PasteWord", Sys.Extended.UI.HTMLEditor.ToolbarButton.MethodButton);
41

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.