Working in Phoenix Code Pro pollutes the site's page hits counter #2972
Replies: 3 comments 1 reply
-
|
Are you using replace in files? which os is this? Can you give a step by step workflow run to help understand the exact flow. |
Beta Was this translation helpful? Give feedback.
-
|
Background: I am editing in Phoenix Code Pro HTML files from C:\Apache24\htdocs folder (the root folder of an Apache web server installed on the same Windows 11 PC I am using for editing - this site is not accessible from the Internet). Each HTML document has a hit counter in Javascript embedded in the HTML code, which sends a request to a remote hit count server on the Internet and receives back a JPG file displaying the hit count. However, I don't want to count my work on the HTML code as page hits. 1 - Open an HTML file in code view and live view. I could pull out the Ethernet plug of my computer to avoid the hit counter increment. However, if I do this, Phoenix Code Pro cannot contact its server for the authentication of my license. |
Beta Was this translation helpful? Give feedback.
-
|
Hey @enricosavazzi, apologies for the late response. I was checking out the issue and yes you're totally correct. So here's the thing: Live preview is a real browser rendering your page, so any script on the page runs exactly like it would for a normal visitor including your hit counter and therefore increasing it. Also, about the firewall thing: the requests don't actually come from Phoenix Code.exe. On Windows the preview is rendered by Microsoft's WebView2 runtime (msedgewebview2.exe), so that's the exe making the requests. That's why blocking Phoenix Code.exe made no difference. Currently, there's no way to block external requests in live preview, but it's a good feature to have. I will create an issue for this... For now, I think if you just add a check for localhost, then it should solve your issue: Hope this helps! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am using Phoenix Code Pro to make a large number of manual changes in a static HTML web site. Manual or automatic refreshing the live view to verify that the changes work as intended are counted by the page hits counter present on every page. In 3-4 days my work has added over 2,000 hits to the total hit count of the site, but these are not "real" page hits.
I blocked C:\Users\Enrico\AppData\Local\Phoenix Code\Phoenix Code.exe in my PC firewall from the IP addresses of the hits counter servers, but the counter still increments at each view refresh. Probably another .exe or .dll file is triggering the hit counter. Does any one know what? I cannot just block the whole PC from the hit counter servers, or else I will never see the counter in my web browser.
Totally blocking Phoenix Code.exe from the Internet makes no difference, either.
Beta Was this translation helpful? Give feedback.
All reactions