PageSourceSearch

https://chs-shc.gc.ca/includes/scripts/feedback-widget.js

js chs-shc.gc.ca collected 2026-10-02 07:30:40 UTC 724 bytes, 23 lines download raw bytes

1//	Feedback Widget Submission Script
2$(document).on("wb-ready.wb", function() {
3  $("#btnno").click(function(e) {
4	  $(".gc-pg-hlpfl-no").removeClass("nojs-show");
5	  $(".gc-pg-hlpfl-btn").addClass("hide");
6	  $("#helpful").val("No");
7  });
8  $("#gc-pg-hlpfl-frm").submit(function(e) {
9	  e.preventDefault();
10	  $(".gc-pg-hlpfl-thnk").removeClass("hide");
11	  $("#gc-pg-hlpfl-frm").addClass("hide nojs-show");
12	  $.ajax({
13		  url: 'https://pagesuccessemailqueue.azurewebsites.net/api/QueueProblemForm',
14		  type: 'POST',
15		  dataType: 'text',
16		  data: $('form#gc-pg-hlpfl-frm').serialize(),
17		  success: function(data) {},
18		  error: function(xhr, status, err) {
19			  console.log(xhr.responseText);
20		  }
21	  });
22  });
23});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.