fck-honey 0.3.8 → 0.3.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/auto.js CHANGED
@@ -1,6 +1,6 @@
1
1
  (function() {
2
2
  // dist/bundle-tmp/version.js
3
- var VERSION = "0.3.8";
3
+ var VERSION = "0.3.9";
4
4
 
5
5
  // dist/bundle-tmp/core.js
6
6
  var __assign = function() {
@@ -271,7 +271,7 @@
271
271
  function buildAutoModalHtml(vendor) {
272
272
  var query = encodeURIComponent("Why is the " + vendor + " browser extension shady, and how can i uninstall it?");
273
273
  var helpUrl = "http://chatgpt.com/?q=" + query;
274
- return '<div class="modal" role="dialog" aria-modal="true" aria-labelledby="honey-modal-title"><h2 id="honey-modal-title">This site can\u2019t proceed with ' + vendor + ' enabled</h2><div style="display:flex;gap:8px;flex-wrap:wrap;margin:8px 0 12px 0;"><a href="' + helpUrl + '" target="_blank" rel="noopener noreferrer" style="display:block;padding:10px 12px;background:#e6eef7;color:#0b1b2b;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px;border-radius:6px;flex:1 1 220px;">Please disable it to continue your checkout.</a><a href="https://www.youtube.com/watch?v=wwB3FmbcC88" target="_blank" rel="noopener noreferrer" style="display:block;padding:10px 12px;background:#e6eef7;color:#0b1b2b;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px;border-radius:6px;flex:1 1 220px;">Here is why \uD83C\uDFA5</a></div></div>';
274
+ return '<div class="modal" role="dialog" aria-modal="true" aria-labelledby="honey-modal-title"><h2 id="honey-modal-title"><span style="font-weight:400;">This site can\u2019t proceed with </span><strong style="text-transform:uppercase;">' + vendor + '</strong><span style="font-weight:400;"> Extension enabled</span></h2><div style="display:flex;gap:8px;flex-wrap:wrap;margin:8px 0 12px 0;align-items:stretch;"><a href="' + helpUrl + '" target="_blank" rel="noopener noreferrer" style="display:flex;align-items:center;justify-content:center;text-align:center;min-height:52px;padding:10px 12px;background:#e6eef7;color:#0b1b2b;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px;border-radius:6px;flex:1 1 240px;">Please disable it to continue your checkout. \u26D4\uFE0F</a><a href="https://www.youtube.com/watch?v=wwB3FmbcC88" target="_blank" rel="noopener noreferrer" style="display:flex;align-items:center;justify-content:center;text-align:center;min-height:52px;padding:10px 12px;background:#e6eef7;color:#0b1b2b;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px;border-radius:6px;flex:1 1 240px;">Here is why \uD83C\uDFA5</a></div></div>';
275
275
  }
276
276
  if (typeof window !== "undefined") {
277
277
  window.fckHoney = window.fckHoney || {};
@@ -3,14 +3,17 @@ function buildAutoModalHtml(vendor) {
3
3
  var query = encodeURIComponent("Why is the " + vendor + " browser extension shady, and how can i uninstall it?");
4
4
  var helpUrl = "http://chatgpt.com/?q=" + query;
5
5
  return ('<div class="modal" role="dialog" aria-modal="true" aria-labelledby="honey-modal-title">' +
6
- '<h2 id="honey-modal-title">This site can’t proceed with ' +
6
+ '<h2 id="honey-modal-title">' +
7
+ '<span style="font-weight:400;">This site can’t proceed with </span>' +
8
+ '<strong style="text-transform:uppercase;">' +
7
9
  vendor +
8
- " enabled</h2>" +
9
- '<div style="display:flex;gap:8px;flex-wrap:wrap;margin:8px 0 12px 0;">' +
10
+ '</strong><span style="font-weight:400;"> Extension enabled</span>' +
11
+ "</h2>" +
12
+ '<div style="display:flex;gap:8px;flex-wrap:wrap;margin:8px 0 12px 0;align-items:stretch;">' +
10
13
  '<a href="' +
11
14
  helpUrl +
12
- '" target="_blank" rel="noopener noreferrer" style="display:block;padding:10px 12px;background:#e6eef7;color:#0b1b2b;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px;border-radius:6px;flex:1 1 220px;">Please disable it to continue your checkout.</a>' +
13
- '<a href="https://www.youtube.com/watch?v=wwB3FmbcC88" target="_blank" rel="noopener noreferrer" style="display:block;padding:10px 12px;background:#e6eef7;color:#0b1b2b;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px;border-radius:6px;flex:1 1 220px;">Here is why 🎥</a>' +
15
+ '" target="_blank" rel="noopener noreferrer" style="display:flex;align-items:center;justify-content:center;text-align:center;min-height:52px;padding:10px 12px;background:#e6eef7;color:#0b1b2b;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px;border-radius:6px;flex:1 1 240px;">Please disable it to continue your checkout. ⛔️</a>' +
16
+ '<a href="https://www.youtube.com/watch?v=wwB3FmbcC88" target="_blank" rel="noopener noreferrer" style="display:flex;align-items:center;justify-content:center;text-align:center;min-height:52px;padding:10px 12px;background:#e6eef7;color:#0b1b2b;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px;border-radius:6px;flex:1 1 240px;">Here is why 🎥</a>' +
14
17
  "</div></div>");
15
18
  }
16
19
  if (typeof window !== "undefined") {
@@ -1,2 +1,2 @@
1
1
  // Auto-generated from package.json. Do not edit by hand.
2
- export var VERSION = "0.3.8";
2
+ export var VERSION = "0.3.9";
@@ -1,2 +1,2 @@
1
1
  // Auto-generated from package.json. Do not edit by hand.
2
- export var VERSION = "0.3.8";
2
+ export var VERSION = "0.3.9";
@@ -1,6 +1,6 @@
1
1
  (function() {
2
2
  // dist/bundle-tmp/version.js
3
- var VERSION = "0.3.8";
3
+ var VERSION = "0.3.9";
4
4
 
5
5
  // dist/bundle-tmp/core.js
6
6
  var __assign = function() {
@@ -1,4 +1,4 @@
1
- export declare const version = "0.3.8";
1
+ export declare const version = "0.3.9";
2
2
  export type WarnCallback = (message: string) => () => void;
3
3
  export type DetectedVendor = "honey" | "Capital One Shopping";
4
4
  export type MatchCallback = (warn: WarnCallback, el?: HTMLDivElement, vendor?: DetectedVendor) => void;
@@ -1 +1 @@
1
- export declare const VERSION = "0.3.8";
1
+ export declare const VERSION = "0.3.9";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fck-honey",
3
- "version": "0.3.8",
3
+ "version": "0.3.9",
4
4
  "description": "Detects Honey browser extension overlays for merchants.",
5
5
  "license": "MIT",
6
6
  "main": "dist/honey-detect.js",