Possible UI Bug: Icon Doesn't Change

Ask for help about NoScript, no registration needed to post
jenic
Posts: 1
Joined: Sun Dec 03, 2017 8:56 pm

Possible UI Bug: Icon Doesn't Change

Post by jenic »

Hi! I'm not sure if I should be putting this here or in the development/bug area but here goes:

Issue: Icon always showing "Scripts Allowed" even if scripts are not allowed. Count doesn't change, all indicators show the scripts should be allowed yet scripts do not run on the page.

Actions Taken:
  • Removed all rules from NoScript options, removed addon, restarted firefox, reinstalled addon. Issue persists.
  • Created completely new profile and installed all currently installed addons, issue is resolved and Icon and script counts function as normal.
NoScript Version: 10.1.5.3
Firefox Version: 57.0.1 (64-bit) from Arch Linux firefox-57.0.1-1
OS: Linux 4.13.12-1-ARCH #1 SMP PREEMPT Wed Nov 8 11:54:06 CET 2017 x86_64 GNU/Linux

Screenshot of malfunctioning profile: https://i.imgur.com/owc2zmf.png
Screenshot of newly created profile: https://i.imgur.com/6QOFpBe.png
Side-by-Side Comparison: https://i.imgur.com/0sAQXcM.png

Browser Console output of malfunctioning profile:

Code: Select all

14:49:32.028 [NoScript] Including /xss/InjectionChecker.js  log.js:9:39
14:49:32.039 [NoScript] Including /lib/Base64.js  log.js:9:39
14:49:32.041 [NoScript] Including /xss/FlashIdiocy.js  log.js:9:39
14:49:32.043 [NoScript] Including /xss/ASPIdiocy.js  log.js:9:39
14:49:32.631 [NoScript] onHeadersReceived Object { requestId: "601", url: "https://forums.informaction.com/", originUrl: undefined, documentUrl: undefined, method: "GET", type: "main_frame", timeStamp: 1512337772621, frameId: 0, parentFrameId: -1, responseHeaders: Array[12], 5 more… }  log.js:9:39
14:49:32.649 "[NoScript] https://forums.informaction.com/ scriptBlocked=false setting noscriptFrame on " 20 0  log.js:9:39
14:49:32.860 [NoScript] Received message from content Object { type: "canScript" } Object { id: "{73a6fe31-595d-460b-a920-fcc0f88432…", frameId: 0, url: "https://forums.informaction.com/", envType: "content_child", extensionId: "{73a6fe31-595d-460b-a920-fcc0f88432…", contextId: "7-6", tab: Object }  log.js:9:39
14:49:32.862 [NoScript] Records.noscriptFrames  Object [ false ] , canScript: true  log.js:9:39
14:49:32.864 [NoScript] Received unkown message Object { type: "canScript" } Object { id: "{73a6fe31-595d-460b-a920-fcc0f88432…", frameId: 0, url: "https://forums.informaction.com/", envType: "content_child", extensionId: "{73a6fe31-595d-460b-a920-fcc0f88432…", contextId: "7-6", tab: Object }  log.js:9:39
14:49:33.756 [NoScript] Received message from content Object { type: "pageshow", seen: Array[3], canScript: true } Object { id: "{73a6fe31-595d-460b-a920-fcc0f88432…", frameId: 0, url: "https://forums.informaction.com/", envType: "content_child", extensionId: "{73a6fe31-595d-460b-a920-fcc0f88432…", contextId: "7-6", tab: Object }  log.js:9:39
14:49:33.771 [NoScript] Received unkown message Object { type: "pageshow", seen: Array[3], canScript: true } Object { id: "{73a6fe31-595d-460b-a920-fcc0f88432…", frameId: 0, url: "https://forums.informaction.com/", envType: "content_child", extensionId: "{73a6fe31-595d-460b-a920-fcc0f88432…", contextId: "7-6", tab: Object }  log.js:9:39
14:50:11.401 [NoScript] Received message from content Object { type: "canScript" } Object { id: "{73a6fe31-595d-460b-a920-fcc0f88432…", frameId: 0, url: "about:blank", envType: "content_child", extensionId: "{73a6fe31-595d-460b-a920-fcc0f88432…", contextId: "9097-0" }  log.js:9:39
14:50:11.403 [NoScript] Received unkown message Object { type: "canScript" } Object { id: "{73a6fe31-595d-460b-a920-fcc0f88432…", frameId: 0, url: "about:blank", envType: "content_child", extensionId: "{73a6fe31-595d-460b-a920-fcc0f88432…", contextId: "9097-0" }  log.js:9:39
14:50:12.865 [NoScript] apply title="__MSG_TempAllowPage__"  log.js:9:39
14:50:12.866 [NoScript] apply title="__MSG_RevokeTemp__"  log.js:9:39
14:50:12.868 [NoScript] apply title="__MSG_Options__"  log.js:9:39
14:50:12.912 [NoScript] Including /ui/ui.css  log.js:9:39
14:50:12.914 [NoScript] Including /lib/punycode.js  log.js:9:39
14:50:12.916 [NoScript] Including /lib/tld.js  log.js:9:39
14:50:12.917 [NoScript] Including /common/Policy.js  log.js:9:39
14:50:13.016 [NoScript] Received message from content Object { type: "NoScript.broadcastSettings", tabId: 20 } Object { id: "{73a6fe31-595d-460b-a920-fcc0f88432…", url: "moz-extension://b0e4474e-0b25-4aee-…", envType: "addon_child", extensionId: "{73a6fe31-595d-460b-a920-fcc0f88432…", contextId: "9101-0" }  log.js:9:39
14:50:13.064 [NoScript] Collected seen Array [ Object, Object, Object ]  log.js:9:39
14:50:13.072 [NoScript] Imported function ()  log.js:9:39
14:50:13.074 [NoScript] Seen:  Array [ Object, Object, Object ]  log.js:9:39
14:50:13.083 [NoScript] <table class="sites">
    <tbody><tr class="site">

    <td class="presets">
    
    <span class="preset DEFAULT">
      <input id="preset" class="preset" name="preset" value="DEFAULT" title="Default" type="radio"><label for="preset" class="preset" title="Default">Default</label>
      <button class="options tiny" title="Options…">⚙</button>
      </span><span class="preset TRUSTED">
      <input id="preset" class="preset" name="preset" value="TRUSTED" title="Trusted" type="radio"><label for="preset" class="preset" title="Trusted">Trusted</label>
      <button class="options tiny" title="Options…">⚙</button>
      <input id="temp" class="temp" title="Temporarily allow (TRUSTED)" type="checkbox"><label for="temp">Temporarily allow </label></span><span class="preset UNTRUSTED">
      <input id="preset" class="preset" name="preset" value="UNTRUSTED" title="Untrusted" type="radio"><label for="preset" class="preset" title="Untrusted">Untrusted</label>
      <button class="options tiny" title="Options…">⚙</button>
      </span><span class="preset CUSTOM">
      <input id="preset" class="preset" name="preset" value="CUSTOM" title="Custom" type="radio"><label for="preset" class="preset" title="Custom">Custom</label>
      <button class="options tiny" title="Options…">⚙</button>
      <input id="temp" class="temp" title="Temporarily allow (CUSTOM)" type="checkbox"><label for="temp">Temporarily allow </label></span></td>

    <td class="url" data-key="secure">
    <input class="https-only" id="https-only" title="Match HTTPS content only" type="checkbox"><label for="https-only" class="https-only" title="Match HTTPS content only">Match HTTPS content only</label>
    <span class="full-address">
    <span class="protocol">https://</span><span class="sub">www.</span><span class="domain">noscript.net</span><span class="path"></span>
    </span>
    </td>



    </tr>
    
    </tbody></table>  log.js:9:39
14:50:13.084 [NoScript] Clearing list <table class="sites">  log.js:9:39
14:50:13.085 [NoScript] Customize preset undefined ( null ) - Dirty: undefined  log.js:9:39
14:50:13.106 [NoScript] Rendering  Array [ "https://forums.informaction.com", "§:informaction.com" ]  inside  <div id="sites">  log.js:9:39
14:50:13.108 [NoScript] Clearing list <table class="sites">  log.js:9:39
14:50:13.109 [NoScript] Customize preset undefined ( null ) - Dirty: undefined  log.js:9:39
14:50:13.110 "[NoScript] Creating row for site: https://forums.informaction.com, matching null / null, " Object { capabilities: Set[6], temp: false, contextual: Map[0] }  log.js:9:39
14:50:13.114 [NoScript] Creating row for site: §:informaction.com, matching null / null,  Object { capabilities: Set[6], temp: false, contextual: Map[0], _tempTwin: Object }  log.js:9:39
14:50:13.117 [NoScript] Clearing list <table class="sites">  log.js:9:39
14:50:13.118 [NoScript] Customize preset undefined ( null ) - Dirty: undefined  log.js:9:39
14:50:13.119 [NoScript] Wiring <table class="sites">  log.js:9:39
14:50:17.048 [NoScript] pendingReload false  log.js:9:39
Policy:

Code: Select all

{
  "DEFAULT": {
    "capabilities": [
      "other",
      "font",
      "frame",
      "media",
      "webgl",
      "script"
    ],
    "temp": false
  },
  "TRUSTED": {
    "capabilities": [
      "script",
      "object",
      "media",
      "frame",
      "font",
      "webgl",
      "fetch",
      "other"
    ],
    "temp": false
  },
  "UNTRUSTED": {
    "capabilities": [],
    "temp": false
  },
  "sites": {
    "trusted": [],
    "untrusted": [],
    "custom": {},
    "temp": []
  },
  "enforced": true
}
I would rather not start a whole new profile to fix this issue, does someone know why it does this? Is there a known fix I can do instead of blowing away my profile?

PS: Apologies if this was already addressed, some simple searches didn't turn up anything related but I'll admit I only spent a minute or two trying.
Mozilla/5.0 (X11; Linux x86_64; rv:57.0) Gecko/20100101 Firefox/57.0