{
  "$type": "site.standard.document",
  "bskyPostRef": {
    "cid": "bafyreigbiknfifjcwtnb34nbtt5o3ian462x3pwspknutlzxah2hcfxaku",
    "uri": "at://did:plc:hqad6xwuzg7oqfmwylfkvqfm/app.bsky.feed.post/3mjbhfjz2ofh2"
  },
  "path": "/viewtopic.php?t=32098&p=272237#p272237",
  "publishedAt": "2026-04-11T22:31:21.000Z",
  "site": "http://forum.palemoon.org",
  "tags": [
    "@mozilla.org"
  ],
  "textContent": "> The \"startsWith\" part was supposed to make it work for sub-pages too, but if you press More (\"Show more details...\") the original button re-appears in that sub-page anyway.\n\nI've made a new version of the code for \"change__bypass_cloudflare_with_firefox_cookies__addon_icon.uc.js\" that changes the button image also on the page that opens after clicking \"Show more details about this add-on\".\n\nI set the timeout for \"setTimeout\" back to 100 because it works fine for me, but if you notice any issues, you can increase this waiting time.\n\nBelow is a new code for the \"change__bypass_cloudflare_with_firefox_cookies__addon_icon.uc.js\" file:\n\n\nCODE:\n\n\n    function get_Operating_System__change__bypass_cloudflare_with_firefox_cookies__addon_LOGO_icon() { var os = Services.appinfo.OS.toLowerCase();if (os.startsWith(\"win\")) {return \"Windows\";} else if (os == \"linux\") {return \"Linux\";} else{return \"\";}}gBrowser.addProgressListener({ onLocationChange: function() {var page_URL = gBrowser.contentDocument.location.href;if(page_URL == \"about:addons\"){setTimeout(function() {var arr_addons = content.document.getElementsByClassName(\"addon addon-view\");if(arr_addons){for(var i=0; i<arr_addons.length; i++){var addon = arr_addons[i];var addon_name = addon.getAttribute(\"name\");if(addon_name == 'Bypass Cloudflare with \"Backup Browser\" Cookies'){var directoryService = Components.classes[\"@mozilla.org/file/directory_service;1\"].getService(Components.interfaces.nsIProperties);var ProfilesDir = directoryService.get(\"ProfD\", Components.interfaces.nsIFile);var ProfilesDir_Path = ProfilesDir.path;var addon_LOGO_icon_PATH = \"\";var operating_system = get_Operating_System__change__bypass_cloudflare_with_firefox_cookies__addon_LOGO_icon();if(operating_system == \"Windows\"){ProfilesDir_Path = ProfilesDir_Path.replace(/\\\\/g,'/');addon_LOGO_icon_PATH = 'file:///' + ProfilesDir_Path + \"/chrome/bypass_cloudflare_with_firefox_cookies_LOGO.png\";} else if(operating_system == \"Linux\"){addon_LOGO_icon_PATH = 'file:///' + ProfilesDir_Path + \"/chrome/bypass_cloudflare_with_firefox_cookies_LOGO.png\";}addon._icon.src = addon_LOGO_icon_PATH;var detail_name = content.document.getElementById(\"detail-name\");if(detail_name){if(detail_name.innerHTML == 'Bypass Cloudflare with \"Backup Browser\" Cookies'){var detail_icon = content.document.getElementById(\"detail-icon\");if(detail_icon){detail_icon.src = addon_LOGO_icon_PATH;}}}}}}}, 100);}}});\n\n* * *",
  "title": "Extension Releases/Support • Re: Bypass Cloudflare with Firefox Cookies",
  "updatedAt": "2026-04-11T22:31:21.000Z"
}