techgear.gr: broken menu + layout issue Topic is solved

For support with specific websites

Moderator: trava90

Forum rules
Please always mention the name/domain of the website in question in your topic title.
Please one website per topic thread (to help keep things organized). While behavior on different sites might at first glance seem similar, they are not necessarily caused by the same.

Please try to include any relevant output from the Toolkit Error Console or the Developer Tools Web Console using the following procedure:
  1. Clear any current output
  2. Navigate or refresh the page in question
  3. Copy and paste Errors or seemingly relevant Warnings into a single [ code ] block.
User avatar
back2themoon
Knows the dark side
Knows the dark side
Posts: 3093
Joined: 2012-08-19, 20:32

techgear.gr: broken menu + layout issue

Post by back2themoon » 2026-01-15, 16:01

https://www.techgear.gr/

techgear.png
The top arrows indicate the broken menu. Pressing the top-right Menu button also reveals a broken menu.

The bottom arrow indicates missing space. These weird "content boxes" they are using are supposed to have some space between them:

techgear2.png
Errors I see:

Code: Select all

Use of attributes’ nodeValue attribute is deprecated. Use value instead.

[Exception... "Component returned failure code: 0x80004002 (NS_NOINTERFACE) [nsIWebProgress.DOMWindow]"  nsresult: "0x80004002 (NS_NOINTERFACE)"  location: "JS frame :: chrome://browser/content/browser.js :: onStateChange :: line 11160"  data: no
You do not have the required permissions to view the files attached to this post.

User avatar
adoxa
Astronaut
Astronaut
Posts: 577
Joined: 2019-03-16, 13:26
Location: Qld, Aus.

Re: techgear.gr: broken menu + layout issue

Post by adoxa » 2026-01-15, 23:57

It makes extensive use of CSS clamp (with a couple of min, as well). Modify HTTP Response filter.

Code: Select all

[["/final-app\\.css/",["/clamp\\(.*?,(.*?),.*?\\)/g","$1","/min\\((.*?),.*?\\)/g","$1"]]]]

User avatar
back2themoon
Knows the dark side
Knows the dark side
Posts: 3093
Joined: 2012-08-19, 20:32

Re: techgear.gr: broken menu + layout issue

Post by back2themoon » 2026-01-16, 09:53

Thank you adoxa! I'm having some trouble applying this filter, is the syntax ok?

User avatar
tellu-white
Lunatic
Lunatic
Posts: 293
Joined: 2022-03-08, 22:02

Re: techgear.gr: broken menu + layout issue

Post by tellu-white » 2026-01-16, 12:43

back2themoon wrote:
2026-01-16, 09:53
Thank you adoxa! I'm having some trouble applying this filter, is the syntax ok?
Try this:

Code: Select all

[["/techgear/",["/final-app\\.css/",["/clamp\\(.*?,(.*?),.*?\\)/g","$1","/min\\((.*?),.*?\\)/g","$1"]]]]
Adoxa forgot to put the "host" in filter.

***

Note: if you want to add this filter to the existing ones, then read adoxa's post here:

https://forum.palemoon.org/viewtopic.php?f=70&t=31829#p257209

User avatar
back2themoon
Knows the dark side
Knows the dark side
Posts: 3093
Joined: 2012-08-19, 20:32

Re: techgear.gr: broken menu + layout issue

Post by back2themoon » 2026-01-16, 16:10

Thank you too, tellu-white! That fixes it. I'm currently using your extension, actually.

Out of curiosity: why is "techgear" needed here instead of "techgear.gr" which fails? Seems unusual.

This website also seems quite unusual, to put it kindly. After the fix, the top-right menu button disappeared - pushed out to the right, actually and the cursor keys were needed! I had to apply these zoom levels to get close to the intended result: Global zoom = 140% / Text-only zoom = 90%

User avatar
tellu-white
Lunatic
Lunatic
Posts: 293
Joined: 2022-03-08, 22:02

Re: techgear.gr: broken menu + layout issue

Post by tellu-white » 2026-01-16, 17:16

back2themoon wrote:
2026-01-16, 16:10
Thank you too, tellu-white! That fixes it. I'm currently using your extension, actually.

Out of curiosity: why is "techgear" needed here instead of "techgear.gr" which fails? Seems unusual.

This website also seems quite unusual, to put it kindly. After the fix, the top-right menu button disappeared - pushed out to the right, actually and the cursor keys were needed! I had to apply these zoom levels to get close to the intended result: Global zoom = 140% / Text-only zoom = 90%
I'm glad you find my add-on easier to use.

The "host" "techgear.gr" fails because the URL of the CSS page whose code needs to be changed is:

https://techgear.cachefly.net/techgear/css/final-app.css?id=4e6ffc7a6b92cf61ee3093002bcc941c

I found this URL using my "Intercept & Modify HTTP Response" add-on, with the "Requests Info / Get All Requested URLs + Hosts + Paths" option. In the "requests_info.txt" file, I searched for the string "final-app" which is found in the "path" posted by adoxa and found two matches: one for a CSS file and another for a JS file. The URL above is that of the CSS file and has the "host" "techgear.cachefly.net". This is why the "host" "techgear.gr" fails (the string ".gr" is not found in that "host"). Instead, the "host" "techgear.cachefly.net" can also be used, but I preferred to use only "techgear" because the "host" "techgear.cachefly.net" contains the string "cache" and I took into account the possibility that this URL (this "host") could be subject to changes over time (just a speculation).

I didn't analyze the content of adoxa's filter, I only looked at its syntax, so I can't say anything about the impact it has on page.

User avatar
adoxa
Astronaut
Astronaut
Posts: 577
Joined: 2019-03-16, 13:26
Location: Qld, Aus.

Re: techgear.gr: broken menu + layout issue

Post by adoxa » 2026-01-16, 23:49

back2themoon wrote:
2026-01-16, 16:10
This website also seems quite unusual, to put it kindly. After the fix, the top-right menu button disappeared - pushed out to the right, actually and the cursor keys were needed! I had to apply these zoom levels to get close to the intended result: Global zoom = 140% / Text-only zoom = 90%
Looks alright to me (Basilisk, Win10; scrolling with the wheel).
You do not have the required permissions to view the files attached to this post.

User avatar
back2themoon
Knows the dark side
Knows the dark side
Posts: 3093
Joined: 2012-08-19, 20:32

Re: techgear.gr: broken menu + layout issue

Post by back2themoon » 2026-01-17, 11:32

Yes, the fix works perfectly. :thumbup:

Perhaps the zoom situation is related to my specific config.