100+ results for 'encodeURIComponent repo:aduyng/travel-time-watcher-chrome-extension'
Not the results you expected?
String.cs (https://github.com/kripa82/scriptsharp.git) C# · 412 lines
Serializer.js (https://github.com/ghiata/qooxdoo.git) JavaScript · 374 lines
99 if (value instanceof qx.core.Object && qxSerializer != null) {
100 var encValue = encodeURIComponent(qxSerializer(value));
101 if (encValue === undefined) {
102 var encValue = encodeURIComponent(value);
103 }
104 } else {
105 var encValue = encodeURIComponent(value);
106 }
107 return encodeURIComponent(name) + "=" + encValue + "&";
api.js (https://gitlab.com/artofhuman/gitlab-ce) JavaScript · 326 lines
100 // Return single project
101 project(projectPath) {
102 const url = Api.buildUrl(Api.projectPath).replace(':id', encodeURIComponent(projectPath));
104 return axios.get(url);
108 projectMergeRequest(projectPath, mergeRequestId, params = {}) {
109 const url = Api.buildUrl(Api.projectMergeRequestPath)
110 .replace(':id', encodeURIComponent(projectPath))
111 .replace(':mrid', mergeRequestId);
116 projectMergeRequestChanges(projectPath, mergeRequestId) {
117 const url = Api.buildUrl(Api.projectMergeRequestChangesPath)
118 .replace(':id', encodeURIComponent(projectPath))
119 .replace(':mrid', mergeRequestId);
comments.js (https://bitbucket.org/jaredstanley/facebook-js-sdk.git) JavaScript · 120 lines
SF_submit.js (https://github.com/ChuguluGames/mediawiki-svn.git) JavaScript · 150 lines
115 if (wgAction == "formedit") {
116 params += "&target=" + encodeURIComponent( wgPageName );
117 } else if ( wgCanonicalSpecialPageName == "FormEdit") {
133 if (stop >= 0) {
134 params += "&form=" + encodeURIComponent( url.substring(start, stop) );
136 start = stop + 1;
137 params += "&target=" + encodeURIComponent( url.substr(start) );
139 } else {
jquery.history.js (https://github.com/chrux/chrux.github.com.git) JavaScript · 113 lines
tvshow.coffee (https://github.com/stuartf/hubot-scripts.git) CoffeeScript · 75 lines
js.cookie.js (https://github.com/cuckoobox/cuckoo.git) JavaScript · 151 lines
61 if (!converter.write) {
62 value = encodeURIComponent(String(value))
63 .replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g, decodeURIComponent);
64 } else {
66 }
68 key = encodeURIComponent(String(key));
69 key = key.replace(/%(23|24|26|2B|5E|60|7C)/g, decodeURIComponent);
70 key = key.replace(/[\(\)]/g, escape);
io-form-debug.js (https://gitlab.com/Mirros/cdnjs) JavaScript · 88 lines
stringify.js (https://gitlab.com/RedDedVolvo/solidgoald) JavaScript · 281 lines
WPForms.js (https://github.com/livinglab/openlab.git) JavaScript · 85 lines
53 $('body').append(modaldialog);
55 var query = encodeURIComponent(shortcode).split('%3D%22').join('=').split('%22%20').join('&');
57 var $iframe_template = $("<iframe src='" + window.ajaxurl + "?action=outofthebox-getpopup&type=shortcodebuilder&asuploadbox=1&" + query + "' width='100%' height='600' tabindex='-1' frameborder='0'></iframe>");
script.js (https://bitbucket.org/miya0001/wp-typing.git) JavaScript · 132 lines
githugs.js (https://github.com/jakemcgraw/githugs-public.git) JavaScript · 121 lines
62 var body = [];
63 for (var key in data) {
64 body.push(key + '=' + encodeURIComponent(data[key]));
65 }
66 data = body.join('&');
73 var params = [];
74 for (var key in data) {
75 params.push(key + '=' + encodeURIComponent(data[key]));
76 }
77 this.request('GET', url + '?' + params.join('&'), false, callback);
index.erb (https://github.com/koba290/rhodes-system-api-samples.git) Ruby HTML · 353 lines
Serializer.js (https://github.com/Seldaiendil/meyeOS.git) JavaScript · 344 lines
89 {
90 if (value instanceof qx.core.Object && qxSerializer != null) {
91 var encValue = encodeURIComponent(qxSerializer(value));
92 if (encValue === undefined) {
93 var encValue = encodeURIComponent(value);
94 }
95 } else {
96 var encValue = encodeURIComponent(value);
97 }
98 return encodeURIComponent(name) + "=" + encValue + "&";
main.js (https://github.com/xuwei-k/xuwei-k.github.com.git) JavaScript · 165 lines
fetch-canvas-tainting-iframe.html (https://github.com/rillian/firefox.git) HTML · 294 lines
143 create_test_promise(
144 image_url +
145 '&mode=same-origin&url=' + encodeURIComponent(image_url),
146 '',
147 NOT_TAINTED),
148 create_test_promise(
149 image_url +
150 '&mode=same-origin&url=' + encodeURIComponent(image_url),
151 'anonymous',
152 NOT_TAINTED),
153 create_test_promise(
154 image_url +
155 '&mode=same-origin&url=' + encodeURIComponent(image_url),
156 'use-credentials',
157 NOT_TAINTED),
jasmine-html.js (https://gitlab.com/Mirros/cdnjs) JavaScript · 190 lines
58 var suite = suites[i];
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));
130 }
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()
137 }, spec.description));
jobs.html (https://github.com/gabrielhurley/horizon.git) HTML · 88 lines
54 form.find(".close").click();
55 $(".create_job_class")[0].href = "launch-job-new-cluster?" +
56 "plugin_name=" + encodeURIComponent(plugin) +
57 "&hadoop_version=" + encodeURIComponent(version) +
58 "&job_id=" + encodeURIComponent(job_id);
59 $(".create_job_class").click();
60 $(".create_job_class")[0].href = oldHref;
portal-activate-data.html (https://github.com/chromium/chromium.git) HTML · 94 lines
reporting-coop-navigated-popup.https.html (https://github.com/chromium/chromium.git) HTML · 85 lines
23 const noCOOPUrl = executor_path +
24 convertToWPTHeaderPipe(getReportingEndpointsHeader(location.origin)) +
25 `|header(Cross-Origin-Opener-Policy,${encodeURIComponent(`unsafe-none; report-to="${popupReportEndpoint.name}"`)})` +
26 `&uuid=${noCoopToken}`;
27 const coopUrl = executor_path +
28 convertToWPTHeaderPipe(getReportingEndpointsHeader(location.origin)) +
29 `|header(Cross-Origin-Opener-Policy,${encodeURIComponent(`same-origin; report-to="${redirectReportEndpoint.name}"`)})` +
30 `&uuid=${coopToken}`;
panel.js (https://gitlab.com/Guy1394/gaia) JavaScript · 98 lines
musicplayer.html (https://bitbucket.org/pombredanne/spip-zone-treemap.git) HTML · 90 lines
72 // <![CDATA[
73 var flashvars[(#GET{objet_spip})]#ENV{id} = {};
74 flashvars[(#GET{objet_spip})]#ENV{id}.playlist_url = encodeURIComponent("[(#URL_PAGE{xspf}|url_absolue|parametre_url{type,mp3|m3u,'&'}|parametre_url{[(#GET{objet_spip})],[(#GET{objet_val})],'&'})]");
75 [(#GET{autoplay}|=={true}|oui)flashvars[(#GET{objet_spip})]#ENV{id}.autoplay ="#GET{autoplay}";]
76 flashvars[(#GET{objet_spip})]#ENV{id}.repeat_playlist = "#GET{repeat}";
parameters.js (https://github.com/PatientOrderSets/ICEfaces-1.8.2-Enhancements.git) JavaScript · 103 lines
settings.js (https://github.com/runeh/dragonfly-stp-1.git) JavaScript · 150 lines
publish.js (https://github.com/FesterCluck/npm.git) JavaScript · 106 lines
36 }
37 data._id = data.name+"@"+data.version
38 var attURI = encodeURIComponent(data.name)
39 + "/-/"
40 + encodeURIComponent(data.name)
41 + "-"
42 + encodeURIComponent(data.version)
43 + ".tgz"
44 data.dist = data.dist || {}
59 return log.er(cb, "Failed PUT response "+(response && response.statusCode))(er)
60 }
61 var dataURI = encodeURIComponent(data.name)+"/"+encodeURIComponent(data.version)
63 var tag = data.tag || npm.config.get("tag")
javascript.js (https://gitlab.com/JunaYa/JunaYa-blog) JavaScript · 113 lines
14 built_in:
15 'eval isFinite isNaN parseFloat parseInt decodeURI decodeURIComponent ' +
16 'encodeURI encodeURIComponent escape unescape Object Function Boolean Error ' +
17 'EvalError InternalError RangeError ReferenceError StopIteration SyntaxError ' +
18 'TypeError URIError Number Math Date String RegExp Array Float32Array ' +
customer_reward.tpl (https://github.com/elleeott/WPOC-boilerplate.git) Smarty Template · 88 lines
main.qml (https://gitlab.com/asmw/quadsh-mid-sauzee) QML · 224 lines
querystring-stringify-debug.js (https://gitlab.com/Mirros/cdnjs) JavaScript · 112 lines
js.cookie.js (https://gitlab.com/Mirros/cdnjs) JavaScript · 139 lines
56 } catch (e) {}
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);
61 key = encodeURIComponent(String(key));
62 key = key.replace(/%(23|24|26|2B|5E|60|7C)/g, decodeURIComponent);
63 key = key.replace(/[\(\)]/g, escape);
demo.js (https://github.com/aadrian/highcharts.com.git) JavaScript · 120 lines
jasmine_additions.js (https://github.com/heimidal/midas.git) JavaScript · 117 lines
68 }
69 var specDiv = this.createDom('div', { className: 'spec ' + status, style: style },
70 this.createDom('a', { className: 'run_spec', href: '?spec=' + encodeURIComponent(spec.getFullName()) }, "run"),
71 this.createDom('a', {
72 className: 'description',
73 href: '?spec=' + encodeURIComponent(spec.getFullName()),
74 title: spec.getFullName()
75 }, spec.description));
addcslashes.js (https://gitlab.com/rickoverman/doo-cli) JavaScript · 158 lines
base.html (https://github.com/yuvipanda/lemoncurry.git) HTML · 75 lines
sha1.js (https://gitlab.com/link233/bootmw) JavaScript · 147 lines
jsCookieTest.js (https://gitlab.com/mohamed_hussein/prodt) JavaScript · 275 lines
PingServerFacts.js (https://gitlab.com/scgitlab/dsdsds) JavaScript · 81 lines
32 QUnit.asyncTimeoutTest(transport + " transport calls Ping Server with custom query string in url", testUtilities.defaultTestTimeout, function (end, assert, testName) {
33 var connection = testUtilities.createHubConnection(end, assert, testName),
34 expectedQs = window.encodeURIComponent(testName),
35 savedAjax = $.ajax,
36 testPingServer = function () {
axurerp_pagespecificscript.js (https://github.com/openstate/Wiekiesjij.git) JavaScript · 313 lines
person.js (https://gitlab.com/mikebavon/TripTicket) JavaScript · 122 lines
42 var confpass = document.getElementById('regconfirmpass').value;
44 var params = 'fname=' + encodeURIComponent(fname)
45 + '&lname=' + encodeURIComponent(lname)
46 + '&id=' + encodeURIComponent(id)
47 + '&username=' + encodeURIComponent(username)
48 + '&password=' + encodeURIComponent(password);
50 if (password == confpass){
79 var password = document.getElementById('password').value;
81 var params = 'username=' + encodeURIComponent(username)
82 + '&password=' + encodeURIComponent(password);
details.js (https://github.com/FriedWishes/showslow.git) JavaScript · 102 lines
83 {
84 height: "15em",
85 initialRequest: "url=" + encodeURIComponent(url) + "&ver=" + ydataversion
86 });
89 {
90 height: "15em",
91 initialRequest: "url=" + encodeURIComponent(url) + "&ver=" + psdataversion
92 });
95 {
96 height: "15em",
97 initialRequest: "url=" + encodeURIComponent(url) + "&ver=" + dtdataversion
98 });
99 }
show.html.erb (https://gitlab.com/markglenfletcher/gitlab-ee) Ruby HTML · 99 lines
sale_order.tpl (https://bitbucket.org/mjalajel/opencart.git) Smarty Template · 142 lines
117 if (filter_date_start) {
118 url += '&filter_date_start=' + encodeURIComponent(filter_date_start);
119 }
123 if (filter_date_end) {
124 url += '&filter_date_end=' + encodeURIComponent(filter_date_end);
125 }
129 if (filter_group) {
130 url += '&filter_group=' + encodeURIComponent(filter_group);
131 }
frmcreatefolder.html (https://github.com/filipefumaux/projectfedena_v2.0.git) HTML · 108 lines
query.js (https://github.com/raidrush-dev/JNode.git) JavaScript · 461 lines
cp.js (https://github.com/bigswitch/snac.git) JavaScript · 117 lines
trees.js (https://github.com/webpulser/forgeos_cms.git) JavaScript · 94 lines
webview-spec.coffee (https://gitlab.com/Rockyspade/electron) CoffeeScript · 195 lines
106 <script>console.log('ok');</script>
107 "
108 encoded = btoa(unescape(encodeURIComponent(src)))
109 listener = (e) ->
110 assert /Not allowed to load local resource/.test(e.message)
120 <script>console.log('ok');</script>
121 "
122 encoded = btoa(unescape(encodeURIComponent(src)))
123 listener = (e) ->
124 assert.equal e.message, 'ok'
encode.js (https://github.com/v0lkan/o2.js.git) JavaScript · 138 lines
tests.js (https://github.com/bangnaga/jQuery-File-Upload.git) JavaScript · 1093 lines
actions_spec.js (https://gitlab.com/klml/gitlab-ee) JavaScript · 448 lines
script.js (https://github.com/anod/Web-Admin-Lite-Perl.git) JavaScript · 136 lines
bootstrap-table-cookie.js (https://gitlab.com/Mirros/cdnjs) JavaScript · 234 lines
36 }
38 document.cookie = encodeURIComponent(cookieName) + '=' + encodeURIComponent(sValue) + calculateExpiration(vEnd) + (sDomain ? '; domain=' + sDomain : '') + (sPath ? '; path=' + sPath : '') + (bSecure ? '; secure' : '');
39 return true;
40 };
45 return null;
46 }
47 return decodeURIComponent(document.cookie.replace(new RegExp('(?:(?:^|.*;)\\s*' + encodeURIComponent(cookieName).replace(/[\-\.\+\*]/g, '\\$&') + '\\s*\\=\\s*([^;]*).*$)|^.*$'), '$1')) || null;
48 };
52 return false;
53 }
54 return (new RegExp('(?:^|;\\s*)' + encodeURIComponent(cookieName).replace(/[\-\.\+\*]/g, '\\$&') + '\\s*\\=')).test(document.cookie);
55 };
yql.js (https://gitlab.com/Mirros/cdnjs) JavaScript · 197 lines
application.js (https://github.com/GerManson/german.pikevo.com.git) JavaScript · 115 lines
form.js (https://bitbucket.org/thomashii/vtigercrm-6-for-postgresql.git) JavaScript · 298 lines
chunked-uploads.js (https://github.com/vaibhav011286/file-uploader.git) JavaScript · 346 lines
143 assert.ok(!uploadRequest.requestHeaders["x-ms-meta-qqfilename"]);
144 assert.equal(uploadRequest.method, "PUT");
145 assert.equal(uploadRequest.url, expectedSasUri + "&comp=block&blockid=" + encodeURIComponent(btoa("00000")));
146 uploadRequest.respond(201, null, null);
160 assert.ok(!uploadRequest.requestHeaders["x-ms-meta-qqfilename"]);
161 assert.equal(uploadRequest.method, "PUT");
162 assert.equal(uploadRequest.url, expectedSasUri + "&comp=block&blockid=" + encodeURIComponent(btoa("00001")));
163 uploadRequest.respond(201, null, null);
237 assert.equal(fileTestHelper.getRequests().length, 3);
238 uploadRequest = fileTestHelper.getRequests()[2];
239 assert.equal(uploadRequest.url, expectedSasUri + "&comp=block&blockid=" + encodeURIComponent(btoa("00000")));
240 uploadRequest.respond(404, null, null);
241 assert.equal(uploader.getUploads()[0].status, qq.status.UPLOAD_FAILED);
store_form.tpl (https://github.com/sansanwawa/e-commerse.git) Smarty Template · 486 lines
89 <tr>
90 <td><?php echo $entry_template; ?></td>
91 <td><select name="config_template" onchange="$('#template').load('index.php?route=setting/store/template&token=<?php echo $token; ?>&template=' + encodeURIComponent(this.value));">
92 <?php foreach ($templates as $template) { ?>
93 <?php if ($template == $config_template) { ?>
448 </div>
449 <script type="text/javascript"><!--
450 $('#template').load('index.php?route=setting/store/template&token=<?php echo $token; ?>&template=' + encodeURIComponent($('select[name=\'config_template\']').attr('value')));
452 $('select[name=\'config_zone_id\']').load('index.php?route=setting/store/zone&token=<?php echo $token; ?>&country_id=<?php echo $config_country_id; ?>&zone_id=<?php echo $config_zone_id; ?>');
456 $('#dialog').remove();
458 $('#content').prepend('<div id="dialog" style="padding: 3px 0px 0px 0px;"><iframe src="index.php?route=common/filemanager&token=<?php echo $token; ?>&field=' + encodeURIComponent(field) + '" style="padding:0; margin: 0; display: block; width: 100%; height: 100%;" frameborder="no" scrolling="auto"></iframe></div>');
460 $('#dialog').dialog({
setting.tpl (https://github.com/sansanwawa/e-commerse.git) Smarty Template · 785 lines
78 <tr>
79 <td><?php echo $entry_template; ?></td>
80 <td><select name="config_template" onchange="$('#template').load('index.php?route=setting/setting/template&token=<?php echo $token; ?>&template=' + encodeURIComponent(this.value));">
81 <?php foreach ($templates as $template) { ?>
82 <?php if ($template == $config_template) { ?>
747 </div>
748 <script type="text/javascript"><!--
749 $('#template').load('index.php?route=setting/setting/template&token=<?php echo $token; ?>&template=' + encodeURIComponent($('select[name=\'config_template\']').attr('value')));
751 $('select[name=\'config_zone_id\']').load('index.php?route=setting/setting/zone&token=<?php echo $token; ?>&country_id=<?php echo $config_country_id; ?>&zone_id=<?php echo $config_zone_id; ?>');
755 $('#dialog').remove();
757 $('#content').prepend('<div id="dialog" style="padding: 3px 0px 0px 0px;"><iframe src="index.php?route=common/filemanager&token=<?php echo $token; ?>&field=' + encodeURIComponent(field) + '" style="padding:0; margin: 0; display: block; width: 100%; height: 100%;" frameborder="no" scrolling="auto"></iframe></div>');
759 $('#dialog').dialog({
web_pdf_preview.js (https://gitlab.com/darmawan.fatria/provjabar-upkp-addons) JavaScript · 125 lines
27 };
28 var url = self.session.url('/report/preview', params);
29 //window.open('/report/preview?data=' + encodeURIComponent(JSON.stringify(response)) + '&token=' + new Date().getTime() + '&session_id=' + self.session.session_id, 'report', '');
30 window.open(url, 'report', '');
31 instance.web.unblockUI();
65 }
66 } else {
67 report_url += "?options=" + encodeURIComponent(JSON.stringify(action.data));
68 report_url += "&context=" + encodeURIComponent(JSON.stringify(action.context));
qwebactionmanager.js (https://gitlab.com/darmawan.fatria/kabbeltim-skp-addons) JavaScript · 97 lines
encode_decode_uri.js (https://gitlab.com/AnneSmile/v8) JavaScript · 102 lines
cookie.js (https://github.com/apontes/RouteFlow.git) JavaScript · 102 lines
registration.https.html (https://github.com/rillian/firefox.git) HTML · 368 lines
fetch-request-redirect.https.html (https://github.com/rillian/firefox.git) HTML · 372 lines
54 var HTML_URL = base_path() + 'resources/dummy.html';
56 var REDIRECT_TO_IMAGE_URL = REDIRECT_URL + encodeURIComponent(IMAGE_URL);
57 var REDIRECT_TO_AUDIO_URL = REDIRECT_URL + encodeURIComponent(AUDIO_URL);
58 var REDIRECT_TO_XHR_URL = REDIRECT_URL + encodeURIComponent(XHR_URL);
59 var REDIRECT_TO_HTML_URL = REDIRECT_URL + encodeURIComponent(HTML_URL);
77 assert_resolves(
78 frame.contentWindow.xhr(
79 './?url=' + encodeURIComponent(REDIRECT_TO_XHR_URL) +
80 '&redirect-mode=follow'),
81 'Redirected XHR with Request.redirect=follow should succeed.'),
82 assert_rejects(
83 frame.contentWindow.xhr(
84 './?url=' + encodeURIComponent(REDIRECT_TO_XHR_URL) +
85 '&redirect-mode=error'),
86 'Redirected XHR with Request.redirect=error should fail.'),
fetch-event-redirect.https.html (https://github.com/rillian/firefox.git) HTML · 1102 lines
27 return wait_for_state(t, reg.installing, 'activated');
28 }).then(function() {
29 return with_iframe(scope + '?url=' + encodeURIComponent(frameURL));
30 }).then(function(frame) {
31 var hostKeySuffix = test['url_credentials'] ? '_WITH_CREDS' : '';
36 host = host_info['HTTPS_REMOTE_ORIGIN' + hostKeySuffix]
37 } else if (test['redirect_dest'] === 'cors') {
38 acaorigin = '?ACAOrigin=' + encodeURIComponent(host_info['HTTPS_ORIGIN']);
39 host = host_info['HTTPS_REMOTE_ORIGIN' + hostKeySuffix]
40 }
42 var dest = '?Redirect=' + encodeURIComponent(host + success + acaorigin);
44 var expectedTypeParam = test['expected_type']
test.js (https://gitlab.com/emad.rashad/mls-grading) JavaScript · 1260 lines
user-input.jsp (https://github.com/yangjiandong/sshapp.git) JavaServer Pages · 106 lines
store_form.tpl (https://bitbucket.org/allanxyh/uniquemall.git) Smarty Template · 573 lines
89 <tr>
90 <td><?php echo $entry_template; ?></td>
91 <td><select name="config_template" onchange="$('#template').load('index.php?route=setting/store/template&token=<?php echo $token; ?>&template=' + encodeURIComponent(this.value));">
92 <?php foreach ($templates as $template) { ?>
93 <?php if ($template == $config_template) { ?>
495 </div>
496 <script type="text/javascript"><!--
497 $('#template').load('index.php?route=setting/store/template&token=<?php echo $token; ?>&template=' + encodeURIComponent($('select[name=\'config_template\']').attr('value')));
498 //--></script>
499 <script type="text/javascript"><!--
545 $('#dialog').remove();
547 $('#content').prepend('<div id="dialog" style="padding: 3px 0px 0px 0px;"><iframe src="index.php?route=common/filemanager&token=<?php echo $token; ?>&field=' + encodeURIComponent(field) + '" style="padding:0; margin: 0; display: block; width: 100%; height: 100%;" frameborder="no" scrolling="auto"></iframe></div>');
549 $('#dialog').dialog({
setting.tpl (https://bitbucket.org/allanxyh/uniquemall.git) Smarty Template · 931 lines
78 <tr>
79 <td><?php echo $entry_template; ?></td>
80 <td><select name="config_template" onchange="$('#template').load('index.php?route=setting/setting/template&token=<?php echo $token; ?>&template=' + encodeURIComponent(this.value));">
81 <?php foreach ($templates as $template) { ?>
82 <?php if ($template == $config_template) { ?>
manufacturer_form.tpl (https://bitbucket.org/allanxyh/uniquemall.git) Smarty Template · 105 lines
77 $('#dialog').remove();
79 $('#content').prepend('<div id="dialog" style="padding: 3px 0px 0px 0px;"><iframe src="index.php?route=common/filemanager&token=<?php echo $token; ?>&field=' + encodeURIComponent(field) + '" style="padding:0; margin: 0; display: block; width: 100%; height: 100%;" frameborder="no" scrolling="auto"></iframe></div>');
81 $('#dialog').dialog({
84 if ($('#' + field).attr('value')) {
85 $.ajax({
86 url: 'index.php?route=common/filemanager/image&token=<?php echo $token; ?>&image=' + encodeURIComponent($('#' + field).val()),
87 dataType: 'text',
88 success: function(data) {
customer_list.tpl (https://github.com/sansanwawa/e-commerse.git) Smarty Template · 195 lines
147 if (filter_name) {
148 url += '&filter_name=' + encodeURIComponent(filter_name);
149 }
153 if (filter_email) {
154 url += '&filter_email=' + encodeURIComponent(filter_email);
155 }
159 if (filter_customer_group_id != '*') {
160 url += '&filter_customer_group_id=' + encodeURIComponent(filter_customer_group_id);
161 }
Network.yml (https://github.com/bataboske/titanium_mobile.git) YAML · 214 lines
git.js (https://github.com/tpurtell/changedna.git) JavaScript · 88 lines
appFolderList.js (https://bitbucket.org/ferOnti/processmaker.git) JavaScript · 297 lines
form.js (https://gitlab.com/axeltizon/magento-demopoweraccess) JavaScript · 194 lines
gestionBodega.js (https://bitbucket.org/juliojavieer/prueba_03.git) JavaScript · 216 lines
config.js (https://gitlab.com/slice-group/paraguana-mall-w) JavaScript · 130 lines
cookies.js (https://gitlab.com/Blueprint-Marketing/cdnjs) JavaScript · 156 lines
apps.jsp (https://bitbucket.org/y_widyatama/jogetworkflow-v3-fork.git) JavaServer Pages · 81 lines
test.js (https://github.com/JianMeng/sproutcore.git) JavaScript · 314 lines
GAPokki.js (https://github.com/CambriaK/Pokki-1.git) JavaScript · 230 lines
main.js (https://bitbucket.org/WarrenFNS/epsconnect.git) JavaScript · 258 lines
219 url = url + "&loc=" + Location;
220 url = url + "&rowID=" + Location + "AER" + new Date().getTime();
221 url = url + "&name=" + encodeURIComponent(getElementObject("afterERName").value);
222 url = url + "&desc=" + encodeURIComponent(getElementObject("afterERDesc").value);
223 url = url + "&addr=" + encodeURIComponent(getElementObject("afterERAddr").value);
224 url = url + "&city=" + encodeURIComponent(getElementObject("afterERCity").value);
225 url = url + "&zip=" + encodeURIComponent(getElementObject("afterERZip").value);
226 url = url + "&tel=" + encodeURIComponent(getElementObject("afterERTel").value);
237 url = url + "?category=AfterER";
238 url = url + "&loc=" + Location;
239 url = url + "&rowID=" + encodeURIComponent(currAfterER);
240 url = url + "&name=" + encodeURIComponent(getElementObject("afterERName").value);
241 url = url + "&desc=" + encodeURIComponent(getElementObject("afterERDesc").value);
242 url = url + "&addr=" + encodeURIComponent(getElementObject("afterERAddr").value);
hash.js (https://github.com/jwheare/prototype.git) JavaScript · 223 lines
152 function toQueryPair(key, value) {
153 if (Object.isUndefined(value)) return key;
154 return key + '=' + encodeURIComponent(String.interpret(value));
155 }
162 function toQueryString() {
163 return this.inject([], function(results, pair) {
164 var key = encodeURIComponent(pair.key), values = pair.value;
166 if (values && typeof values == 'object') {
browser_rules_pseudo_lock_options.js (https://github.com/rillian/firefox.git) JavaScript · 131 lines
worker_fileReader.js (https://github.com/rillian/firefox.git) JavaScript · 419 lines
xd.js_1346385827.m.js (https://bitbucket.org/tislamov/xdc.git) JavaScript · 112 lines
101 else
102 {if(config.canClose){$('.cancel-window').click(function(ev){window.location=location.href;$(this).parents().dialog('close');return false;});}else{$('.cancel-window').remove();}}}});$('#registerForm').ajaxForm({beforeSend:function(){that.doAjaxFormBeforeSend({formId:'#registerForm'});},success:function(data){data=$.parseJSON(data);$('button[type=submit]','#registerForm').attr('disabled',false).removeClass('disabled').fadeTo(100,1);that.doAjaxFormSuccess({formId:'#registerForm',data:data,errorsPrefix:'RegistrationForm_',inputPrefix:'user[',inputPostfix:']',statusSuccess:function(response){return that.redirect({to:response.redirectUrl});}});},error:function(xhr,status,response){that.doAjaxFormError({formId:'#registerForm','xhr':xhr});}});if(config.canClose){$('.cancel-window').click(function(ev){window.location=location.href;$(this).parents('.ui-dialog-content').dialog('close');return false;});}else{$('.cancel-window').remove();}
103 $('.register-box-footer-link').live('click',function(ev){var tabIndex=parseInt($(this).attr('data-tabIndex'));$('#registration-tabs').tabs('select',tabIndex);return false;});$('a','#dialog-sign-up-button').attr('draggable',false);},ajaxLoader:''});if(config.autoShow){$(selector).trigger('click');}},updateLocationHash:function(pagerId){var newLocation=$('.pagination .selected > a:first','#'+pagerId).attr('href');if(newLocation){$.bbq.pushState(pagerId+'='+newLocation);}},loadLocationHash:function(listId){$(window).bind('hashchange',function(e){var list=$('#'+listId);var currentUrl=$('.pagination .selected > a:first',list).attr('href').replace(/\+/g,'%20');var loadUrl=$.bbq.getState(listId);loadUrl=loadUrl?encodeURI(loadUrl).replace(/,/,encodeURIComponent(',')):loadUrl;if(loadUrl&&(currentUrl!==loadUrl)){list.yiiListView.update(listId,{url:loadUrl});}});$(window).trigger('hashchange');},trackGAURL:function(options){var _events=this.getGlobal('gaEvents');options=$.extend({url:window.location.href,ev:''},options);if(options.ev!=''&&!_events[options.ev]){return false;}
104 var _trackUrl='{url}{glueString}{eventName}';var eventName=options.ev===''?'':'ev='+_events[options.ev];var _glueString=eventName!==''?(options.url.search(/\?/)>-1?'&':'?'):'';_trackUrl=_trackUrl.replace('{url}',options.url).replace('{glueString}',_glueString).replace('{eventName}',eventName);this.loadGAParams({'_trackPageview':_trackUrl});return true;},loadGAParams:function(moreParams){var params=this.getGlobal('GAParams');if(moreParams!=='undefined'){params=$.extend(params,moreParams);}
105 _gaq=typeof(_gaq)!=='undefined'?_gaq:[];$.each(params,function(GAParam,value){if(value&&value!==''){_gaq.push([GAParam,value]);}});},focus:function(options){options=$.extend({cnt:null,isId:false,filter:'input[type="text"]:first,textarea:first'},options);if(options.isId){options.cnt='#'+options.cnt.replace('#','');}
JSFunction.h (https://github.com/weissms/owb-mirror.git) C Header · 166 lines
152 JSValue* globalFuncDecodeURIComponent(ExecState*, JSObject*, JSValue*, const ArgList&);
153 JSValue* globalFuncEncodeURI(ExecState*, JSObject*, JSValue*, const ArgList&);
154 JSValue* globalFuncEncodeURIComponent(ExecState*, JSObject*, JSValue*, const ArgList&);
155 JSValue* globalFuncEscape(ExecState*, JSObject*, JSValue*, const ArgList&);
156 JSValue* globalFuncUnescape(ExecState*, JSObject*, JSValue*, const ArgList&);
cookie.js (https://gitlab.com/essere.lab.public/qualitas.class-corpus) JavaScript · 77 lines
xhr.js (https://gitlab.com/jiangming1399/luci) JavaScript · 262 lines
119 {
120 code += (code ? '&' : '') +
121 form.elements[i].name + '=' + encodeURIComponent(
122 e.options[e.selectedIndex].value
123 );
128 if (e[j].name) {
129 code += (code ? '&' : '') +
130 e[j].name + '=' + encodeURIComponent(e[j].value);
131 }
132 }
134 {
135 code += (code ? '&' : '') +
136 e.name + '=' + encodeURIComponent(e.value);
137 }
138 }
TweetBox.js (https://gitlab.com/alidzapp/TweetSplitter) JavaScript · 66 lines
13 this.domElement.value += this.currentCountTag;
15 $("#wrapper").append("<div id='tweets" + this.idNum + "' class='row clearfix'><div id = 'tweetColumn" + this.idNum + "' class='col-xs-8 column'></div><div id= 'buttons" + this.idNum + "' class='col-xs-4 column'><div class='row clearfix'><a class='btn btn-primary' id='custom-tweet-button" + this.idNum + "' >Tweet</a></div><div class='row clearfix'><label id='count" + this.idNum + "' for='tweet'></label></div><script> document.getElementById('custom-tweet-button" + this.idNum + "').addEventListener('click', function (el) { el.target.href = ''; var tweet = encodeURIComponent(($('#tweet" + this.idNum + "').val())); el.target.href = href='http://twitter.com/intent/tweet?text=' + tweet});</script></div></div>");
16 document.getElementById("tweetColumn" + this.idNum + "").appendChild(this.domElement);
AuthView.js (https://gitlab.com/atomfrede/jhipster-ci-example-gradle) JavaScript · 178 lines
141 redirect_uri = redirectUrl;
143 url += '&redirect_uri=' + encodeURIComponent(redirectUrl);
144 url += '&realm=' + encodeURIComponent(realm);
145 url += '&client_id=' + encodeURIComponent(clientId);
146 url += '&scope=' + encodeURIComponent(scopes.join(scopeSeparator));
147 url += '&state=' + encodeURIComponent(state);
148 for (var key in additionalQueryStringParams) {
149 url += '&' + key + '=' + encodeURIComponent(additionalQueryStringParams[key]);
shipping.tpl (https://github.com/elleeott/WPOC-boilerplate.git) Smarty Template · 145 lines
37 type: 'POST',
38 url: 'index.php?route=total/shipping/quote',
39 data: 'country_id=' + $('select[name=\'country_id\']').val() + '&zone_id=' + $('select[name=\'zone_id\']').val() + '&postcode=' + encodeURIComponent($('input[name=\'postcode\']').val()),
40 dataType: 'json',
41 beforeSend: function() {
functions.js (https://github.com/jrschumacher/jobberbase.git) JavaScript · 112 lines
storage.permissions.js (https://github.com/Setuber/Ringify.git) JavaScript · 148 lines
4 var useQueues = $("[id=Queues_" + userId + "]:checked").val() !== undefined;
6 actionUrl = actionUrl.replace("_user_", encodeURIComponent(userId));
7 actionUrl = actionUrl.replace("_useTables_", encodeURIComponent(useTables));
8 actionUrl = actionUrl.replace("_useBlobs_", encodeURIComponent(useBlobs));
9 actionUrl = actionUrl.replace("_useQueues_", encodeURIComponent(useQueues));
15 var isPublic = $("[id=Public_" + storage + "]").val() == "false";
17 actionUrl = actionUrl.replace("_storage_", encodeURIComponent(storage));
18 actionUrl = actionUrl.replace("_isPublic_", encodeURIComponent(isPublic));
44 actionUrl = hasAccess ? addPermissionActionUrl : removePermissionActionUrl;
46 actionUrl = actionUrl.replace("_storage_", encodeURIComponent(storage));
47 actionUrl = actionUrl.replace("_user_", encodeURIComponent(userId));
ngConstellation-1.8.0.js (https://gitlab.com/psyked/Promethee) JavaScript · 225 lines
search.js (https://github.com/johannesloetzsch/evopedia.git) JavaScript · 105 lines
prototype.js
(http://fatal-error.googlecode.com/svn/trunk/)
JavaScript · 3269 lines
✨ Summary
This JavaScript code defines a set of functions and classes for working with CSS selectors, including parsing, manipulating, and evaluating selector expressions. It provides a robust framework for querying HTML documents based on CSS selectors, allowing developers to efficiently search and manipulate elements in the DOM. The code is designed to be flexible and extensible, supporting various types of selectors and attributes.
This JavaScript code defines a set of functions and classes for working with CSS selectors, including parsing, manipulating, and evaluating selector expressions. It provides a robust framework for querying HTML documents based on CSS selectors, allowing developers to efficiently search and manipulate elements in the DOM. The code is designed to be flexible and extensible, supporting various types of selectors and attributes.