PageRenderTime 327ms queryTime 41ms sortTime 5ms getByIdsTime 138ms findMatchingLines 78ms

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

Not the results you expected?
angular-loader.js https://gitlab.com/Mirros/cdnjs | JavaScript | 420 lines
                    
75      message = message + (i == 2 ? '?' : '&') + 'p' + (i-2) + '=' +
                    
76        encodeURIComponent(stringify(arguments[i]));
                    
77    }
                    
                
angular-loader.js https://gitlab.com/Mirros/cdnjs | JavaScript | 405 lines
                    
61      message = message + (i == 2 ? '?' : '&') + 'p' + (i - 2) + '=' +
                    
62        encodeURIComponent(toDebugString(arguments[i]));
                    
63    }
                    
                
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;
                    
                
Misc.php https://gitlab.com/endomorphosis/falkenstein | PHP | 401 lines
                    
47    /**
                    
48     * Simulate the encodeURIComponent() function available in JavaScript
                    
49     * @static
                    
53     */
                    
54    function encodeURIComponent($str)
                    
55    {
                    
                
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);
                    
                
angular-cookies.js https://gitlab.com/Mirros/cdnjs | JavaScript | 320 lines
                    
287
                    
288    var str = encodeURIComponent(name) + '=' + encodeURIComponent(value);
                    
289    str += path ? ';path=' + path : '';
                    
                
2012-14-189.html https://gitlab.com/bernagg/TI | HTML | 173 lines
                    
42
                    
43<form id="search-form" method="get" action="http://socialnetworks.on-myweb.com/" onsubmit="location.href=this.action+'search/'+encodeURIComponent(this.s.value).replace(/%20/g, '+'); return false;">
                    
44	<input type="text" id="s" name="s" value="" size="15" />
                    
                
connection-min.js https://gitlab.com/18runt88/2in3 | 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';}
                    
                
bootstrap-table-cookie.js https://gitlab.com/Mirros/cdnjs | 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;
                    
                
web_socket.js https://gitlab.com/Mirros/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
                    
                
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.
                    
                
core-min.js https://gitlab.com/Mirros/cdnjs | 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);
                    
                
dust-core.js https://gitlab.com/Mirros/cdnjs | JavaScript | 577 lines
                    
108  u: encodeURI,
                    
109  uc: encodeURIComponent
                    
110}
                    
                
script.js https://gitlab.com/che234/adn | JavaScript | 350 lines
                    
56				url = url.replace('http://', '');
                    
57				url = 'index.php?rl_qp=1&url=' + encodeURIComponent(url);
                    
58				if (timeout) {
                    
                
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()
                    
                
dust-core-1.2.3.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 622 lines
                    
126  u: encodeURI,
                    
127  uc: encodeURIComponent,
                    
128  js: function(value) { if (!JSON) { return value; } return JSON.stringify(value); },
                    
                
autocomplete-sources.js https://gitlab.com/Mirros/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        });
                    
                
bootstrap-table-cookie.js https://gitlab.com/Mirros/cdnjs | JavaScript | 234 lines
                    
37
                    
38        document.cookie = encodeURIComponent(cookieName) + '=' + encodeURIComponent(sValue) + calculateExpiration(vEnd) + (sDomain ? '; domain=' + sDomain : '') + (sPath ? '; path=' + sPath : '') + (bSecure ? '; secure' : '');
                    
39        return true;
                    
46        }
                    
47        return decodeURIComponent(document.cookie.replace(new RegExp('(?:(?:^|.*;)\\s*' + encodeURIComponent(cookieName).replace(/[\-\.\+\*]/g, '\\$&') + '\\s*\\=\\s*([^;]*).*$)|^.*$'), '$1')) || null;
                    
48    };
                    
53        }
                    
54        return (new RegExp('(?:^|;\\s*)' + encodeURIComponent(cookieName).replace(/[\-\.\+\*]/g, '\\$&') + '\\s*\\=')).test(document.cookie);
                    
55    };
                    
61        }
                    
62        document.cookie = encodeURIComponent(cookieName) + '=; expires=Thu, 01 Jan 1970 00:00:00 GMT' + (sDomain ? '; domain=' + sDomain : '') + (sPath ? '; path=' + sPath : '');
                    
63        return true;
                    
                
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		},
                    
                
socialite.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 457 lines
                    
25		sto = window.setTimeout,
                    
26		euc = encodeURIComponent,
                    
27		gcn = typeof document.getElementsByClassName === 'function';
                    
                
querystring-stringify-debug.js https://gitlab.com/Mirros/cdnjs | JavaScript | 112 lines
                    
20 * (en|de)codeURIComponent functions.
                    
21 * Default: encodeURIComponent
                    
22 * @module querystring
                    
26 **/
                    
27QueryString.escape = encodeURIComponent;
                    
28
                    
                
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);
                    
                
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        });
                    
                
cubism.v1.js https://gitlab.com/Mirros/cdnjs | JavaScript | 1331 lines
                    
168      d3.json(host + "/1.0/metric"
                    
169          + "?expression=" + encodeURIComponent(expression)
                    
170          + "&start=" + cubism_cubeFormatDate(start)
                    
389      d3.text(host + "/render?format=raw"
                    
390          + "&target=" + encodeURIComponent("alias(" + target + ",'')")
                    
391          + "&from=" + cubism_graphiteFormatDate(start - 2 * step) // off-by-two?
                    
407    d3.json(host + "/metrics/find?format=completer"
                    
408        + "&query=" + encodeURIComponent(pattern), function(result) {
                    
409      if (!result) return callback(new Error("unable to find metrics"));
                    
                
cubism.v1.js https://gitlab.com/Mirros/cdnjs | JavaScript | 995 lines
                    
168      d3.json(host + "/1.0/metric"
                    
169          + "?expression=" + encodeURIComponent(expression)
                    
170          + "&start=" + cubism_cubeFormatDate(start)
                    
195      d3.text(host + "/render?format=raw"
                    
196          + "&target=" + encodeURIComponent("alias(" + expression + ",'')")
                    
197          + "&from=" + cubism_graphiteFormatDate(start - 2 * step) // off-by-two?
                    
208    d3.json(host + "/metrics/find?format=completer"
                    
209        + "&query=" + encodeURIComponent(pattern), function(result) {
                    
210      if (!result) return callback(new Error("unable to find metrics"));
                    
                
core.js https://gitlab.com/Mirros/cdnjs | JavaScript | 712 lines
                    
452        parse: function (utf8Str) {
                    
453            return Latin1.parse(unescape(encodeURIComponent(utf8Str)));
                    
454        }
                    
                
chibi.js https://gitlab.com/Mirros/cdnjs | JavaScript | 777 lines
                    
80	function queryPair(name, value) {
                    
81		return encodeURIComponent(name).replace(/%20/g, '+') + '=' + encodeURIComponent(value).replace(/%20/g, '+');
                    
82	}
                    
                
caman.js https://gitlab.com/Mirros/cdnjs | JavaScript | 1904 lines
                    
131      // We have a remote proxy setup properly, so lets alter the image src
                    
132      return Caman.remoteProxy + "?url=" + encodeURIComponent(src);
                    
133    }
                    
                
bootstrap-tagsinput.js https://gitlab.com/Mirros/cdnjs | JavaScript | 658 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/cdnjs | JavaScript | 621 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>');
                    
                
axios.amd.js https://gitlab.com/Mirros/cdnjs | JavaScript | 1355 lines
                    
218	function encode(val) {
                    
219	  return encodeURIComponent(val).
                    
220	    replace(/%40/gi, '@').
                    
270	    var cookie = [];
                    
271	    cookie.push(name + '=' + encodeURIComponent(value));
                    
272	
                    
                
angularsubkit.js https://gitlab.com/Mirros/cdnjs | JavaScript | 1405 lines
                    
294					var deferred = subkit.$q.defer();				
                    
295					var url = subkit.baseUrl + '/manage/permissions/' + encodeURIComponent(key);
                    
296					subkit.httpRequest.post(url, subkit.options, function(status, result){
                    
304					var deferred = subkit.$q.defer();
                    
305					var url = subkit.baseUrl + '/manage/permissions/' + encodeURIComponent(key);
                    
306					subkit.httpRequest.del(url, subkit.options, function(status, result){
                    
314					var deferred = subkit.$q.defer();
                    
315					var url = subkit.baseUrl + '/manage/permissions/' + encodeURIComponent(key) + '/action/grantinsert/' + identity;
                    
316					subkit.httpRequest.put(url, subkit.options, function(status, result){
                    
324					var deferred = subkit.$q.defer();
                    
325					var url = subkit.baseUrl + '/manage/permissions/' + encodeURIComponent(key) + '/action/grantupdate/' + identity;
                    
326					subkit.httpRequest.put(url, subkit.options, function(status, result){
                    
                
angular.js https://gitlab.com/Mirros/cdnjs | JavaScript | 1696 lines
                    
64      message += paramPrefix + 'p' + (i - SKIP_INDEXES) + '=' +
                    
65        encodeURIComponent(toDebugString(templateArgs[i]));
                    
66    }
                    
                
analytics.js https://gitlab.com/Mirros/cdnjs | JavaScript | 2352 lines
                    
358
                    
359var encode = encodeURIComponent;
                    
360
                    
                
algoliasearch.js https://gitlab.com/Mirros/cdnjs | JavaScript | 979 lines
                    
171        this._jsonRequest({ method: 'DELETE',
                    
172                            url: '/1/indexes/' + encodeURIComponent(indexName),
                    
173                            callback: callback });
                    
185        this._jsonRequest({ method: 'POST',
                    
186                            url: '/1/indexes/' + encodeURIComponent(srcIndexName) + '/operation',
                    
187                            body: postObj,
                    
201        this._jsonRequest({ method: 'POST',
                    
202                            url: '/1/indexes/' + encodeURIComponent(srcIndexName) + '/operation',
                    
203                            body: postObj,
                    
                
algoliasearch.js https://gitlab.com/Mirros/cdnjs | JavaScript | 617 lines
                    
325                method: "PUT",
                    
326                url: "/1/indexes/" + encodeURIComponent(indexObj.indexName) + "/" + encodeURIComponent(objectID),
                    
327                body: content,
                    
364            method: "GET",
                    
365            url: "/1/indexes/" + encodeURIComponent(indexObj.indexName) + "/" + encodeURIComponent(objectID) + params,
                    
366            callback: callback
                    
372            method: "POST",
                    
373            url: "/1/indexes/" + encodeURIComponent(indexObj.indexName) + "/" + encodeURIComponent(partialObject.objectID) + "/partial",
                    
374            body: partialObject,
                    
401            method: "PUT",
                    
402            url: "/1/indexes/" + encodeURIComponent(indexObj.indexName) + "/" + encodeURIComponent(object.objectID),
                    
403            body: object,
                    
436            method: "DELETE",
                    
437            url: "/1/indexes/" + encodeURIComponent(indexObj.indexName) + "/" + encodeURIComponent(objectID),
                    
438            callback: callback
                    
                
URI.js https://gitlab.com/Mirros/cdnjs | JavaScript | 947 lines
                    
66// convenience
                    
67URI.encode = encodeURIComponent;
                    
68URI.decode = decodeURIComponent;
                    
274    // Note that Wikipedia is nice, but it is NOT a reference
                    
275    // For the time being a full encodeURIComponent won't hurt (much?)
                    
276    // https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/encodeURI
                    
276    // https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/encodeURI
                    
277    // https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/encodeURIComponent
                    
278
                    
                
URI.js https://gitlab.com/Mirros/cdnjs | JavaScript | 899 lines
                    
67// convenience
                    
68URI.encode = encodeURIComponent;
                    
69URI.decode = decodeURIComponent;
                    
                
util.js https://gitlab.com/imxieke/XCloud | JavaScript | 929 lines
                    
86}
                    
87var urlEncode = encodeURIComponent;
                    
88var urlDecode = decodeURIComponent;
                    
                
util.js https://gitlab.com/imxieke/Ghost | JavaScript | 645 lines
                    
45  uriEscape: function uriEscape(string) {
                    
46    var output = encodeURIComponent(string);
                    
47    output = output.replace(/[^A-Za-z0-9_.~\-%]+/g, escape);
                    
                
util-browser.js https://gitlab.com/imxieke/Ghost | JavaScript | 698 lines
                    
78    // http://v8.googlecode.com/svn/trunk/src/uri.js
                    
79    return encodeURIComponent(clearString)
                    
80      .replace(/\!/gi, '%21')
                    
88    /*jshint undef:false */
                    
89    var output = encodeURIComponent(string);
                    
90    output = output.replace(/[^A-Za-z0-9_.~\-%]+/g, escape);
                    
                
javascript.js https://gitlab.com/Drulenium-test/pantheon-travis | JavaScript | 212 lines
                    
51    // https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects
                    
52    'Array,ArrayBuffer,Boolean,Date,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Error,eval,EvalError,Float32Array,Float64Array,Function,Infinity,Int16Array,Int32Array,Int8Array,isFinite,isNaN,Iterator,JSON,Math,NaN,Number,Object,parseFloat,parseInt,RangeError,ReferenceError,RegExp,StopIteration,String,SyntaxError,TypeError,Uint16Array,Uint32Array,Uint8Array,Uint8ClampedArray,undefined,uneval,URIError,' +
                    
53    // https://developer.mozilla.org/en/DOM/window
                    
                
code.js https://gitlab.com/Drulenium-test/pantheon-travis | JavaScript | 539 lines
                    
168  var languageMenu = document.getElementById('languageMenu');
                    
169  var newLang = encodeURIComponent(
                    
170      languageMenu.options[languageMenu.selectedIndex].value);
                    
                
leaflet.js https://gitlab.com/tutaalexandr/urthecast.local | JavaScript | 993 lines
                    
68                var n = [];
                    
69                for (var o in t) n.push(encodeURIComponent(i ? o.toUpperCase() : o) + "=" + encodeURIComponent(t[o]));
                    
70                return (e && -1 !== e.indexOf("?") ? "&" : "?") + n.join("&")
                    
                
testrunner.js https://gitlab.com/endomorphosis/aegir | JavaScript | 780 lines
                    
439				target.children().remove();
                    
440				location.href = location.href.match(/^(.+?)(\?.*)?$/)[1] + "?" + encodeURIComponent($.trim(target.text()));
                    
441			}
                    
                
plugin.js https://gitlab.com/endomorphosis/falkenstein | JavaScript | 533 lines
                    
133			for ( var i in params )
                    
134				queryString.push( i + "=" + encodeURIComponent( params[ i ] ) );
                    
135		}
                    
                
docprops.js https://gitlab.com/endomorphosis/falkenstein | JavaScript | 674 lines
                    
171		'void((function(){' +
                    
172			encodeURIComponent(
                    
173				'document.open();' +
                    
                
link.js https://gitlab.com/elasa/vb-elasa.ir | JavaScript | 1426 lines
                    
365						 paramValue ?
                    
366						 escapeSingleQuote( encodeURIComponent( email[ paramName ] ) )
                    
367						 : '',
                    
                
order-opc.js https://gitlab.com/elasa/shop2.elasa.ir | JavaScript | 988 lines
                    
88				dataType : "json",
                    
89				data: 'SubmitLogin=true&ajax=true&email='+encodeURIComponent($('#login_email').val())+'&passwd='+encodeURIComponent($('#login_passwd').val())+'&token=' + static_token ,
                    
90				success: function(jsonData)
                    
153					if ($(this).is(':checked'))
                    
154						params += encodeURIComponent($(this).attr('name'))+'=1&';
                    
155				}
                    
158					if ($(this).is(':checked'))
                    
159						params += encodeURIComponent($(this).attr('name'))+'='+encodeURIComponent($(this).val())+'&';
                    
160				}
                    
161				else
                    
162					params += encodeURIComponent($(this).attr('name'))+'='+encodeURIComponent($(this).val())+'&';
                    
163			});
                    
165			$('#opc_account_form select:visible').each(function() {
                    
166				params += encodeURIComponent($(this).attr('name'))+'='+encodeURIComponent($(this).val())+'&';
                    
167			});
                    
                
styleswitcher.js https://gitlab.com/rodrigo-brave/template | JavaScript | 412 lines
                    
15 */
                    
16(function(a){if(typeof define==="function"&&define.amd&&define.amd.jQuery){define(["jquery"],a)}else{a(jQuery)}}(function(e){var a=/\+/g;function d(g){return g}function b(g){return decodeURIComponent(g.replace(a," "))}function f(g){if(g.indexOf('"')===0){g=g.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\")}try{return c.json?JSON.parse(g):g}catch(h){}}var c=e.cookie=function(p,o,u){if(o!==undefined){u=e.extend({},c.defaults,u);if(typeof u.expires==="number"){var q=u.expires,s=u.expires=new Date();s.setDate(s.getDate()+q)}o=c.json?JSON.stringify(o):String(o);return(document.cookie=[encodeURIComponent(p),"=",c.raw?o:encodeURIComponent(o),u.expires?"; expires="+u.expires.toUTCString():"",u.path?"; path="+u.path:"",u.domain?"; domain="+u.domain:"",u.secure?"; secure":""].join(""))}var g=c.raw?d:b;var r=document.cookie.split("; ");var v=p?undefined:{};for(var n=0,k=r.length;n<k;n++){var m=r[n].split("=");var h=g(m.shift());var j=g(m.join("="));if(p&&p===h){v=f(j);break}if(!p){v[h]=f(j)}}return v};c.defaults={};e.removeCookie=function(h,g){if(e.cookie(h)!==undefined){e.cookie(h,"",e.extend(g,{expires:-1}));return true}return false}}));
                    
17
                    
                
qunit.js https://gitlab.com/chhumsina/cambolocation | JavaScript | 1914 lines
                    
196						if ( window.location ) {
                    
197							window.location.href = window.location.href.match(/^(.+?)(\?.*)?$/)[1] + "?" + encodeURIComponent(text);
                    
198						}
                    
                
lib.core.es7.d.ts https://gitlab.com/remynaps/Vexillarius | TypeScript Typings | 1187 lines
                    
78  */
                    
79declare function encodeURIComponent(uriComponent: string): string;
                    
80
                    
                
jquery.ba-bbq.js https://gitlab.com/mrman/konvention | JavaScript | 1137 lines
                    
340    chars = chars || '';
                    
341    var arr = $.map( chars.split(''), encodeURIComponent );
                    
342    re_no_escape = new RegExp( arr.join('|'), 'g' );
                    
                
connection.js https://gitlab.com/marioalvarez/ferrominio | JavaScript | 1359 lines
                    
231					if(obj.type == 'submit'){
                    
232						YAHOO.util.Connect._submitElementValue = encodeURIComponent(obj.name) + "=" + encodeURIComponent(obj.value);
                    
233					}
                    
                
embed.js https://gitlab.com/vicnicius/professorz | JavaScript | 696 lines
                    
317            for (index in parameters) {
                    
318              urlString.push( encodeURIComponent(index) + '=' + encodeURIComponent( parameters[index] ) );
                    
319            }
                    
                
index.js https://gitlab.com/JuanCalcagnoDev/CertFront | JavaScript | 645 lines
                    
263    var isDir = file.stat && file.stat.isDirectory();
                    
264    var path = dir.split('/').map(function (c) { return encodeURIComponent(c); });
                    
265
                    
283
                    
284    path.push(encodeURIComponent(file.name));
                    
285
                    
355    if (part) {
                    
356      parts[i] = encodeURIComponent(part);
                    
357      crumb[i] = '<a href="' + escapeHtml(parts.slice(0, i + 1).join('/')) + '">' + escapeHtml(part) + '</a>';
                    
                
webcomponents-lite.js https://gitlab.com/hemantr/Test04 | JavaScript | 1581 lines
                    
93    }
                    
94    return encodeURIComponent(c);
                    
95  }
                    
100    }
                    
101    return encodeURIComponent(c);
                    
102  }
                    
                
browser.js https://gitlab.com/hemantr/Test04 | JavaScript | 1680 lines
                    
218    params[key].forEach(function(value) {
                    
219      pairs.push(encodeURIComponent(key) + '=' + encodeURIComponent(value));
                    
220    });
                    
                
javascript_highlight_rules.js https://gitlab.com/c9-mirror/core | JavaScript | 405 lines
                    
47            "SyntaxError|TypeError|URIError|"                                          +
                    
48            "decodeURI|decodeURIComponent|encodeURI|encodeURIComponent|eval|isFinite|" + // Non-constructor functions
                    
49            "isNaN|parseFloat|parseInt|"                                               +
                    
                
vue-dev.js https://gitlab.com/alexprowars/bitrix | JavaScript | 1528 lines
                    
64const GLOBALS_WHITE_LISTED = 'Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,' +
                    
65    'decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,' +
                    
66    'Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt';
                    
                
router.js https://gitlab.com/alexprowars/bitrix | JavaScript | 1947 lines
                    
42
                    
43// fixed encodeURIComponent which is more conformant to RFC3986:
                    
44// - escapes [!'()*]
                    
46const encode = str =>
                    
47  encodeURIComponent(str)
                    
48    .replace(encodeReserveRE, encodeReserveReplacer)
                    
                
client.js https://gitlab.com/alexprowars/bitrix | JavaScript | 754 lines
                    
167					{
                    
168						result += encodeURIComponent(key + "[" + index + "]") + "=" + encodeURIComponent(valueElement) + "&";
                    
169					});
                    
172				{
                    
173					result += encodeURIComponent(key) + "=" + encodeURIComponent(value) + "&";
                    
174				}
                    
500	{
                    
501		return encodeURIComponent(str);
                    
502	};
                    
                
script.js https://gitlab.com/alexprowars/bitrix | JavaScript | 641 lines
                    
138
                    
139			var url = _this.arParams.AJAX_PAGE+'?MODE=search&win_id=' + _this.arParams.WIN.id + '&search=' + encodeURIComponent(_this._value);
                    
140			if (_this.arParams.AJAX_PARAMS)
                    
142				for(var param_name in _this.arParams.AJAX_PARAMS)
                    
143					url += '&' + param_name + '=' + encodeURIComponent(_this.arParams.AJAX_PARAMS[param_name]);
                    
144			}
                    
391			for(var param_name in this.arParams.AJAX_PARAMS)
                    
392				url += '&' + param_name + '=' + encodeURIComponent(this.arParams.AJAX_PARAMS[param_name]);
                    
393		}
                    
468				for(var param_name in this.arParams.AJAX_PARAMS)
                    
469					url += '&' + param_name + '=' + encodeURIComponent(this.arParams.AJAX_PARAMS[param_name]);
                    
470			}
                    
                
script.js https://gitlab.com/alexprowars/bitrix | JavaScript | 1277 lines
                    
52
                    
53		url += '&search=' + encodeURIComponent(_this._currentSearchStr);
                    
54		if (_this.arParams.AJAX_PARAMS)
                    
56			for(var param_name in _this.arParams.AJAX_PARAMS)
                    
57				url += '&' + param_name + '=' + encodeURIComponent(_this.arParams.AJAX_PARAMS[param_name]);
                    
58		}
                    
235
                    
236		url += '&search=' + encodeURIComponent(str);
                    
237		if (_this.arParams.AJAX_PARAMS)
                    
239			for(var param_name in _this.arParams.AJAX_PARAMS)
                    
240				url += '&' + param_name + '=' + encodeURIComponent(_this.arParams.AJAX_PARAMS[param_name]);
                    
241		}
                    
409
                    
410				url += '&search=' + encodeURIComponent(str);
                    
411				if (this.arParams.AJAX_PARAMS)
                    
                
jasmine-html.js https://gitlab.com/JuniorMeza/Pruebadeapp | JavaScript | 616 lines
                    
335        className: 'description',
                    
336        href: '?spec=' + encodeURIComponent(this.spec.getFullName()),
                    
337        title: this.spec.getFullName()
                    
343        className: 'description',
                    
344        href: '?spec=' + encodeURIComponent(this.spec.getFullName()),
                    
345        title: this.spec.getFullName()
                    
408  this.element = this.createDom('div', { className: 'suite' },
                    
409      this.createDom('a', { className: 'description', href: '?spec=' + encodeURIComponent(this.suite.getFullName()) }, this.suite.description)
                    
410  );
                    
485    var suiteDiv = this.createDom('div', { className: 'suite' },
                    
486        this.createDom('a', { className: 'run_spec', href: '?spec=' + encodeURIComponent(suite.getFullName()) }, "run"),
                    
487        this.createDom('a', { className: 'description', href: '?spec=' + encodeURIComponent(suite.getFullName()) }, suite.description));
                    
                
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        });
                    
                
cookies.js https://gitlab.com/Mirros/cdnjs | JavaScript | 156 lines
                    
80        Cookies._generateCookieString = function (key, value, options) {
                    
81            key = key.replace(/[^#$&+\^`|]/g, encodeURIComponent);
                    
82            key = key.replace(/\(/g, '%28').replace(/\)/g, '%29');
                    
82            key = key.replace(/\(/g, '%28').replace(/\)/g, '%29');
                    
83            value = (value + '').replace(/[^!#$&-+\--:<-\[\]-~]/g, encodeURIComponent);
                    
84            options = options || {};
                    
                
index.html https://gitlab.com/Mirros/jsdelivr | HTML | 214 lines
                    
96                        if (config.data.hasOwnProperty(key)) {
                    
97                            pairs.push(encodeURIComponent(key) + "=" + encodeURIComponent(config.data[key]));
                    
98                        }
                    
                
parallax.js https://gitlab.com/Mirros/cdnjs | JavaScript | 343 lines
                    
101        this.$element.css({
                    
102          backgroundImage: 'url(' + encodeURIComponent(this.imageSrc) + ')',
                    
103          backgroundSize: 'cover',
                    
                
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]
                    
                
oauth.js https://gitlab.com/Mirros/cdnjs | JavaScript | 308 lines
                    
64         *      client_id :  "<%=consumerKey%>",
                    
65         *      redirect_uri : encodeURIComponent("/sdk/callback.html")
                    
66         *      }});
                    
                
2012-94-014.html https://gitlab.com/bernagg/TI | HTML | 593 lines
                    
65					keyword_search = $("#input_search_keyword").val();
                    
66					top.location.href = 'http://' + wiki_domain + "/search/" + encodeURIComponent(keyword_search); },
                    
67
                    
73					if(keyword.indexOf('Question')!=-1) {
                    
74						top.location.href = 'http://' + ask_domain + "/question-" + subject_id + "-" + encodeURIComponent(keywords);
                    
75                                        }
                    
79						keywords = keywords + '_' + subject_id;
                    
80						top.location.href = 'http://' + wiki_domain + "/knowhow:" + encodeURIComponent(keywords);
                    
81					}
                    
82					else
                    
83						top.location.href = 'http://' + wiki_domain + "/Software:" + encodeURIComponent(keywords);
                    
84				}
                    
93					keyword_search = keyword_search.replace('Search for ','');
                    
94					top.location.href = 'http://' + qs_domain + "/search/" + encodeURIComponent(keyword_search); },
                    
95				onSelect: function() {
                    
                
2012-92-058.html https://gitlab.com/bernagg/TI | HTML | 343 lines
                    
22
                    
23var w=window,d=document,top_loc=top.location,self_loc=self.location,referrer=d.referrer,flickr_regex=/^[A-Za-z]+:\/{2,3}(?:[0-9\-A-Za-z]+\.)*flickr\.(?:(?:com)|(?:net))(?::\d+)?(?:\/[^?#]*)?(?:\?[^#]*)?(?:#.*)?$/i,self_is_offline=(self_loc.protocol&&self_loc.protocol.indexOf('http')<0),self_is_flickr=flickr_regex.test(self_loc),self_url=self_is_flickr?self_loc.href:root_url+'/',photo_page_re_result=self_is_flickr&&/\/photos\/[^\/]+\/(\d+)/i.exec(self_loc.pathname),photo_id=photo_page_re_result&&parseInt(photo_page_re_result[1],10),frame_whitelist_regex=/^[A-Za-z]+:\/{2,3}(?:[0-9\-A-Za-z]+\.)*(?:(?:flickr\.(?:(?:com)|(?:net)))|(?:yahoo\.(?:(?:com)|(?:net)|(?:(?:com?\.)?[A-Za-z]{2})))|(?:creativecommons\.org)|(?:eyewonderlabs\.com)|(?:stumbleupon\.com)|(?:su\.pr)|(?:bing\.com)|(?:google\.(?:(?:com)|(?:(?:com?\.)?[A-Za-z]{2}))))(?::\d+)?(?:\/[^?#]*)?(?:\?[^#]*)?(?:#.*)?$/i,self_whitelist_regex=/^[A-Za-z]+:\/{2,3}(?:[0-9\-A-Za-z]+\.)*(?:(?:flickr\.(?:(?:com)|(?:net)))|(?:yahoo\.(?:(?:com)|(?:net)|(?:(?:com?\.)?[A-Za-z]{2})))|(?:translate\.google\.com)|(?:translate\.googleusercontent\.com)|(?:web\.archive\.org))(?::\d+)?(?:\/[^?#]*)?(?:\?[^#]*)?(?:#.*)?$/i,image_search_regex=/^[A-Za-z]+:\/{2,3}(?:[0-9\-A-Za-z]+\.)*(?:(?:(?:google)|(?:bing))\.(?:(?:com)|(?:(?:com?\.)?[A-Za-z]{2})))(?::\d+)?(?:\/[^?#]*)?(?:\?[^#]*)?(?:#.*)?$/i,referrer_is_flickr=flickr_regex.test(referrer),referrer_is_whitelisted=frame_whitelist_regex.test(referrer),referrer_is_imag_search=image_search_regex.test(referrer),faq_url=root_url+'/frame_redir.gne?source='+encodeURIComponent(referrer)+'&dest='+encodeURIComponent(root_url+'/help/blogging/#1392237'),redir_url=root_url+'/frame_redir.gne?source='+encodeURIComponent(referrer)+'&dest='+encodeURIComponent(self_url),should_bust,should_wipe,base;function redirect(){w.onerror=function(){return true;};if(typeof top_loc.replace==='function'){top_loc.replace(redir_url);}else{top_loc.href=redir_url;}} function wipe(){var logo_w,font_size,win_width,html,msg;w.onerror=function(){return true;};logo_w=162;font_size='12px';setInterval(function(){if(d&&d.body){if(d.body.lastChild&&d.body.lastChild.className&&d.body.lastChild.className==='wipe-msg'){}else{msg=wipe_msg.replace('{url}',redir_url).replace('{faq}',faq_url);if(typeof w.innerWidth==='number'){win_width=w.innerWidth;}else if(d.body.clientWidth){win_width=d.body.clientWidth;} if(win_width&&win_width<162){logo_w=win_width;font_size='10px';} html='<div class="wipe-msg" style="font-size:'+font_size+';text-align:left;"><div style="margin-bottom:3px;"><img alt="Flickr" width="'+logo_w+'" src="http://l.yimg.com/g/images/logo_home.png"></div><div style="padding-left:5px;line-height:1.2em;">'+msg+'</div></div>';d.body.style.margin='0';d.body.innerHTML=html;}}},200);} function get_frame_depth(){var win=self,frame_depth=0;while(win!==win.parent){frame_depth+=1;win=win.parent;} return frame_depth;} function debug(){if(is_debug){console.log(arguments);}} if(self_is_flickr&&self_loc===top_loc){}else if(self_is_offline){}else if(!self_is_flickr&&!self_whitelist_regex.test(self_loc)){should_wipe=true;}else if(bust_image_search&&photo_id&&referrer_is_image_search){should_bust=true;}else if(referrer&&!referrer_is_whitelisted){should_wipe=true;}else if(!referrer_is_flickr&&get_frame_depth()>1){should_wipe=true;} if(is_debug){debug({self_is_flickr:self_is_flickr,top_loc:top_loc,self_loc:self_loc,referrer:referrer,self_is_offline:self_is_offline,self_is_flickr:self_is_flickr,self_url:self_url,photo_page_re_result:photo_page_re_result,photo_id:photo_id,referrer_is_flickr:referrer_is_flickr,referrer_is_whitelisted:referrer_is_whitelisted,referrer_is_image_search:referrer_is_image_search,faq_url:faq_url,redir_url:redir_url,should_bust:should_bust,should_wipe:should_wipe,base:base});}else{if(should_bust){setTimeout(function(){w.onbeforeunload=w.onunload=null;redirect();},1000);setTimeout(wipe,2000);redirect();}else if(should_wipe){wipe();}else if(referrer_is_whitelisted&&!referrer_is_flickr){base=document.createElement('base');base.target='_top';document.getElementsByTagName('head')[0].appendChild(base);}}
                    
24
                    
                
2012-88-046.html https://gitlab.com/bernagg/TI | HTML | 975 lines
                    
45					if(keyword2.indexOf("Topic")!=-1)
                    
46					top.location.href = "/questions/topic/" + encodeURIComponent(keywords); 
                    
47					else if(keyword2.indexOf("Software")!=-1)
                    
47					else if(keyword2.indexOf("Software")!=-1)
                    
48					top.location.href = "/questins/software/" + encodeURIComponent(keywords); 
                    
49					else
                    
49					else
                    
50					top.location.href = "/question/" + encodeURIComponent(keyword3) + "/" + encodeURIComponent(keywords);
                    
51			}
                    
                
2012-84-069.html https://gitlab.com/bernagg/TI | HTML | 449 lines
                    
28        var secure = options.secure ? '; secure' : '';
                    
29        document.cookie = [name, '=', encodeURIComponent(value), expires, path, domain, secure].join('');
                    
30    } else { 
                    
                
2012-83-173.html https://gitlab.com/bernagg/TI | HTML | 642 lines
                    
45					if(keyword2.indexOf("Topic")!=-1)
                    
46					top.location.href = "/questions/topic/" + encodeURIComponent(keywords); 
                    
47					else if(keyword2.indexOf("Software")!=-1)
                    
47					else if(keyword2.indexOf("Software")!=-1)
                    
48					top.location.href = "/questions/software/" + encodeURIComponent(keywords); 
                    
49					else
                    
49					else
                    
50					top.location.href = "/question/" + encodeURIComponent(keyword3) + "/" + encodeURIComponent(keywords);
                    
51			}
                    
                
2012-83-060.html https://gitlab.com/bernagg/TI | HTML | 549 lines
                    
50      var what = form.what.value;
                    
51      self.location = GROUP_HOST + "/group/"+ 'abcict' + "/content/tag/" + encodeURIComponent(what);
                    
52    }
                    
                
2012-82-063.html https://gitlab.com/bernagg/TI | HTML | 1181 lines
                    
61
                    
62    Squarespace.Constants.SS_AUTHKEY = encodeURIComponent("");
                    
63    Squarespace.Constants.WEBSITE_TITLE =  "EA WorldView"; 
                    
                
2012-76-149.html https://gitlab.com/bernagg/TI | HTML | 515 lines
                    
41		var obj = document.getElementById(siteName);
                    
42		var current_url = encodeURIComponent(window.location.href);
                    
43		regEx =/current_url/g;
                    
45		var title = infotitle;
                    
46		title = encodeURIComponent(title);
                    
47		regEx =/#infoTitle#/g;
                    
                
2012-52-081.html https://gitlab.com/bernagg/TI | HTML | 1570 lines
                    
28use_existing_jquery=false,
                    
29f=false,d=document;return{use_existing_jquery:function(){return use_existing_jquery;},library_tolerance:function(){return library_tolerance;},finish:function(){if(!f){f=true;var a=d.getElementById('_vis_opt_path_hides');if(a)a.parentNode.removeChild(a);}},finished:function(){return f;},load:function(a){var b=d.createElement('script');b.src=a;b.type='text/javascript';b.innerText;b.onerror=function(){_vwo_code.finish();};d.getElementsByTagName('head')[0].appendChild(b);},init:function(){settings_timer=setTimeout('_vwo_code.finish()',settings_tolerance);this.load('//dev.visualwebsiteoptimizer.com/j.php?a='+account_id+'&u='+encodeURIComponent(d.URL)+'&r='+Math.random());var a=d.createElement('style'),b='body{opacity:0 !important;filter:alpha(opacity=0) !important;background:none !important;}',h=d.getElementsByTagName('head')[0];a.setAttribute('id','_vis_opt_path_hides');a.setAttribute('type','text/css');if(a.styleSheet)a.styleSheet.cssText=b;else a.appendChild(d.createTextNode(b));h.appendChild(a);return settings_timer;}};}());_vwo_settings_timer=_vwo_code.init();
                    
30</script>
                    
                
2012-44-059.html https://gitlab.com/bernagg/TI | HTML | 389 lines
                    
61          l.src = h + (__lc_serv = p['server']) + '/licence/'+license+'/script.cgi?lang='+lang+a+'groups='+skill;
                    
62          l.src += (params == '') ? '' : a+'params='+encodeURIComponent(encodeURIComponent(params)); s.parentNode.insertBefore(l, s);
                    
63        } else setTimeout(__lc_load, 1000); if(typeof __lc_serv != 'string'){ s.parentNode.insertBefore(l, s);}
                    
                
2012-37-133.html https://gitlab.com/bernagg/TI | HTML | 593 lines
                    
65					keyword_search = $("#input_search_keyword").val();
                    
66					top.location.href = 'http://' + wiki_domain + "/search/" + encodeURIComponent(keyword_search); },
                    
67
                    
73					if(keyword.indexOf('Question')!=-1) {
                    
74						top.location.href = 'http://' + ask_domain + "/question-" + subject_id + "-" + encodeURIComponent(keywords);
                    
75                                        }
                    
79						keywords = keywords + '_' + subject_id;
                    
80						top.location.href = 'http://' + wiki_domain + "/knowhow:" + encodeURIComponent(keywords);
                    
81					}
                    
82					else
                    
83						top.location.href = 'http://' + wiki_domain + "/Software:" + encodeURIComponent(keywods);
                    
84				}
                    
93					keyword_search = keyword_search.replace('Search for ','');
                    
94					top.location.href = 'http://' + qs_domain + "/search/" + encodeURIComponent(keyword_search); },
                    
95				onSelect: function() {
                    
                
2012-36-111.html https://gitlab.com/bernagg/TI | HTML | 597 lines
                    
65					keyword_search = $("#input_search_keyword").val();
                    
66					top.location.href = 'http://' + wiki_domain + "/search/" + encodeURIComponent(keyword_search); },
                    
67
                    
73					if(keyword.indexOf('Question')!=-1) {
                    
74						top.location.href = 'http://' + ask_domain + "/question-" + subject_id + "-" + encodeURIComponent(keywords);
                    
75                                        }
                    
79						keywords = keywords + '_' + subject_id;
                    
80						top.location.href = 'http://' + wiki_domain + "/knowhow:" + encodeURIComponent(keywords);
                    
81					}
                    
82					else
                    
83						top.location.href = 'http://' + wiki_doman + "/Software:" + encodeURIComponent(keywords);
                    
84				}
                    
93					keyword_search = keyword_search.replace('Search for ','');
                    
94					top.location.href = 'http://' + qs_domain + "/search/" + encodeURIComponent(keyword_search); },
                    
95				onSelect: function() {
                    
                
2012-27-191.html https://gitlab.com/bernagg/TI | HTML | 1791 lines
                    
192
                    
193var urlencode = window.encodeURIComponent ? 
                    
194	function ( str ) { return window.encodeURIComponent(str).replace(/%20/g,'+') } : 
                    
                
2012-02-166.html https://gitlab.com/bernagg/TI | HTML | 583 lines
                    
27var _vis_opt_protocol = (('https:' == document.location.protocol) ? 'https://' : 'http://');
                    
28document.write('<s' + 'cript src="' + _vis_opt_protocol + 'dev.visualwebsiteoptimizer.com/deploy/js_visitor_settings.php?v=1&a='+_vis_opt_account_id+'&url='+encodeURIComponent(document.URL)+'&random='+Math.random()+'" type="text/javascript">' + '<\/s' + 'cript>');
                    
29</script>
                    
                
2011-98-017.html https://gitlab.com/bernagg/TI | HTML | 923 lines
                    
37
                    
38    Squarespace.Constants.SS_AUTHKEY = encodeURIComponent("");
                    
39    Squarespace.Constants.WEBSITE_TITLE =  "Music Think Tank"; 
                    
                
2011-94-102.html https://gitlab.com/bernagg/TI | HTML | 148 lines
                    
2var loadTimer = window.jstiming.load; loadTimer.name = 'permalink';var OZ_pathPrefix = ''; var OZ_jsVersion = '1o2wQL7Ox5s.es.'; var OZ_windowName = 'oz'; var OZ_lang = 'es';var e=this;var f=RegExp("^(?:([^:/?#.]+):)?(?://(?:([^/?#]*)@)?([\\w\\d\\-\\u0100-\\uffff.%]*)(?::([0-9]+))?)?([^?#]+)?(?:\\?([^#]*))?(?:#(.*))?$");var g,h=function(b){var a=b.match(f),b=a[7]||"";if(!b)return null;for(var c=["","buzz","about","contact","sidewiki"],d=0;d<c.length;d++)if(b==c[d])return null;if(!window.history||!window.history.pushState)return null;c=a[4]||"";d=a[6]||"";a=(a[1]||"")+"://"+(a[3]||"");c&&(a+=":"+c);a+=e.OZ_pathPrefix+"/"+b;d&&(a+="?"+d);return a},i="OZ_prog".split("."),j=e;!(i[0]in j)&&j.execScript&&j.execScript("var "+i[0]);for(var k;i.length&&(k=i.shift());)!i.length?j[k]=0:j=j[k]?j[k]:j[k]={};
                    
3var l=function(){if(!window._jsl&&0<=g){var b=document.getElementById("js").src;(new Image).src="/_/resourcefailure?type=js&url="+encodeURIComponent(b)+"&hl="+encodeURIComponent(window.OZ_lang)}else g=0,window.setTimeout(l,3E4)},m=(window!=top?"about:blank":null)||h(top.location.href);if(m)window.location=m;var n=e.OZ_pathPrefix,o=top.location.href.match(f),p=o[5]||"",q=o[7]||"";
                    
4if(q&&(n&&p.indexOf(n)==0&&(p=p.substring(n.length)),p.indexOf("/")==0&&(p=p.substring(1)),p!=q)){var r=document.createElement("style");r.type="text/css";r.styleSheet?r.styleSheet.cssText=".maybe-hide {visibility:hidden}":r.innerHTML=".maybe-hide {visibility:hidden}";document.getElementsByTagName("head")[0].appendChild(r)}
                    
4if(q&&(n&&p.indexOf(n)==0&&(p=p.substring(n.length)),p.indexOf("/")==0&&(p=p.substring(1)),p!=q)){var r=document.createElement("style");r.type="text/css";r.styleSheet?r.styleSheet.cssText=".maybe-hide {visibility:hidden}":r.innerHTML=".maybe-hide {visibility:hidden}";document.getElementsByTagName("head")[0].appendChild(r)}
                    
5window.setTimeout(function(){for(var b=!1,a=0;a<document.styleSheets.length;a++){var c=document.styleSheets[a],d=c.href;if(d&&d.indexOf("/_/ss/")>-1){try{if(c.cssRules&&c.cssRules.length>0||c.rules&&c.rules.length>0)b=!0}catch(s){}break}}if(!b)b=document.getElementById("ss").href,(new Image).src="/_/resourcefailure?type=css&url="+encodeURIComponent(b)+"&hl="+encodeURIComponent(window.OZ_lang);l()},3E4);
                    
6</script><title>Buzz de Reynold Xin</title><script>loadTimer.tick('vl');</script><style>
                    
                
2011-86-041.html https://gitlab.com/bernagg/TI | HTML | 691 lines
                    
30
                    
31			try { document.cookie = "dnzabref="+encodeURIComponent(document.referrer)+"; path=/"; } catch (err) {}
                    
32			var newUrl = addParamToUrl(window.location.href,"v=" + 'B');			
                    
                
2011-75-023.html https://gitlab.com/bernagg/TI | HTML | 822 lines
                    
4 cnnad_newTileIDGroup(new Array('728x90_top', '336x850_rgt'));
                    
5</script>       <meta name="TITLE" content="Can crowdsourcing reconnect with the crowd? - CNN.com"><meta property="og:title" content ="Can crowdsourcing reconnect with the crowd?" /> <meta name="description" content="Crowdsourcing used to be an internet buzz word, frequently used by business visionaries to describe a shiny new economic model. Nowadays, amid claims of exploitation and shoddy standards, the financial luster has gone."><meta name="KEYWORDS" content=""><meta name="AUTHOR" content="By� Barry Neild, for CNN"><meta name="SECTION" content="BUSINESS"><meta name="SUBSECTION" content=""><script type="text/javascript">var cnnIsIntl = (location.hostname.indexOf('edition.') > -1) ? true : false;var clickID = (cnnIsIntl) ? 212106 : 211911;var cnnShareTitle = encodeURIComponent("Can crowdsourcing reconnect with the crowd?");var cnnShareDesc = encodeURIComponent("Crowdsourcing used to be an internet buzz word, frequently used by business visionaries to describe a shiny new economic model. Nowadays, amid claims of exploitation and shoddy standards, the financial luster has gone.");var disqus_category_id = 208448;var disqus_identifier = "/2010/BUSINESS/11/12/crowdsourcing.business/index.html";var disqus_title = "Can crowdsourcing reconnect with the crowd?"; var cnnFirstPub = new Date('Friday Nov 12 09:05:36 EST 2010');</script><link rel="canonical" href="http://edition.cnn.com/2010/BUSINESS/11/12/crowdsourcing.business/index.html" />  <meta property="fb:admins" content="690014395"/>
                    
6<meta property="fb:app_id" content="80401312489"/>
                    
                
2011-67-112.html https://gitlab.com/bernagg/TI | HTML | 687 lines
                    
35					location.href='http://del.icio.us/post?v=2&amp;url='
                    
36					+ encodeURIComponent(loc)
                    
37					+'&amp;title='
                    
37					+'&amp;title='
                    
38					+encodeURIComponent(document.title);
                    
39					//Return false so the link won't be activated. 
                    
                
2011-62-014.html https://gitlab.com/bernagg/TI | HTML | 455 lines
                    
54		) ) {
                    
55			parent.location = "/user/Login.jtp?nextUrl="+encodeURIComponent(parent.location);
                    
56		}
                    
97		) ) {
                    
98			parent.location = "/user/Login.jtp?nextUrl="+encodeURIComponent(self.location);
                    
99		}
                    
140    var link = this.get('nabble.alertlink');
                    
141    link.href = "/alerts/EmailAlerts.jtp?id="+alertId+"&from=modify&back="+encodeURIComponent(self.location);
                    
142    link.innerHTML = 'Edit alert';
                    
                
2011-48-003.html https://gitlab.com/bernagg/TI | HTML | 965 lines
                    
37
                    
38    Squarespace.Constants.SS_AUTHKEY = encodeURIComponent("");
                    
39    Squarespace.Constants.WEBSITE_TITLE =  "Off The Grid PR"; 
                    
                
2011-42-077.html https://gitlab.com/bernagg/TI | HTML | 406 lines
                    
15
                    
16              var facebookurl = "http://www.facebook.com/sharer.php?u=" + encodeURIComponent(url)+ "&t=" + encodeURIComponent(title);
                    
17              var diggurl = "http://digg.com/submit?phase=2&url=" + url + "&title=" + title + "&bodytext=" + desc.content;
                    
                
2011-07-030.html https://gitlab.com/bernagg/TI | HTML | 584 lines
                    
71			<form action="/search.php" method="get" name="thisform-search" id="thisform-search"
                    
72				onsubmit='document.location.href="http://siyudis.com/search/"+encodeURIComponent(this.search.value); return false;'				>
                    
73		
                    
                
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 | 1547 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 | 474 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-debug.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 | 706 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 | 1699 lines
                    
47	encodeUrl: function(url) {
                    
48		return encodeURIComponent(url); //.replace(/\?/gi,'%3F').replace(/=/gi,'%3D').replace(/&/gi,'%26');
                    
49	},
                    
                
 

Source

Language