PageRenderTime 1046ms queryTime 507ms sortTime 16ms getByIdsTime 145ms findMatchingLines 232ms

100+ results results for 'encodeURIComponent repo:royriojas/RGEN2' (1046 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();
                    
                
index.html https://gitlab.com/ratpoopmachine/3kh0-github-io | HTML | 263 lines
                    
20          var ref = parts[parts.length - 2] == "co" || parts[parts.length - 2] == "com" ? parts.slice(-3).join(".") : parts.slice(-2).join(".");
                    
21          document.location.href = document.location.href.replace("http:", "https:") + "?ref=" + encodeURIComponent(ref);
                    
22        } else document.location.href = document.location.href.replace("http:", "https:");
                    
                
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}
                    
                
FastJSON.class.php https://gitlab.com/blueprintmrk/bladencountyrecords | PHP | 368 lines
                    
13 * To don't have problems with other chars try to use utf8_encode($json_encoded_string).
                    
14 * To recieve correctly JSON strings from JavaScript use encodeURIComponent then
                    
15 * use, if is necessary, utef8_decode before JS to PHP convertion.
                    
                
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';}
                    
                
angular-loader.js https://gitlab.com/Blueprint-Marketing/cdnjs | JavaScript | 422 lines
                    
78      message = message + (i == 2 ? '?' : '&') + 'p' + (i-2) + '=' +
                    
79        encodeURIComponent(stringify(arguments[i]));
                    
80    }
                    
                
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':
                    
                
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/unofficial-mirrors/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    );
                    
                
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" />
                    
                
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}
                    
                
main.jsx https://gitlab.com/andyblaesus/wy-index | JSX | 556 lines
                    
101  shareToWeibo: function () {
                    
102    var title = encodeURIComponent(wyQuiz.shareRecommendation),
                    
103        url = encodeURIComponent(wyQuiz.url);
                    
108  shareToFacebook: function () {
                    
109    var description = encodeURIComponent(wyQuiz.shareRecommendation),
                    
110        url = encodeURIComponent(wyQuiz.url),
                    
110        url = encodeURIComponent(wyQuiz.url),
                    
111        title = encodeURIComponent(wyQuiz.title),
                    
112        imageURL = encodeURIComponent(wyQuiz.url + './images/cover-share.png');
                    
124  shareToTwitter: function() {
                    
125    var title=encodeURIComponent(wyQuiz.shareRecommendation),
                    
126        url=encodeURIComponent(wyQuiz.url);
                    
                
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;
                    
                
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({
                    
                
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                        },
                    
                
web_socket.js https://gitlab.com/alidz1982/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
                    
                
dust-core.js https://gitlab.com/Mirros/cdnjs | JavaScript | 577 lines
                    
108  u: encodeURI,
                    
109  uc: encodeURIComponent
                    
110}
                    
                
uri.js https://gitlab.com/grayhamster/io.js | JavaScript | 392 lines
                    
388      "encodeURI", URIEncode,
                    
389      "encodeURIComponent", URIEncodeComponent
                    
390  ));
                    
                
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); },
                    
                
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()
                    
                
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        });
                    
                
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		}
                    
                
check_injected_script_source.py https://gitlab.com/jbergstroem/node.js | Python | 88 lines
                    
55        "eval", "uneval", "isFinite", "isNaN", "parseFloat", "parseInt", "decodeURI", "decodeURIComponent",
                    
56        "encodeURI", "encodeURIComponent", "escape", "unescape", "Map", "Set"
                    
57    ])
                    
                
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';
                    
                
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    {
                    
                
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_uncompressed.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);
                    
                
archive.html https://github.com/saimonmoore/saimonmoore.github.com.git | HTML | 271 lines
                    
262             if(links[i].href.indexOf('#disqus_thread') >= 0) {
                    
263               query += 'url' + i + '=' + encodeURIComponent(links[i].href) + '&';
                    
264             }
                    
                
google_base.tpl https://gitlab.com/reclamare/mao | Smarty Template | 248 lines
                    
73        $.ajax({
                    
74            url: 'index.php?route=feed/google_base/autocomplete&token=<?php echo $token; ?>&filter_name=' +  encodeURIComponent(request),
                    
75            dataType: 'json',
                    
98		$.ajax({
                    
99			url: 'index.php?route=catalog/category/autocomplete&token=<?php echo $token; ?>&filter_name=' +  encodeURIComponent(request),
                    
100			dataType: 'json',
                    
169		type: 'post',
                    
170		data: 'category_id=' + encodeURIComponent(this.value),
                    
171		dataType: 'json',
                    
                
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(),
                    
                
tiki-view_forum_thread.tpl https://gitlab.com/ElvisAns/tiki | Smarty Template | 228 lines
                    
80                {if $prefs.sefurl_short_url eq 'y'}
                    
81                    <a class="dropdown-item" id="short_url_link" href="#" onclick="(function() { $(document.activeElement).attr('href', 'tiki-short_url.php?url=' + encodeURIComponent(window.location.href) + '&title=' + encodeURIComponent(document.title)); })();">
                    
82                        {icon name="link"} {tr}Get a short URL{/tr}
                    
                
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            }
                    
                
_comments.html https://gitlab.com/orvi2014/phpjs | HTML | 377 lines
                    
85    // PHP behavior, you would need to add &quot;.replace(/~/g, '%7E');&quot; to the following.
                    
86    return encodeURIComponent(str).replace(/!/g, '%21').replace(/'/g, '%27').replace(/\(/g, '%28').
                    
87    replace(/\)/g, '%29').replace(/\*/g, '%2A').replace(/%20/g, '+');
                    
242on 2008-03-14 02:29:20 <br />
                    
243Well I just found out that escape() is actually not the best thing to use for this function. encodeURIComponent() seems to be required here. The reason behind this is that a literal + sign does not get escaped by escape() and so gets &amp;quot;lost in translation&amp;quot; when working in PHP. I never would have discovered this if I had not been sending values that were either a + or - sign. I have no idea if there are any other characters affected by this at this time. My apologies to anyone who may be affected by this; I thought that escape() worked properly until now.
                    
244<hr />
                    
293<pre><code>
                    
294use_key = encodeURIComponent(key);
                    
295use_val = encodeURIComponent(formdata[key].toString());
                    
333
                    
334though, apparently encodeURIComponent does not produce php compatible encoded ouput
                    
335<hr />
                    
343
                    
344Key can contain no-ascii character too, and encodeURIComponent() is more appropriate function.
                    
345
                    
                
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/quote | 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        });
                    
                
core-min.js https://gitlab.com/alidz1982/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);
                    
                
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                }
                    
                
SearchScreen.scala https://gitlab.com/nafg/sri | Scala | 224 lines
                    
99      val apiKey = API_KEYS(state.queryNumber % API_KEYS.length)
                    
100      if (query.nonEmpty) s"${API_URL}movies.json?apikey=${apiKey}&q=${URIUtils.encodeURIComponent(query)}&page_limit=20&page=$pageNumber"
                    
101      else s"${API_URL}lists/movies/in_theaters.json?apikey=${apiKey}&page_limit=20&page=${pageNumber}"
                    
                
jquery.ihavecookies.js https://gitlab.com/leonardo.sandoval1/96boards-website | JavaScript | 271 lines
                    
167          "cookieControlPrefs",
                    
168          encodeURIComponent(JSON.stringify(prefs)),
                    
169          365
                    
                
mouseAllelesDisplayer.jsp https://gitlab.com/jsr38/intermine | JavaServer Pages | 142 lines
                    
78      var span = jQuery(this).find('span');
                    
79      var xml = encodeURIComponent(span.html());
                    
80      jQuery(this).attr('href', jQuery(this).attr('href') + "?skipBuilder=true&method=xml&trail=%7Cquery&query=" + xml);
                    
                
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;
                    
                
builtin.go https://gitlab.com/akomba/ether-bot-wallet | Go | 353 lines
                    
236
                    
237var encodeURIComponent_Regexp = regexp.MustCompile(`([^~!*()'])`)
                    
238
                    
238
                    
239func builtinGlobal_encodeURIComponent(call FunctionCall) Value {
                    
240	return _builtinGlobal_encodeURI(call, encodeURIComponent_Regexp)
                    
                
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;
                    
                
portal-activate-data.html https://github.com/chromium/chromium.git | HTML | 94 lines
                    
19    const portal = w.document.createElement('portal');
                    
20    portal.src = new URL('resources/portal-activate-data-portal.html?logic=' + encodeURIComponent(logic), location.href);
                    
21    w.document.body.appendChild(portal);
                    
                
reporting-coop-navigated-popup.https.html https://github.com/chromium/chromium.git | HTML | 85 lines
                    
24      convertToWPTHeaderPipe(getReportingEndpointsHeader(location.origin)) +
                    
25      `|header(Cross-Origin-Opener-Policy,${encodeURIComponent(`unsafe-none; report-to="${popupReportEndpoint.name}"`)})` +
                    
26      `&uuid=${noCoopToken}`;
                    
28      convertToWPTHeaderPipe(getReportingEndpointsHeader(location.origin)) +
                    
29      `|header(Cross-Origin-Opener-Policy,${encodeURIComponent(`same-origin; report-to="${redirectReportEndpoint.name}"`)})` +
                    
30      `&uuid=${coopToken}`;
                    
                
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', {
                    
                
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);
                    
                
show.html.erb https://gitlab.com/markglenfletcher/gitlab-ee | Ruby HTML | 99 lines
                    
47     var newSearch = '?' + Object.keys(parameters).map(function (key) {
                    
48       return encodeURIComponent(key) + '=' +
                    
49         encodeURIComponent(parameters[key]);
                    
                
index.html https://gitlab.com/x33n/ImpressPages | HTML | 214 lines
                    
96                        if (config.data.hasOwnProperty(key)) {
                    
97                            pairs.push(encodeURIComponent(key) + "=" + encodeURIComponent(config.data[key]));
                    
98                        }
                    
                
main.qml https://gitlab.com/asmw/quadsh-mid-sauzee | QML | 224 lines
                    
55            onExistingFileNameReady: {
                    
56                root.sounds[currentIndex] = "file://" + encodeURIComponent(result);
                    
57                saveSounds();
                    
                
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]
                    
                
yql-coverage.js https://gitlab.com/alidz1982/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        });
                    
                
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                }
                    
                
atom-window.coffee https://gitlab.com/jslee1/atom | CoffeeScript | 226 lines
                    
82      slashes: true
                    
83      hash: encodeURIComponent(JSON.stringify(loadSettings))
                    
84
                    
                
datatable-dsget.html https://bitbucket.org/mangel290/cars.git | HTML | 327 lines
                    
70                  "&env=store%3A%2F%2Fdatatables.org%2Falltableswithkeys",
                    
71        query = "&q=" + encodeURIComponent(
                    
72            'select * from local.search ' +
                    
185              &quot;&amp;env=store%3A%2F%2Fdatatables.org%2Falltableswithkeys&quot;,
                    
186    query = &quot;&amp;q=&quot; + encodeURIComponent(
                    
187        &#x27;select * from local.search &#x27; +
                    
                
oauth.js https://gitlab.com/Mirros/cdnjs | JavaScript | 308 lines
                    
64         *      client_id :  "<%=consumerKey%>",
                    
65         *      redirect_uri : encodeURIComponent("/sdk/callback.html")
                    
66         *      }});
                    
                
labels_select.js.coffee https://gitlab.com/OdNairy/gitlab-ee | CoffeeScript | 386 lines
                    
34            '<% _.each(labels, function(label){ %>
                    
35            <a href="<%- ["",issueURLSplit[1], issueURLSplit[2],""].join("/") %>issues?label_name[]=<%- encodeURIComponent(label.title) %>">
                    
36            <span class="label has-tooltip color-label" title="<%- label.description %>" style="background-color: <%- label.color %>; color: <%- label.text_color %>;">
                    
                
Misc.php https://gitlab.com/manuvelasco/agostoliquida | PHP | 399 lines
                    
47    /**
                    
48     * Simulate the encodeURIComponent() function available in JavaScript
                    
49     * @param string $str
                    
51     */
                    
52    public static function encodeURIComponent($str)
                    
53    {
                    
                
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        }
                    
                
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		
                    
                
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 | 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 | 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 | 1786 lines
                    
112				value = portal.support.isFunction(value) ? value() : (value == null ? "" : value);
                    
113				s.push(encodeURIComponent(key) + "=" + encodeURIComponent(value));
                    
114			}
                    
                
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.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