The kDupe browser bookmarklet

One click on any skincare product page and we'll open a kDupe tab with the K-beauty dupe.

Drag this button to your bookmarks bar
★ Save to kDupe
Click and hold, then drag up to your bookmarks bar.

How to install

  1. 1Make sure your browser's bookmarks bar is visible (View → Show Bookmarks Bar, or ⌘+Shift+B).
  2. 2Drag the pink ★ Save to kDupe button above onto the bookmarks bar.
  3. 3Browse to any skincare product page. Click the bookmark and kDupe opens the K-beauty dupe in a new tab.

Manual install

If dragging didn't work, create a new bookmark manually with the code below as the URL.

(function () {
  var t = (document.title || "")
    .replace(
      /\s*[|\-–—:]\s*(Sephora|Ulta\s*Beauty|Ulta|Kiehl['’]?s|Drunk\s*Elephant|Nordstrom|Macy['’]?s|Bluemercury|Dermstore|Skinstore|Cult\s*Beauty|Beautylish|Credo|Space\s*NK|Mecca|Amazon[\.,]?\s*com|Amazon)\b[\s\S]*$/i,
      ""
    )
    .replace(/^Amazon[\.,]?\s*com\s*:?\s*/i, "")
    .replace(/\s*:\s*Beauty[\s\S]*$/i, "")
    .trim();
  if (!t) {
    alert("kDupe could not detect a product name from this page.");
    return;
  }
  window.open(
    "https://seoulful.co/search?q=" + encodeURIComponent(t),
    "_blank"
  );
})();

Note: bookmarklets must live on a single line in the bookmark URL. The pretty-printed version above is for reading only — copying it still pastes the working one-line code.