PageRenderTime 1126ms queryTime 487ms sortTime 10ms getByIdsTime 202ms findMatchingLines 137ms

100+ results results for 'encodeURIComponent' (1126 ms)

Not the results you expected?
cookies_spec.js https://gitlab.com/varunsonavne/node-hello | JavaScript | 305 lines
                    
30  function encode(str) {
                    
31    str = str.toString().replace(/[\x00-\x1F\x7F]/g, encodeURIComponent);
                    
32    return str.replace(/[\s\"\,;\\%]/g, encodeURIComponent);
                    
299        cookieObj[FORBIDDEN_COOKIE_NAME].should.be.exactly(
                    
300          encodeURIComponent(FORBIDDEN_COOKIE_VALUE));
                    
301        done();
                    
                
plugin.js https://gitlab.com/juanito.abelo/nlmobile | JavaScript | 427 lines
                    
175			tinymce.util.XHR.send({
                    
176				url: url + encodeURIComponent( text ) + '&key=' + editor.getParam( 'atd_rpc_id', '12345678' ),
                    
177				content_type: 'text/xml',
                    
                
view.map.js https://gitlab.com/crazybutterfly815/netentionjs | JavaScript | 409 lines
                    
1function getProxyURL(u) {
                    
2    return '/http/' + encodeURIComponent(u);
                    
3}
                    
                
api.js https://gitlab.com/artofhuman/gitlab-ce | JavaScript | 326 lines
                    
101  project(projectPath) {
                    
102    const url = Api.buildUrl(Api.projectPath).replace(':id', encodeURIComponent(projectPath));
                    
103
                    
109    const url = Api.buildUrl(Api.projectMergeRequestPath)
                    
110      .replace(':id', encodeURIComponent(projectPath))
                    
111      .replace(':mrid', mergeRequestId);
                    
117    const url = Api.buildUrl(Api.projectMergeRequestChangesPath)
                    
118      .replace(':id', encodeURIComponent(projectPath))
                    
119      .replace(':mrid', mergeRequestId);
                    
125    const url = Api.buildUrl(Api.projectMergeRequestVersionsPath)
                    
126      .replace(':id', encodeURIComponent(projectPath))
                    
127      .replace(':mrid', mergeRequestId);
                    
134      ':id',
                    
135      encodeURIComponent(projectPath),
                    
136    );
                    
                
common.js https://gitlab.com/albert925/lading-ach | JavaScript | 456 lines
                    
158 * @uses    collation_connection
                    
159 * @uses    encodeURIComponent()
                    
160 * @param    string    url    name of page to be loaded
                    
172        '&token=' + encodeURIComponent(token) +
                    
173        '&db=' + encodeURIComponent(db) +
                    
174        '&table=' + encodeURIComponent(table) +
                    
175        '&lang=' + encodeURIComponent(lang) +
                    
176        '&collation_connection=' + encodeURIComponent(collation_connection),
                    
177        'main');
                    
192function refreshNavigation() {
                    
193    goTo('navigation.php?server=' + encodeURIComponent(server) +
                    
194        '&token=' + encodeURIComponent(token)  +
                    
361    if ( ! url ) {
                    
362        url = 'querywindow.php?' + common_query + '&db=' + encodeURIComponent(db) + '&table=' + encodeURIComponent(table);
                    
363    }
                    
                
connection-min.js https://gitlab.com/essere.lab.public/qualitas.class-corpus | JavaScript | 130 lines
                    
8YAHOO.util.Connect={_msxml_progid:['MSXML2.XMLHTTP.3.0','MSXML2.XMLHTTP','Microsoft.XMLHTTP'],_http_headers:{},_has_http_headers:false,_use_default_post_header:true,_default_post_header:'application/x-www-form-urlencoded; charset=UTF-8',_use_default_xhr_header:true,_default_xhr_header:'XMLHttpRequest',_has_default_headers:true,_default_headers:{},_isFormSubmit:false,_isFileUpload:false,_formNode:null,_sFormData:null,_poll:{},_timeOut:{},_polling_interval:50,_transaction_id:0,_submitElementValue:null,_hasSubmitListener:(function()
                    
9{if(YAHOO.util.Event){YAHOO.util.Event.addListener(document,'click',function(e){var obj=YAHOO.util.Event.getTarget(e);if(obj.type=='submit'){YAHOO.util.Connect._submitElementValue=encodeURIComponent(obj.name)+"="+encodeURIComponent(obj.value);}});return true;}
                    
10return false;})(),startEvent:new YAHOO.util.CustomEvent('start'),completeEvent:new YAHOO.util.CustomEvent('complete'),successEvent:new YAHOO.util.CustomEvent('success'),failureEvent:new YAHOO.util.CustomEvent('failure'),uploadEvent:new YAHOO.util.CustomEvent('upload'),abortEvent:new YAHOO.util.CustomEvent('abort'),_customEvents:{onStart:['startEvent','start'],onComplete:['completeEvent','complete'],onSuccess:['successEvent','success'],onFailure:['failureEvent','failure'],onUpload:['uploadEvent','upload'],onAbort:['abortEvent','abort']},setProgId:function(id)
                    
81{switch(oElement.type)
                    
82{case'select-one':case'select-multiple':for(var j=0;j<oElement.options.length;j++){if(oElement.options[j].selected){if(window.ActiveXObject){this._sFormData+=encodeURIComponent(oName)+'='+encodeURIComponent(oElement.options[j].attributes['value'].specified?oElement.options[j].value:oElement.options[j].text)+'&';}
                    
83else{this._sFormData+=encodeURIComponent(oName)+'='+encodeURIComponent(oElement.options[j].hasAttribute('value')?oElement.options[j].value:oElement.options[j].text)+'&';}}}
                    
83else{this._sFormData+=encodeURIComponent(oName)+'='+encodeURIComponent(oElement.options[j].hasAttribute('value')?oElement.options[j].value:oElement.options[j].text)+'&';}}}
                    
84break;case'radio':case'checkbox':if(oElement.checked){this._sFormData+=encodeURIComponent(oName)+'='+encodeURIComponent(oValue)+'&';}
                    
85break;case'file':case undefined:case'reset':case'button':break;case'submit':if(hasSubmit===false){if(this._hasSubmitListener&&this._submitElementValue){this._sFormData+=this._submitElementValue+'&';}
                    
85break;case'file':case undefined:case'reset':case'button':break;case'submit':if(hasSubmit===false){if(this._hasSubmitListener&&this._submitElementValue){this._sFormData+=this._submitElementValue+'&';}
                    
86else{this._sFormData+=encodeURIComponent(oName)+'='+encodeURIComponent(oValue)+'&';}
                    
87hasSubmit=true;}
                    
87hasSubmit=true;}
                    
88break;default:this._sFormData+=encodeURIComponent(oName)+'='+encodeURIComponent(oValue)+'&';}}}
                    
89this._isFormSubmit=true;this._sFormData=this._sFormData.substr(0,this._sFormData.length-1);return this._sFormData;},resetFormState:function(){this._isFormSubmit=false;this._isFileUpload=false;this._formNode=null;this._sFormData="";},createFrame:function(secureUri){var frameId='yuiIO'+this._transaction_id;var io;if(window.ActiveXObject){io=document.createElement('<iframe id="'+frameId+'" name="'+frameId+'" />');if(typeof secureUri=='boolean'){io.src='javascript:false';}
                    
                
AjaxObservable.js https://gitlab.com/girmayegebremedhin/student_managment | JavaScript | 359 lines
                    
180            case 'application/x-www-form-urlencoded':
                    
181                return Object.keys(body).map(key => `${encodeURIComponent(key)}=${encodeURIComponent(body[key])}`).join('&');
                    
182            case 'application/json':
                    
                
angular-loader.js https://gitlab.com/alidz1982/cdnjs | JavaScript | 422 lines
                    
78      message = message + (i == 2 ? '?' : '&') + 'p' + (i-2) + '=' +
                    
79        encodeURIComponent(stringify(arguments[i]));
                    
80    }
                    
                
helper.js https://gitlab.com/devtoannh/cafe | JavaScript | 411 lines
                    
116    for (var i = 0; i < dirs.length; i++)
                    
117        escapePath += encodeURIComponent(dirs[i]) + '/';
                    
118
                    
                
optionsBox.js https://gitlab.com/x33n/ImpressPages | JavaScript | 402 lines
                    
93            if (elem.name !== 'a' && elem.name !== 'aa' && elem.name !== 'm' && elem.name !== 'g') {
                    
94                data = data + '&ipDesign[pCfg][' + elem.name + ']=' + encodeURIComponent(elem.value);
                    
95            }
                    
100            //for theme preview in market
                    
101            data = data + '&theme=' + encodeURIComponent(getParameterByName('theme'));
                    
102        }
                    
                
debug.js https://github.com/masyl/mixxim.git | JavaScript | 394 lines
                    
47function showSourceCode(location) {
                    
48    var url = debug_base + '/source_code?location=' + encodeURIComponent(location);
                    
49    var source = document.getElementById('source_data');
                    
251                }
                    
252                newData += i + '=' + encodeURIComponent(data[i]);
                    
253            }
                    
                
server.js https://gitlab.com/deadgood/sportas | JavaScript | 292 lines
                    
59        utf8encode = function (str) {
                    
60            return unescape(encodeURIComponent(str));
                    
61        },
                    
95                                /%s/,
                    
96                                encodeURIComponent(JSON.stringify(result))
                    
97                            )
                    
178                    '//' + req.headers.host + options.uploadUrl;
                    
179            this.url = this.deleteUrl = baseUrl + encodeURIComponent(this.name);
                    
180            Object.keys(options.imageVersions).forEach(function (version) {
                    
184                    that[version + 'Url'] = baseUrl + version + '/' +
                    
185                        encodeURIComponent(that.name);
                    
186                }
                    
                
swagger-oauth.js https://gitlab.com/CORP-RESELLER/kubernetes | JavaScript | 275 lines
                    
143
                    
144    url += '&redirect_uri=' + encodeURIComponent(redirectUrl);
                    
145    url += '&realm=' + encodeURIComponent(realm);
                    
145    url += '&realm=' + encodeURIComponent(realm);
                    
146    url += '&client_id=' + encodeURIComponent(clientId);
                    
147    url += '&scope=' + encodeURIComponent(scopes);
                    
                
angular-loader.js https://gitlab.com/Blueprint-Marketing/cdnjs | JavaScript | 405 lines
                    
61      message = message + (i == 2 ? '?' : '&') + 'p' + (i - 2) + '=' +
                    
62        encodeURIComponent(toDebugString(arguments[i]));
                    
63    }
                    
                
script.js https://gitlab.com/ricardosanchez/prueba | JavaScript | 350 lines
                    
56				url = url.replace('http://', '');
                    
57				url = 'index.php?rl_qp=1&url=' + encodeURIComponent(url);
                    
58				if (timeout) {
                    
                
corsclient.js https://gitlab.com/Blueprint-Marketing/test-cors.org | JavaScript | 659 lines
                    
240    }
                    
241    queryArray.push(encodeURIComponent(key));
                    
242    queryArray.push('=');
                    
242    queryArray.push('=');
                    
243    queryArray.push(encodeURIComponent(val));
                    
244  }
                    
                
jarvis.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 131 lines
                    
119			// if you happen to find a TTS API that sounds like jarvis, inform me ASAP
                    
120			document.getElementById("_jarvis").src = 'http://api.voicerss.org/?key='+this.voicerssKey+'&language='+this.lang+'&src='+encodeURIComponent(t);
                    
121		}
                    
                
io-form-debug.js https://gitlab.com/Mirros/cdnjs | JavaScript | 88 lines
                    
22            var f = (typeof o.id === 'object') ? o.id : Y.config.doc.getElementById(o.id),
                    
23            eUC = encodeURIComponent,
                    
24            data = [],
                    
36                if ((useDf) ? n : (n && !d)) {
                    
37                    n = encodeURIComponent(n) + '=';
                    
38                    v = encodeURIComponent(e.value);
                    
                
api.js https://gitlab.com/innerwhisper/gitlab-ce | JavaScript | 384 lines
                    
49  groupMembers(id) {
                    
50    const url = Api.buildUrl(this.groupMembersPath).replace(':id', encodeURIComponent(id));
                    
51
                    
112  projectUsers(projectPath, query = '', options = {}) {
                    
113    const url = Api.buildUrl(this.projectUsersPath).replace(':id', encodeURIComponent(projectPath));
                    
114
                    
127  project(projectPath) {
                    
128    const url = Api.buildUrl(Api.projectPath).replace(':id', encodeURIComponent(projectPath));
                    
129
                    
141      ':id',
                    
142      encodeURIComponent(projectPath),
                    
143    );
                    
157      ':id',
                    
158      encodeURIComponent(projectPath),
                    
159    );
                    
                
url_tree.js https://gitlab.com/adriancarayol/django-angular2 | JavaScript | 446 lines
                    
190        var fragment = tree.fragment !== null && tree.fragment !== undefined ?
                    
191            "#" + encodeURIComponent(tree.fragment) :
                    
192            '';
                    
235function encode(s) {
                    
236    return encodeURIComponent(s);
                    
237}
                    
                
back.js.uncompressed.js https://gitlab.com/Mirros/cdnjs | JavaScript | 397 lines
                    
21		if(!h){ h = ""; }
                    
22		window.location.hash = encodeURIComponent(h);
                    
23		historyCounter = history.length;
                    
                
uri.js https://gitlab.com/MichelZuniga/node | JavaScript | 392 lines
                    
388      "encodeURI", URIEncode,
                    
389      "encodeURIComponent", URIEncodeComponent
                    
390  ));
                    
                
nsAddonRepository.js https://github.com/aptana/xulrunner.git | JavaScript | 349 lines
                    
88    var url = prefs.getCharPref(PREF_GETADDONS_BROWSESEARCHRESULTS);
                    
89    url = url.replace(/%TERMS%/g, encodeURIComponent(aSearchTerms));
                    
90    return urlf.formatURL(url);
                    
141    // We double encode due to bug 427155
                    
142    uri = uri.replace(/%TERMS%/g, encodeURIComponent(encodeURIComponent(aSearchTerms)));
                    
143    uri = urlf.formatURL(uri);
                    
                
error.js https://gitlab.com/Blueprint-Marketing/amphtml | JavaScript | 186 lines
                    
150  let url = 'https://amp-error-reporting.appspot.com/r' +
                    
151      '?v=' + encodeURIComponent('$internalRuntimeVersion$') +
                    
152      '&m=' + encodeURIComponent(
                    
163  if (window.location.ancestorOrigins && window.location.ancestorOrigins[0]) {
                    
164    url += '&or=' + encodeURIComponent(window.location.ancestorOrigins[0]);
                    
165  }
                    
166  if (window.viewerState) {
                    
167    url += '&vs=' + encodeURIComponent(window.viewerState);
                    
168  }
                    
173      : 'u';  // Unknown
                    
174    url += '&el=' + encodeURIComponent(tagName) +
                    
175        '&s=' + encodeURIComponent(error.stack || '');
                    
177  } else {
                    
178    url += '&f=' + encodeURIComponent(filename) +
                    
179        '&l=' + encodeURIComponent(line) +
                    
                
summernote-ext-specialchars.js https://gitlab.com/x33n/summernote | JavaScript | 315 lines
                    
90              $node.attr('title', text);
                    
91              $node.attr('data-value', encodeURIComponent(text));
                    
92              $node.css({
                    
                
web_socket.js https://gitlab.com/Blueprint-Marketing/cdnjs | JavaScript | 391 lines
                    
79    }
                    
80    // We use encodeURIComponent() here, because FABridge doesn't work if
                    
81    // the argument includes some characters. We don't use escape() here
                    
83    // https://developer.mozilla.org/en/Core_JavaScript_1.5_Guide/Functions#escape_and_unescape_Functions
                    
84    // But it looks decodeURIComponent(encodeURIComponent(s)) doesn't
                    
85    // preserve all Unicode characters either e.g. "\uffff" in Firefox.
                    
87    // additional testing.
                    
88    var result = WebSocket.__flash.send(this.__id, encodeURIComponent(data));
                    
89    if (result < 0) { // success
                    
                
common.js https://gitlab.com/reclamare/mao | JavaScript | 526 lines
                    
101		if (value) {
                    
102			url += '&search=' + encodeURIComponent(value);
                    
103		}
                    
                
jquery.cookie.js https://gitlab.com/liyue/yii-fis-bk-fe | JavaScript | 288 lines
                    
25    var COOKIENAME = "HCD", // Current cookie name
                    
26        ENCODE = encodeURIComponent,
                    
27        DECODE = decodeURIComponent,
                    
                
profile-intro.js https://gitlab.com/gregtyka/KhanLatest | JavaScript | 260 lines
                    
29                            var postLoginUrl = "/postlogin?continue=" +
                    
30                                encodeURIComponent(window.location.href);
                    
31                            window.location.href = "/login?continue=" +
                    
31                            window.location.href = "/login?continue=" +
                    
32                                encodeURIComponent(postLoginUrl);
                    
33                        },
                    
                
dust-core.js https://gitlab.com/Mirros/cdnjs | JavaScript | 577 lines
                    
108  u: encodeURI,
                    
109  uc: encodeURIComponent
                    
110}
                    
                
dust-core.js https://gitlab.com/Mirros/cdnjs | JavaScript | 622 lines
                    
126  u: encodeURI,
                    
127  uc: encodeURIComponent,
                    
128  js: function(value) { if (!JSON) { return value; } return JSON.stringify(value); },
                    
                
jasmine-html.js https://gitlab.com/Mirros/cdnjs | JavaScript | 190 lines
                    
59    var suiteDiv = this.createDom('div', { className: 'suite' },
                    
60        this.createDom('a', { className: 'run_spec', href: '?spec=' + encodeURIComponent(suite.getFullName()) }, "run"),
                    
61        this.createDom('a', { className: 'description', href: '?spec=' + encodeURIComponent(suite.getFullName()) }, suite.description));
                    
131  var specDiv = this.createDom('div', { className: 'spec '  + status },
                    
132      this.createDom('a', { className: 'run_spec', href: '?spec=' + encodeURIComponent(spec.getFullName()) }, "run"),
                    
133      this.createDom('a', {
                    
134        className: 'description',
                    
135        href: '?spec=' + encodeURIComponent(spec.getFullName()),
                    
136        title: spec.getFullName()
                    
                
plugin.js https://bitbucket.org/geolivero/groei-partner.git | JavaScript | 501 lines
                    
131			for ( var i in params )
                    
132				queryString.push( i + "=" + encodeURIComponent( params[ i ] ) );
                    
133		}
                    
                
tc.js https://github.com/koto/blog-kotowicz-net-examples.git | JavaScript | 389 lines
                    
158			}, U = function() {
                    
159				var a = T(h.cookie, "tracertraffic"), b = encodeURIComponent(L(S())), c = h.location.hash;
                    
160				c = /tynt=/.test(c) ? c.match(/tynt=?([^?&$#]*)/)[1] : false;
                    
164						+ (h.referrer ? "&r="
                    
165								+ encodeURIComponent(L(h.referrer)) : "");
                    
166				a = f + "&t=" + encodeURIComponent(K);
                    
276											n,
                    
277											encodeURIComponent(o).replace(
                    
278													/\'/g, "%27") ]);
                    
285												j,
                    
286												encodeURIComponent(u).replace(
                    
287														/\'/g, "%27") ]);
                    
                
autocomplete-sources-debug.js https://gitlab.com/Blueprint-Marketing/cdnjs | JavaScript | 394 lines
                    
65                        maxResults: maxResults > 0 ? maxResults : 1000,
                    
66                        query     : encodeURIComponent(query)
                    
67                    });
                    
357            maxResults: maxResults > 0 ? maxResults : 1000,
                    
358            query     : encodeURIComponent(query)
                    
359        });
                    
                
rlClient.js https://gitlab.com/varunkothamachu/seldon-server | JavaScript | 363 lines
                    
120
                    
121        return encodeURIComponent(page_id);
                    
122    }
                    
138            (rectag ? ("&rectag=" + rectag) : "") +
                    
139            (source ? ("&source=" + encodeURIComponent(normalise(source))) : "") +
                    
140            (position ? ("&pos=" + position) : "");
                    
                
socialite.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 457 lines
                    
25		sto = window.setTimeout,
                    
26		euc = encodeURIComponent,
                    
27		gcn = typeof document.getElementsByClassName === 'function';
                    
                
media.popups.js https://gitlab.com/leoplanxxi/dr7-web-buap-2016 | JavaScript | 446 lines
                    
189  if (typeof defaults.src === 'string' ) {
                    
190    defaults.src = defaults.src.replace('-media_id-', mediaFile.fid) + '&fields=' + encodeURIComponent(JSON.stringify(mediaFile.fields));
                    
191  }
                    
195    defaults.src.unshift(src);
                    
196    defaults.src = src.replace('-media_id-', mediaFile.fid) + '&fields=' + encodeURIComponent(JSON.stringify(mediaFile.fields));
                    
197  }
                    
                
xajax.js https://gitlab.com/phamngsinh/baitaplon_sinhvien | JavaScript | 551 lines
                    
214						{
                    
215							if (formElements[i].options[j].selected == true)   sXml += name+"="+encodeURIComponent(formElements[i].options[j].value)+"&";
                    
216						}
                    
219					{
                    
220						sXml += name+"="+encodeURIComponent(formElements[i].value);
                    
221					}
                    
287			case xajaxDefinedGet:{
                    
288				var uriGet = uri.indexOf("?")==-1?"?xajax="+encodeURIComponent(sFunction):"&xajax="+encodeURIComponent(sFunction);
                    
289				if (aArgs) {
                    
294							value = this.objectToXML(value);
                    
295						uriGet += "&xajaxargs[]="+encodeURIComponent(value);
                    
296					}
                    
302			case xajaxDefinedPost:{
                    
303				postData = "xajax="+encodeURIComponent(sFunction);
                    
304				postData += "&xajaxr="+new Date().getTime();
                    
                
querystring-debug.js https://gitlab.com/Mirros/cdnjs | JavaScript | 270 lines
                    
174 * (en|de)codeURIComponent functions.
                    
175 * Default: encodeURIComponent
                    
176 * @module querystring
                    
180 **/
                    
181QueryString.escape = encodeURIComponent;
                    
182
                    
                
offline-exporting.src.js https://gitlab.com/Mirros/cdnjs | JavaScript | 277 lines
                    
94			}
                    
95			return 'data:image/svg+xml;charset=UTF-8,' + encodeURIComponent(svg);
                    
96		},
                    
                
polyfill.js https://gitlab.com/geekysquirrel/memo | JavaScript | 507 lines
                    
44    pairs.forEach(function (pair) {
                    
45      var name = encodeURIComponent(pair.name);
                    
46      var value = encodeURIComponent(pair.value);
                    
                
bootstrap-table-cookie.js https://gitlab.com/lara_intern/BarcodeTechSolution | JavaScript | 331 lines
                    
70
                    
71        document.cookie = encodeURIComponent(cookieName) + '=' + encodeURIComponent(cookieValue) + calculateExpiration(that.options.cookieExpire) + (that.options.cookieDomain ? '; domain=' + that.options.cookieDomain : '') + (that.options.cookiePath ? '; path=' + that.options.cookiePath : '') + (that.cookieSecure ? '; secure' : '');
                    
72        return true;
                    
85
                    
86        return decodeURIComponent(document.cookie.replace(new RegExp('(?:(?:^|.*;)\\s*' + encodeURIComponent(cookieName).replace(/[\-\.\+\*]/g, '\\$&') + '\\s*\\=\\s*([^;]*).*$)|^.*$'), '$1')) || null;
                    
87    };
                    
92        }
                    
93        return (new RegExp('(?:^|;\\s*)' + encodeURIComponent(cookieName).replace(/[\-\.\+\*]/g, '\\$&') + '\\s*\\=')).test(document.cookie);
                    
94    };
                    
100        }
                    
101        document.cookie = encodeURIComponent(cookieName) + '=; expires=Thu, 01 Jan 1970 00:00:00 GMT' + (sDomain ? '; domain=' + sDomain : '') + (sPath ? '; path=' + sPath : '');
                    
102        return true;
                    
                
satellizer.js https://gitlab.com/Mirros/cdnjs | JavaScript | 467 lines
                    
285            var paramValue = defaults[camelizedName];
                    
286            keyValuePairs.push([paramName, encodeURIComponent(paramValue)]);
                    
287          });
                    
327        angular.forEach(obj, function(value, key) {
                    
328          str.push(encodeURIComponent(key) + '=' + encodeURIComponent(value));
                    
329        });
                    
                
angular-cookies.js https://gitlab.com/Mirros/cdnjs | JavaScript | 320 lines
                    
287
                    
288    var str = encodeURIComponent(name) + '=' + encodeURIComponent(value);
                    
289    str += path ? ';path=' + path : '';
                    
                
index.js https://gitlab.com/laurenmbeatty/react_router | JavaScript | 497 lines
                    
208  return dir.split('/').map(function(part){
                    
209    curr.push(encodeURIComponent(part));
                    
210    return part ? '<a href="' + curr.join('/') + '">' + part + '</a>' : '';
                    
272      , classes = []
                    
273      , path = dir.split('/').map(function (c) { return encodeURIComponent(c); });
                    
274
                    
281
                    
282    path.push(encodeURIComponent(file.name));
                    
283
                    
                
Account.js https://gitlab.com/alexphillips/node-clouddrive | JavaScript | 527 lines
                    
38
                    
39    let scope = encodeURIComponent(this.scope.join(' '));
                    
40
                    
                
dropbox-link.js https://gitlab.com/mlnkv/keeweb | JavaScript | 330 lines
                    
50    var urlParams = {
                    
51        origin: encodeURIComponent(window.location.protocol + '//' + window.location.host),
                    
52        'app_key': getKey(),
                    
                
core-min.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 13 lines
                    
932-8*(b%4);a.length=h.ceil(b/4)},clone:function(){var a=f.clone.call(this);a.words=this.words.slice(0);return a},random:function(a){for(var b=[],d=0;d<a;d+=4)b.push(4294967296*h.random()|0);return new j.init(b,a)}}),m=k.enc={},s=m.Hex={stringify:function(a){var b=a.words;a=a.sigBytes;for(var d=[],c=0;c<a;c++){var e=b[c>>>2]>>>24-8*(c%4)&255;d.push((e>>>4).toString(16));d.push((e&15).toString(16))}return d.join("")},parse:function(a){for(var b=a.length,d=[],c=0;c<b;c+=2)d[c>>>3]|=parseInt(a.substr(c,
                    
102),16)<<24-4*(c%8);return new j.init(d,b/2)}},p=m.Latin1={stringify:function(a){var b=a.words;a=a.sigBytes;for(var d=[],c=0;c<a;c++)d.push(String.fromCharCode(b[c>>>2]>>>24-8*(c%4)&255));return d.join("")},parse:function(a){for(var b=a.length,d=[],c=0;c<b;c++)d[c>>>2]|=(a.charCodeAt(c)&255)<<24-8*(c%4);return new j.init(d,b)}},t=m.Utf8={stringify:function(a){try{return decodeURIComponent(escape(p.stringify(a)))}catch(b){throw Error("Malformed UTF-8 data");}},parse:function(a){return p.parse(unescape(encodeURIComponent(a)))}},
                    
11q=l.BufferedBlockAlgorithm=f.extend({reset:function(){this._data=new j.init;this._nDataBytes=0},_append:function(a){"string"==typeof a&&(a=t.parse(a));this._data.concat(a);this._nDataBytes+=a.sigBytes},_process:function(a){var b=this._data,d=b.words,c=b.sigBytes,e=this.blockSize,f=c/(4*e),f=a?h.ceil(f):h.max((f|0)-this._minBufferSize,0);a=f*e;c=h.min(4*a,c);if(a){for(var g=0;g<a;g+=e)this._doProcessBlock(d,g);g=d.splice(0,a);b.sigBytes-=c}return new j.init(g,c)},clone:function(){var a=f.clone.call(this);
                    
                
js.cookie.js https://gitlab.com/Mirros/cdnjs | JavaScript | 139 lines
                    
57
                    
58				value = encodeURIComponent(String(value));
                    
59				value = value.replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g, decodeURIComponent);
                    
60
                    
61				key = encodeURIComponent(String(key));
                    
62				key = key.replace(/%(23|24|26|2B|5E|60|7C)/g, decodeURIComponent);
                    
                
Request.js https://gitlab.com/qbarbosa/klindev | JavaScript | 358 lines
                    
134            } else {
                    
135                url = config.proxy + encodeURIComponent(url);
                    
136            }
                    
                
javascript.js https://gitlab.com/JunaYa/JunaYa-blog | JavaScript | 113 lines
                    
15        'eval isFinite isNaN parseFloat parseInt decodeURI decodeURIComponent ' +
                    
16        'encodeURI encodeURIComponent escape unescape Object Function Boolean Error ' +
                    
17        'EvalError InternalError RangeError ReferenceError StopIteration SyntaxError ' +
                    
                
delegate.js https://bitbucket.org/restorehc/rdi.git | JavaScript | 455 lines
                    
112			k['noteText_s'] = (  knt.length > 27 ?  knt.substr(0,24) + '...' : knt);
                    
113			k['noteFile_f']='' ; if (k['noteFile']) { k['noteFile_f']='<a class="func_view_note_file" style="z-index:19;" data-notefile="' + encodeURIComponent(k['noteFile']) + '"  data-filename="' + encodeURIComponent(k['filename']) + '" data-noteid="' + encodeURIComponent(k['noteID']) + '" ><img class="file_icon"  src="/images/file.png" /></a>'; }  return k;  }), ['noteText_s', 'dateEntered_f', 'author', 'noteFile_f',  'data' ]);
                    
114									
                    
158			k['noteText_s'] = (  knt.length > 27 ?  knt.substr(0,24) + '...' : knt);
                    
159			k['noteFile_f']='' ; if (k['noteFile']) { k['noteFile_f']='<a class="func_view_note_file" style="z-index:19;" data-notefile="' + encodeURIComponent(k['noteFile']) + '"  data-filename="' + encodeURIComponent(k['filename']) + '" data-noteid="' + encodeURIComponent(k['noteID']) + '" ><img class="file_icon"  src="/images/file.png" /></a>'; }  return k;  }), ['noteText_s', 'dateEntered_f', 'author', 'noteFile_f',  'data' ]);
                    
160									
                    
                
_logview.js https://gitlab.com/estratega.pe/cc | JavaScript | 283 lines
                    
108        
                    
109        var href = 'mailto:' + common.Trim(email) + '?subject=' + encodeURIComponent('WebPhone Log') + '&body=' + stringres.get('support_email_body');
                    
110        
                    
147
                    
148            var href = 'mailto:' + common.Trim(email) + '?subject=' + encodeURIComponent('WebPhone Log') + '&body=' + stringres.get('support_email_body');
                    
149            $('#sendtosupport_link').attr('href', href);
                    
                
addcslashes.js https://gitlab.com/rickoverman/doo-cli | JavaScript | 158 lines
                    
136            //target += _pad(cca.toString(8), 3);break; // Sufficient for UTF-16
                    
137            encoded = encodeURIComponent(c);
                    
138
                    
                
yql-coverage.js https://gitlab.com/fxaeberhard/Wedance-java | JavaScript | 271 lines
                    
34};
                    
35_yuitest_coverage["build/yql/yql.js"].code=["YUI.add('yql', function (Y, NAME) {","","/**"," * This class adds a sugar class to allow access to YQL (http://developer.yahoo.com/yql/)."," * @module yql"," */","/**"," * Utility Class used under the hood my the YQL class"," * @class YQLRequest"," * @constructor"," * @param {String} sql The SQL statement to execute"," * @param {Function/Object} callback The callback to execute after the query (Falls through to JSONP)."," * @param {Object} params An object literal of extra parameters to pass along (optional)."," * @param {Object} opts An object literal of configuration options (optional): proto (http|https), base (url)"," */","var YQLRequest = function (sql, callback, params, opts) {","","    if (!params) {","        params = {};","    }","    params.q = sql;","    //Allow format override.. JSON-P-X","    if (!params.format) {","        params.format = Y.YQLRequest.FORMAT;","    }","    if (!params.env) {","        params.env = Y.YQLRequest.ENV;","    }","","    this._context = this;","","    if (opts && opts.context) {","        this._context = opts.context;","        delete opts.context;","    }","","    if (params && params.context) {","        this._context = params.context;","        delete params.context;","    }","","    this._params = params;","    this._opts = opts;","    this._callback = callback;","","};","","YQLRequest.prototype = {","    /**","    * @private","    * @property _jsonp","    * @description Reference to the JSONP instance used to make the queries","    */","    _jsonp: null,","    /**","    * @private","    * @property _opts","    * @description Holder for the opts argument","    */","    _opts: null,","    /**","    * @private","    * @property _callback","    * @description Holder for the callback argument","    */","    _callback: null,","    /**","    * @private","    * @property _params","    * @description Holder for the params argument","    */","    _params: null,","    /**","    * @private","    * @property _context","    * @description The context to execute the callback in","    */","    _context: null,","    /**","    * @private","    * @method _internal","    * @description Internal Callback Handler","    */","    _internal: function () {","        this._callback.apply(this._context, arguments);","    },","    /**","    * @method send","    * @description The method that executes the YQL Request.","    * @chainable","    * @return {YQLRequest}","    */","    send: function () {","        var qs = [], url = ((this._opts && this._opts.proto) ? this._opts.proto : Y.YQLRequest.PROTO), o;","","        Y.each(this._params, function (v, k) {","            qs.push(k + '=' + encodeURIComponent(v));","        });","","        qs = qs.join('&');","","        url += ((this._opts && this._opts.base) ? this._opts.base : Y.YQLRequest.BASE_URL) + qs;","","        o = (!Y.Lang.isFunction(this._callback)) ? this._callback : { on: { success: this._callback } };","","        o.on = o.on || {};","        this._callback = o.on.success;","","        o.on.success = Y.bind(this._internal, this);","","        this._send(url, o);","        return this;","    },","    /**","    * Private method to send the request, overwritten in plugins","    * @method _send","    * @private","    * @param {String} url The URL to request","    * @param {Object} o The config object","    */","    _send: function(url, o) {","        if (o.allowCache !== false) {","            o.allowCache = true;","        }","        if (!this._jsonp) {","            this._jsonp = Y.jsonp(url, o);","        } else {","            this._jsonp.url = url;","            if (o.on && o.on.success) {","                this._jsonp._config.on.success = o.on.success;","            }","            this._jsonp.send();","        }","    }","};","","/**","* @static","* @property FORMAT","* @description Default format to use: json","*/","YQLRequest.FORMAT = 'json';","/**","* @static","* @property PROTO","* @description Default protocol to use: http","*/","YQLRequest.PROTO = 'http';","/**","* @static","* @property BASE_URL","* @description The base URL to query: query.yahooapis.com/v1/public/yql?","*/","YQLRequest.BASE_URL = ':/' + '/query.yahooapis.com/v1/public/yql?';","/**","* @static","* @property ENV","* @description The environment file to load: http://datatables.org/alltables.env","*/","YQLRequest.ENV = 'http:/' + '/datatables.org/alltables.env';","","Y.YQLRequest = YQLRequest;","","/**"," * This class adds a sugar class to allow access to YQL (http://developer.yahoo.com/yql/)."," * @class YQL"," * @constructor"," * @param {String} sql The SQL statement to execute"," * @param {Function} callback The callback to execute after the query (optional)."," * @param {Object} params An object literal of extra parameters to pass along (optional)."," * @param {Object} opts An object literal of configuration options (optional): proto (http|https), base (url)"," */","Y.YQL = function (sql, callback, params, opts) {","    return new Y.YQLRequest(sql, callback, params, opts).send();","};","","","}, '3.8.0', {\"requires\": [\"jsonp\", \"jsonp-url\"]});"];
                    
36_yuitest_coverage["build/yql/yql.js"].lines = {"1":0,"16":0,"18":0,"19":0,"21":0,"23":0,"24":0,"26":0,"27":0,"30":0,"32":0,"33":0,"34":0,"37":0,"38":0,"39":0,"42":0,"43":0,"44":0,"48":0,"85":0,"94":0,"96":0,"97":0,"100":0,"102":0,"104":0,"106":0,"107":0,"109":0,"111":0,"112":0,"122":0,"123":0,"125":0,"126":0,"128":0,"129":0,"130":0,"132":0,"142":0,"148":0,"154":0,"160":0,"162":0,"173":0,"174":0};
                    
164_yuitest_coverline("build/yql/yql.js", 97);
                    
165qs.push(k + '=' + encodeURIComponent(v));
                    
166        });
                    
                
jsCookieTest.js https://gitlab.com/mohamed_hussein/prodt | JavaScript | 275 lines
                    
91      .setCookie({
                    
92        name: encodeURIComponent(' js_cookie_test_encoded'),
                    
93        value: encodeURIComponent(' red panda'),
                    
                
common.js https://gitlab.com/colin.luo/shbs | JavaScript | 352 lines
                    
51            dt.setTime(dt.getTime() + seconds * 1000);
                    
52            document.cookie = [encodeURIComponent(key), '=', encodeURIComponent(val), '; expires=', dt.toGMTString(), '; domain=trade.qq.com; path=/fangchan/'].join('');
                    
53        },
                    
54        removeCookie: function(key) {
                    
55            document.cookie = encodeURIComponent(key) + '=; expires=Thu, 01 Jan 1970 16:00:00 GMT; domain=trade.qq.com; path=/fangchan/';
                    
56        },
                    
178                } else {
                    
179                    gQuery[i] = encodeURIComponent(param[i]);
                    
180                }
                    
                
jquery.ihavecookies.js https://gitlab.com/leonardo.sandoval1/96boards-website | JavaScript | 271 lines
                    
167          "cookieControlPrefs",
                    
168          encodeURIComponent(JSON.stringify(prefs)),
                    
169          365
                    
                
xhr.js https://gitlab.com/nguyenthehiep3232/marius | JavaScript | 212 lines
                    
38      var username = config.auth.username || '';
                    
39      var password = config.auth.password ? unescape(encodeURIComponent(config.auth.password)) : '';
                    
40      requestHeaders.Authorization = 'Basic ' + btoa(username + ':' + password);
                    
                
util.js https://gitlab.com/nguyenthehiep3232/marius | JavaScript | 239 lines
                    
227function escapeFragment(str) {
                    
228  return encodeURIComponent(escapeJsonPointer(str));
                    
229}
                    
                
back.js https://gitlab.com/essere.lab.public/qualitas.class-corpus | JavaScript | 389 lines
                    
18		if(!h) { h = "" };
                    
19		window.location.hash = encodeURIComponent(h);
                    
20		historyCounter = history.length;
                    
                
composer-tools.js https://gitlab.com/haque.mdmanzurul/barongbarong | JavaScript | 358 lines
                    
3  exdate.setDate(exdate.getDate() + exdays);
                    
4  var c_value = encodeURIComponent(value) + ((exdays === null) ? "" : "; expires=" + exdate.toUTCString());
                    
5  document.cookie = c_name + "=" + c_value;
                    
                
rrssb.js https://gitlab.com/waltspence/rrssb | JavaScript | 376 lines
                    
111			} else {
                    
112				return encodeURIComponent(string);
                    
113			}
                    
                
panel.js https://gitlab.com/Guy1394/gaia | JavaScript | 98 lines
                    
85        // each char might be longer than 1 byte.
                    
86        // Use encodeURIComponent() to encode ssid, then calculate correct
                    
87        // length.
                    
                
activity.js https://gitlab.com/smartboxasia/dss-addon-tado | JavaScript | 388 lines
                    
23        var action = JSON.stringify(activity.action);
                    
24        action = encodeURIComponent(action); // FIXME best if this LOC can be removed. see http://imgur.com/a/MeWOk
                    
25        registerTrigger('/scripts/tado/entries/' + id, 'tado.execute', {
                    
                
yql-coverage.js https://gitlab.com/Mirros/cdnjs | JavaScript | 265 lines
                    
28};
                    
29_yuitest_coverage["build/yql/yql.js"].code=["YUI.add('yql', function (Y, NAME) {","","/**"," * This class adds a sugar class to allow access to YQL (http://developer.yahoo.com/yql/)."," * @module yql"," */","/**"," * Utility Class used under the hood my the YQL class"," * @class YQLRequest"," * @constructor"," * @param {String} sql The SQL statement to execute"," * @param {Function/Object} callback The callback to execute after the query (Falls through to JSONP)."," * @param {Object} params An object literal of extra parameters to pass along (optional)."," * @param {Object} opts An object literal of configuration options (optional): proto (http|https), base (url)"," */","var YQLRequest = function (sql, callback, params, opts) {","","    if (!params) {","        params = {};","    }","    params.q = sql;","    //Allow format override.. JSON-P-X","    if (!params.format) {","        params.format = Y.YQLRequest.FORMAT;","    }","    if (!params.env) {","        params.env = Y.YQLRequest.ENV;","    }","","    this._context = this;","","    if (opts && opts.context) {","        this._context = opts.context;","        delete opts.context;","    }","","    if (params && params.context) {","        this._context = params.context;","        delete params.context;","    }","","    this._params = params;","    this._opts = opts;","    this._callback = callback;","","};","","YQLRequest.prototype = {","    /**","    * @private","    * @property _jsonp","    * @description Reference to the JSONP instance used to make the queries","    */","    _jsonp: null,","    /**","    * @private","    * @property _opts","    * @description Holder for the opts argument","    */","    _opts: null,","    /**","    * @private","    * @property _callback","    * @description Holder for the callback argument","    */","    _callback: null,","    /**","    * @private","    * @property _params","    * @description Holder for the params argument","    */","    _params: null,","    /**","    * @private","    * @property _context","    * @description The context to execute the callback in","    */","    _context: null,","    /**","    * @private","    * @method _internal","    * @description Internal Callback Handler","    */","    _internal: function () {","        this._callback.apply(this._context, arguments);","    },","    /**","    * @method send","    * @description The method that executes the YQL Request.","    * @chainable","    * @return {YQLRequest}","    */","    send: function () {","        var qs = [], url = ((this._opts && this._opts.proto) ? this._opts.proto : Y.YQLRequest.PROTO), o;","","        Y.each(this._params, function (v, k) {","            qs.push(k + '=' + encodeURIComponent(v));","        });","","        qs = qs.join('&');","","        url += ((this._opts && this._opts.base) ? this._opts.base : Y.YQLRequest.BASE_URL) + qs;","","        o = (!Y.Lang.isFunction(this._callback)) ? this._callback : { on: { success: this._callback } };","","        o.on = o.on || {};","        this._callback = o.on.success;","","        o.on.success = Y.bind(this._internal, this);","","        this._send(url, o);","        return this;","    },","    /**","    * Private method to send the request, overwritten in plugins","    * @method _send","    * @private","    * @param {String} url The URL to request","    * @param {Object} o The config object","    */","    _send: function(url, o) {","        if (o.allowCache !== false) {","            o.allowCache = true;","        }","        if (!this._jsonp) {","            this._jsonp = Y.jsonp(url, o);","        } else {","            this._jsonp.url = url;","            if (o.on && o.on.success) {","                this._jsonp._config.on.success = o.on.success;","            }","            this._jsonp.send();","        }","    }","};","","/**","* @static","* @property FORMAT","* @description Default format to use: json","*/","YQLRequest.FORMAT = 'json';","/**","* @static","* @property PROTO","* @description Default protocol to use: http","*/","YQLRequest.PROTO = 'http';","/**","* @static","* @property BASE_URL","* @description The base URL to query: query.yahooapis.com/v1/public/yql?","*/","YQLRequest.BASE_URL = ':/' + '/query.yahooapis.com/v1/public/yql?';","/**","* @static","* @property ENV","* @description The environment file to load: http://datatables.org/alltables.env","*/","YQLRequest.ENV = 'http:/' + '/datatables.org/alltables.env';","","Y.YQLRequest = YQLRequest;","","/**"," * This class adds a sugar class to allow access to YQL (http://developer.yahoo.com/yql/)."," * @class YQL"," * @constructor"," * @param {String} sql The SQL statement to execute"," * @param {Function} callback The callback to execute after the query (optional)."," * @param {Object} params An object literal of extra parameters to pass along (optional)."," * @param {Object} opts An object literal of configuration options (optional): proto (http|https), base (url)"," */","Y.YQL = function (sql, callback, params, opts) {","    return new Y.YQLRequest(sql, callback, params, opts).send();","};","","","}, '@VERSION@', {\"requires\": [\"jsonp\", \"jsonp-url\"]});"];
                    
30_yuitest_coverage["build/yql/yql.js"].lines = {"1":0,"16":0,"18":0,"19":0,"21":0,"23":0,"24":0,"26":0,"27":0,"30":0,"32":0,"33":0,"34":0,"37":0,"38":0,"39":0,"42":0,"43":0,"44":0,"48":0,"85":0,"94":0,"96":0,"97":0,"100":0,"102":0,"104":0,"106":0,"107":0,"109":0,"111":0,"112":0,"122":0,"123":0,"125":0,"126":0,"128":0,"129":0,"130":0,"132":0,"142":0,"148":0,"154":0,"160":0,"162":0,"173":0,"174":0};
                    
158_yuitest_coverline("build/yql/yql.js", 97);
                    
159qs.push(k + '=' + encodeURIComponent(v));
                    
160        });
                    
                
route.js https://gitlab.com/narendrab/sample-project | JavaScript | 303 lines
                    
126                        delete cpy[name];
                    
127                        return data[name] === route.defaults[name] ? '' : encodeURIComponent(data[name]);
                    
128                    }).replace('\\', ''), after;
                    
                
parallax.js https://gitlab.com/Mirros/cdnjs | JavaScript | 343 lines
                    
101        this.$element.css({
                    
102          backgroundImage: 'url(' + encodeURIComponent(this.imageSrc) + ')',
                    
103          backgroundSize: 'cover',
                    
                
polls.js https://bitbucket.org/jonarano/joneame.git | JavaScript | 357 lines
                    
145		httpreq.setRequestHeader('Content-Type','application/x-www-form-urlencoded');
                    
146		httpreq.send('poll_content='+encodeURIComponent(poll_content)+'&process='+process+'&poll_id='+poll_id+'&user_id='+user_id); 
                    
147	}
                    
191		httpreq.setRequestHeader('Content-Type','application/x-www-form-urlencoded');
                    
192                httpreq.send('id='+com_id+'&poll_content='+encodeURIComponent(comment_content)+'&process=editcomment&poll_id='+poll_id+'&user_id='+user_id); 
                    
193		var serverResponse = httpreq.responseText;
                    
                
person.js https://gitlab.com/mikebavon/TripTicket | JavaScript | 122 lines
                    
43	    	
                    
44	    	var params = 'fname=' + encodeURIComponent(fname) 
                    
45	    		+ '&lname=' + encodeURIComponent(lname)
                    
45	    		+ '&lname=' + encodeURIComponent(lname)
                    
46	    		+ '&id=' + encodeURIComponent(id)
                    
47	    		+ '&username=' + encodeURIComponent(username)
                    
47	    		+ '&username=' + encodeURIComponent(username)
                    
48	    		+ '&password=' + encodeURIComponent(password);
                    
49	    	
                    
80	    	
                    
81	    	var params = 'username=' + encodeURIComponent(username)
                    
82	    		+ '&password=' + encodeURIComponent(password);
                    
                
hasher.js https://gitlab.com/Mirros/cdnjs | JavaScript | 419 lines
                    
176    function _encodePath(path){
                    
177        //used encodeURI instead of encodeURIComponent to preserve '?', '/',
                    
178        //'#'. Fixes Safari bug [issue #8]
                    
                
url.js https://gitlab.com/Mirros/cdnjs | JavaScript | 327 lines
                    
138					pairs.forEach(function (pair) {
                    
139						var name = encodeURIComponent(pair.name);
                    
140						var value = encodeURIComponent(pair.value);
                    
                
SignedJSONRequest.js https://gitlab.com/x33n/ChromeWebLab | JavaScript | 334 lines
                    
164                parse: function(a) {
                    
165                    return o.parse(unescape(encodeURIComponent(a)))
                    
166                }
                    
                
oauth.js https://gitlab.com/Mirros/cdnjs | JavaScript | 308 lines
                    
64         *      client_id :  "<%=consumerKey%>",
                    
65         *      redirect_uri : encodeURIComponent("/sdk/callback.html")
                    
66         *      }});
                    
                
sha1.js https://gitlab.com/link233/bootmw | JavaScript | 147 lines
                    
53  // utf8_encode
                    
54  str = unescape(encodeURIComponent(str));
                    
55  var str_len = str.length;
                    
                
quo.debug.js https://gitlab.com/albertkeba/directory | JavaScript | 1357 lines
                    
189          }
                    
190          serialize += "" + (encodeURIComponent(parameter)) + "=" + (encodeURIComponent(parameters[parameter]));
                    
191        }
                    
                
challenge.js https://gitlab.com/Aaeinstein54/FreeCodeCamp | JavaScript | 630 lines
                    
153        if (solution) {
                    
154          redirectUrl += `?solution=${encodeURIComponent(solution)}`;
                    
155        }
                    
                
angular.js https://gitlab.com/boxnia/NFU_MOVIL | JavaScript | 1691 lines
                    
64      message += paramPrefix + 'p' + (i - SKIP_INDEXES) + '=' +
                    
65        encodeURIComponent(toDebugString(templateArgs[i]));
                    
66    }
                    
                
util.js https://gitlab.com/Mirros/libs | JavaScript | 929 lines
                    
86}
                    
87var urlEncode = encodeURIComponent;
                    
88var urlDecode = decodeURIComponent;
                    
                
ZeroClipboard.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 1480 lines
                    
14 */
                    
15  var _window = window, _document = _window.document, _navigator = _window.navigator, _setTimeout = _window.setTimeout, _clearTimeout = _window.clearTimeout, _setInterval = _window.setInterval, _clearInterval = _window.clearInterval, _getComputedStyle = _window.getComputedStyle, _encodeURIComponent = _window.encodeURIComponent, _ActiveXObject = _window.ActiveXObject, _Error = _window.Error, _parseInt = _window.Number.parseInt || _window.parseInt, _parseFloat = _window.Number.parseFloat || _window.parseFloat, _isNaN = _window.Number.isNaN || _window.isNaN, _now = _window.Date.now, _keys = _window.Object.keys, _defineProperty = _window.Object.defineProperty, _hasOwn = _window.Object.prototype.hasOwnProperty, _slice = _window.Array.prototype.slice, _unwrap = function() {
                    
16    var unwrapper = function(el) {
                    
                
ZeroClipboard.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 1537 lines
                    
14 */
                    
15  var _window = window, _document = _window.document, _navigator = _window.navigator, _setTimeout = _window.setTimeout, _encodeURIComponent = _window.encodeURIComponent, _ActiveXObject = _window.ActiveXObject, _Error = _window.Error, _parseInt = _window.Number.parseInt || _window.parseInt, _parseFloat = _window.Number.parseFloat || _window.parseFloat, _isNaN = _window.Number.isNaN || _window.isNaN, _round = _window.Math.round, _now = _window.Date.now, _keys = _window.Object.keys, _defineProperty = _window.Object.defineProperty, _hasOwn = _window.Object.prototype.hasOwnProperty, _slice = _window.Array.prototype.slice, _unwrap = function() {
                    
16    var unwrapper = function(el) {
                    
                
ZeroClipboard.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 1537 lines
                    
14 */
                    
15  var _window = window, _document = _window.document, _navigator = _window.navigator, _setTimeout = _window.setTimeout, _encodeURIComponent = _window.encodeURIComponent, _ActiveXObject = _window.ActiveXObject, _Error = _window.Error, _parseInt = _window.Number.parseInt || _window.parseInt, _parseFloat = _window.Number.parseFloat || _window.parseFloat, _isNaN = _window.Number.isNaN || _window.isNaN, _round = _window.Math.round, _now = _window.Date.now, _keys = _window.Object.keys, _defineProperty = _window.Object.defineProperty, _hasOwn = _window.Object.prototype.hasOwnProperty, _slice = _window.Array.prototype.slice;
                    
16  /**
                    
                
ZeroClipboard.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 1521 lines
                    
14 */
                    
15  var _window = window, _document = _window.document, _navigator = _window.navigator, _setTimeout = _window.setTimeout, _encodeURIComponent = _window.encodeURIComponent, _ActiveXObject = _window.ActiveXObject, _parseInt = _window.Number.parseInt || _window.parseInt, _parseFloat = _window.Number.parseFloat || _window.parseFloat, _isNaN = _window.Number.isNaN || _window.isNaN, _round = _window.Math.round, _now = _window.Date.now, _keys = _window.Object.keys, _defineProperty = _window.Object.defineProperty, _hasOwn = _window.Object.prototype.hasOwnProperty, _slice = _window.Array.prototype.slice;
                    
16  /**
                    
                
ZeroClipboard.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 1556 lines
                    
14 */
                    
15  var _window = window, _document = _window.document, _navigator = _window.navigator, _setTimeout = _window.setTimeout, _parseInt = _window.Number.parseInt || _window.parseInt, _parseFloat = _window.Number.parseFloat || _window.parseFloat, _isNaN = _window.Number.isNaN || _window.isNaN, _encodeURIComponent = _window.encodeURIComponent, _Math = _window.Math, _Date = _window.Date, _ActiveXObject = _window.ActiveXObject, _slice = _window.Array.prototype.slice, _keys = _window.Object.keys, _hasOwn = _window.Object.prototype.hasOwnProperty, _defineProperty = function() {
                    
16    if (typeof _window.Object.defineProperty === "function" && function() {
                    
                
ZeroClipboard.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 469 lines
                    
184    if (origins.length) {
                    
185      str.push("trustedOrigins=" + encodeURIComponent(origins.join(",")));
                    
186    }
                    
187    if (typeof options.amdModuleId === "string" && options.amdModuleId) {
                    
188      str.push("amdModuleId=" + encodeURIComponent(options.amdModuleId));
                    
189    }
                    
190    if (typeof options.cjsModuleId === "string" && options.cjsModuleId) {
                    
191      str.push("cjsModuleId=" + encodeURIComponent(options.cjsModuleId));
                    
192    }
                    
                
ZeroClipboard.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 432 lines
                    
172      }
                    
173      str.push("trustedDomain=" + encodeURIComponent(domains.join(",")));
                    
174    }
                    
175    if (typeof options.amdModuleId === "string" && options.amdModuleId) {
                    
176      str.push("amdModuleId=" + encodeURIComponent(options.amdModuleId));
                    
177    }
                    
178    if (typeof options.cjsModuleId === "string" && options.cjsModuleId) {
                    
179      str.push("cjsModuleId=" + encodeURIComponent(options.cjsModuleId));
                    
180    }
                    
                
lazy-model-list.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 525 lines
                    
173        if (this.attrAdded(name)) {
                    
174            return encodeURIComponent(AttrProto.get.apply(this, arguments));
                    
175        }
                    
177        return YArray.map(this._items, function (item) {
                    
178            return encodeURIComponent(item[name]);
                    
179        });
                    
                
cookie.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 515 lines
                    
24        isFunction  = L.isFunction,
                    
25        encode      = encodeURIComponent,
                    
26        decode      = decodeURIComponent,
                    
                
widget.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 1275 lines
                    
118
                    
119			attrs += name+'="'+encodeURIComponent(value)+'" ';
                    
120		}
                    
140		if(!value || value == "Array") continue;
                    
141		attrs += name+'="'+encodeURIComponent(value)+'" ';
                    
142	}
                    
168
                    
169		attrs += name+'="'+encodeURIComponent(value)+'" ';
                    
170	}
                    
                
treesaver.debug.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 1596 lines
                    
169        case "$":
                    
170          return encodeURIComponent(that.find(name, context));
                    
171        default: // escape the value
                    
                
socialite.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 711 lines
                    
15        rstate    = /^($|loaded|complete)/,
                    
16        euc       = window.encodeURIComponent;
                    
17
                    
                
sammy.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 1347 lines
                    
28      _decode = function( str ) { return decodeURIComponent((str || '').replace(/\+/g, ' ')); },
                    
29      _encode = encodeURIComponent,
                    
30      _escapeHTML = function(s) {
                    
                
portal.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 1783 lines
                    
111				value = portal.support.isFunction(value) ? value() : (value == null ? "" : value);
                    
112				s.push(encodeURIComponent(key) + "=" + encodeURIComponent(value));
                    
113			}
                    
                
piwik.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 1469 lines
                    
18 * - IE4 - try..catch and for..in introduced in IE5
                    
19 * - IE5 - named anonymous functions, array.push, encodeURIComponent, decodeURIComponent, and getElementsByTagName introduced in IE5.5
                    
20 * - Firefox 1.0 and Netscape 8.x - FF1.5 adds array.indexOf, among other things
                    
392/*global ActiveXObject */
                    
393/*members encodeURIComponent, decodeURIComponent, getElementsByTagName,
                    
394    shift, unshift,
                    
                
oauth.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 644 lines
                    
153				var url = config.oauthd_base + '/auth/' + provider + "?k=" + config.key;
                    
154				url += '&d=' + encodeURIComponent(getAbsUrl('/'));
                    
155				if (opts)
                    
155				if (opts)
                    
156					url += "&opts=" + encodeURIComponent(JSON.stringify(opts));
                    
157
                    
215				createCookie("oauthio_state", opts.state);
                    
216				var redirect_uri = encodeURIComponent(getAbsUrl(url));
                    
217				url = config.oauthd_base + '/auth/' + provider + "?k=" + config.key;
                    
244					for (var k in options.oauthio.tokens)
                    
245						options.headers.oauthio += '&' + encodeURIComponent(k) + '=' + encodeURIComponent(options.oauthio.tokens[k]);
                    
246					delete options.oauthio;
                    
258					for (i in (options.oauthio.request.query||{}))
                    
259						qs.push(encodeURIComponent(i) + '=' + encodeURIComponent(
                    
260							replaceParam(options.oauthio.request.query[i], {
                    
                
mediaelement-and-player.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 1666 lines
                    
46	encodeUrl: function(url) {
                    
47		return encodeURIComponent(url); //.replace(/\?/gi,'%3F').replace(/=/gi,'%3D').replace(/&/gi,'%26');
                    
48	},
                    
                
esri-leaflet-basemaps-src.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 586 lines
                    
67
                    
68        data += encodeURIComponent(key) + '=' + encodeURIComponent(value);
                    
69      }
                    
                
leaflet-src.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 2053 lines
                    
132		for (var i in obj) {
                    
133			params.push(encodeURIComponent(uppercase ? i.toUpperCase() : i) + '=' + encodeURIComponent(obj[i]));
                    
134		}
                    
                
nacl_factory.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 500 lines
                    
111  this.yb = function(a) {
                    
112    for(var a = unescape(encodeURIComponent(a)), b = [], f = 0;f < a.length;f++) {
                    
113      b.push(a.charCodeAt(f))
                    
                
jquery.layout.state.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 474 lines
                    
78		if (o.secure)	params += ";secure";
                    
79		document.cookie = name +"="+ (clear ? "" : encodeURIComponent( val )) + params; // write or clear cookie
                    
80	}
                    
                
sharing.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 351 lines
                    
3		if ( jQuery( '#sharing-facebook-' + WPCOM_sharing_counts[ url ] ).length )
                    
4			jQuery.getScript( 'https://graph.facebook.com/' + encodeURIComponent( url ) + '?callback=WPCOMSharing.update_facebook_count' );
                    
5		if ( jQuery( '#sharing-twitter-' + WPCOM_sharing_counts[ url ] ).length )
                    
5		if ( jQuery( '#sharing-twitter-' + WPCOM_sharing_counts[ url ] ).length )
                    
6			jQuery.getScript( 'http://urls.api.twitter.com/1/urls/count.json?callback=WPCOMSharing.update_twitter_count&url=' + encodeURIComponent( url ) );
                    
7		if ( jQuery( '#sharing-linkedin-' + WPCOM_sharing_counts[ url ] ).length )
                    
7		if ( jQuery( '#sharing-linkedin-' + WPCOM_sharing_counts[ url ] ).length )
                    
8			jQuery.getScript( 'http://www.linkedin.com/countserv/count/share?format=jsonp&callback=WPCOMSharing.update_linkedin_count&url=' + encodeURIComponent( url ) );
                    
9	},
                    
                
jasmine-html.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 681 lines
                    
213  if (sectionName) {
                    
214    params.push('spec=' + encodeURIComponent(sectionName));
                    
215  }
                    
408        className: 'description',
                    
409        href: '?spec=' + encodeURIComponent(this.spec.getFullName()),
                    
410        title: this.spec.getFullName()
                    
                
i18next-1.6.0.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 1426 lines
                    
187                if(data.hasOwnProperty(dataItem)) {
                    
188                    result.push(encodeURIComponent(dataItem) + '=' + encodeURIComponent(data[dataItem]));
                    
189                }
                    
                
history.html4.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 685 lines
                    
88		History.isHashEqual = function(newHash, oldHash){
                    
89			newHash = encodeURIComponent(newHash).replace(/%25/g, "%");
                    
90			oldHash = encodeURIComponent(oldHash).replace(/%25/g, "%");
                    
                
elastic.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 1574 lines
                    
181      
                    
182      parts.push(p + '=' + encodeURIComponent(clientParams[p]));
                    
183    }
                    
                
easyXDM.debug.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 1293 lines
                    
23 */
                    
24(function (window, document, location, setTimeout, decodeURIComponent, encodeURIComponent) {
                    
25/*jslint evil: true, browser: true, immed: true, passfail: true, undef: true, newcap: true*/
                    
368        if (parameters.hasOwnProperty(key)) {
                    
369            q.push(key + "=" + encodeURIComponent(parameters[key]));
                    
370        }
                    
                
core.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 712 lines
                    
452        parse: function (utf8Str) {
                    
453            return Latin1.parse(unescape(encodeURIComponent(utf8Str)));
                    
454        }
                    
                
plugin.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 656 lines
                    
29				// trigger iframe's 'load' event.
                    
30				src = CKEDITOR.env.air ? 'javascript:void(0)' : CKEDITOR.env.ie ? 'javascript:void(function(){' + encodeURIComponent( src ) + '}())'
                    
31					:
                    
                
link.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 1293 lines
                    
301			i > 0 && retval.push( ',' );
                    
302			retval.push( '\'', paramValue ? escapeSingleQuote( encodeURIComponent( email[ paramName ] ) ) : '', '\'' );
                    
303		}
                    
                
docprops.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 608 lines
                    
148	var previewSrc = 'javascript:' +
                    
149		'void((function(){' + encodeURIComponent(
                    
150			'document.open();' +
                    
                
bootstrap-tagsinput.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 663 lines
                    
142      var optionExists = (
                    
143        $('option[value="' + encodeURIComponent(itemValue) + '"]', self.$element).length ||
                    
144        $('option[value="' + htmlEncode(itemValue) + '"]', self.$element).length
                    
                
bootstrap-tagsinput.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 617 lines
                    
132      // add <option /> if item represents a value not present in one of the <select />'s options
                    
133      if (self.isSelect && !$('option[value="' + encodeURIComponent(itemValue) + '"]',self.$element)[0]) {
                    
134        var $option = $('<option selected>' + htmlEncode(itemText) + '</option>');
                    
                
 

Source

Language