Tweak HTML source code does not stay enabled #15

Closed
opened 1 year ago by Tzatz · 10 comments
Tzatz commented 1 year ago

Is this to be expected? Seems to have to be enabled on a site by site basis, and often it will switch off on its own;

Is this to be expected? Seems to have to be enabled on a site by site basis, and often it will switch off on its own;

Hello,
I have had to deactivate LocalCDN because weak HTML source has to be activated manually for each web page.

And when the weak HTML source is disabled, it blocks the cosmetic filters from the ublock origin.

Espero que pueda solucionarlo
cheers
;)

Hello, I have had to deactivate LocalCDN because weak HTML source has to be activated manually for each web page. And when the weak HTML source is disabled, it blocks the cosmetic filters from the ublock origin. Espero que pueda solucionarlo cheers ;)
Owner

Tweak HTML source code does not stay enabled. Is this to be expected?

@Tzatz: Yes, if you activate this feature, then this only applies to this website. The extension adds this website to a list, so that the feature is always activated for this one website. The reason for this is that the feature is not always necessary and can cause optical errors.

and often it will switch off on its own

@Tzatz: I've never noticed anything like this before. The logic behind the switch is identical to the global whitelist.

I have had to deactivate LocalCDN because weak HTML source has to be activated manually for each web page. And when the weak HTML source is disabled, it blocks the cosmetic filters from the ublock origin.

@6ig6oy: I have also never had this before. Can you tell a website where this happens?

> Tweak HTML source code does not stay enabled. Is this to be expected? @Tzatz: Yes, if you activate this feature, then this only applies to this website. The extension adds this website to a list, so that the feature is always activated for this one website. The reason for this is that the feature is not always necessary and can cause optical errors. > and often it will switch off on its own @Tzatz: I've never noticed anything like this before. The logic behind the switch is identical to the global whitelist. > I have had to deactivate LocalCDN because weak HTML source has to be activated manually for each web page. And when the weak HTML source is disabled, it blocks the cosmetic filters from the ublock origin. @6ig6oy: I have also never had this before. Can you tell a website where this happens?
Poster

Tweak HTML source code does not stay enabled. Is this to be expected?

@Tzatz: Yes, if you activate this feature, then this only applies to this website. The extension adds this website to a list, so that the feature is always activated for this one website. The reason for this is that the feature is not always necessary and can cause optical errors.

and often it will switch off on its own

@Tzatz: I've never noticed anything like this before. The logic behind the switch is identical to the global whitelist.

thank you. upon a quick examination, upon rebooting the browser, it nolonger is activated on previously whitelisted pages

> > Tweak HTML source code does not stay enabled. Is this to be expected? > > @Tzatz: Yes, if you activate this feature, then this only applies to this website. The extension adds this website to a list, so that the feature is always activated for this one website. The reason for this is that the feature is not always necessary and can cause optical errors. > > > > and often it will switch off on its own > > @Tzatz: I've never noticed anything like this before. The logic behind the switch is identical to the global whitelist. > thank you. upon a quick examination, upon rebooting the browser, it nolonger is activated on previously whitelisted pages
Owner

upon a quick examination, upon rebooting the browser, it nolonger is activated on previously whitelisted pages

Oh, you're right. I never noticed that before. That should be fixed with 40092dffc9

> upon a quick examination, upon rebooting the browser, it nolonger is activated on previously whitelisted pages Oh, you're right. I never noticed that before. That should be fixed with 40092dffc9

Hello,
I leave you this images for you to check.

Previously, it had no problems with localcdn, but after including this option(Tweak HTML source), this happens when it is deactivated with uBO home filters:

Hello, I leave you this images for you to check. Previously, it had no problems with localcdn, but after including this option(Tweak HTML source), this happens when it is deactivated with uBO home filters: ![](https://i.postimg.cc/cCXyRQQY/Local-CDN-disable-Tweak-HTML-source.jpg) ![](https://i.postimg.cc/tR5jGHLT/Local-CDN-enable-Tweak-HTML-source.jpg)

I take this opportunity to leave you the lines that remain to be translated,
thank you for your work

LocalCDN/_locales/es/messages.json:

   "generateRuleSetDescription": {
     "message": "En caso de estar usando uBlock o uMatrix aquí puedes generar las reglas. Tienes que añadir estas reglas manualmente en uBlock o uMatrix",
     "description": "In case you're using uBlock or uMatrix you can generate the rules here. You have to add these rules manually in uBlock or uMatrix."
   },
   "lastUpdate": {
       "message": "Última actualización",
       "description": "Last update."
   },
   "copyRuleSet": {
     "message": "Texto del botón para copiar el conjunto de reglas",
     "description": "Text of button to copy ruleset."
   },
   "loggingTitle": {
     "message": "Habilitar inicio de sesión en la consola del navegador",
     "description": "Enable logging in browser console."
   },
   "loggingDescription": {
     "message": "Abrir \"consola del navegador\" ( CTRL + SHIFT + J ) te mostrará los recursos que faltan",
     "description": "Open \"Browser Console\" ( CTRL + SHIFT + J ) to show missing resources."
   },
   "hideReleaseNotesTitle": {
     "message": "Desactivar notas de la versión",
     "description": "Disable release notes"
   },
   "hideReleaseNotesDescription": {
     "message": "Si está habilitado, no recibirá ninguna información sobre nuevas funciones de LocalCDN. Esto incluye información sobre las nuevas reglas de uBlock/uMatrix",
     "description": "If enabled, you wont receive any information about new features in LocalCDN. This includes information about new uBlock/uMatrix rules."
   },
   "featureBreaksWebsitesDescription": {
     "message": "Esta característica rompe sitios web. No lo deje habilitado, a menos que esté preparado para incluir manualmente en la lista blanca cualquier dominio afectado",
     "description": "This feature breaks websites. Do not leave it enabled, unless you are prepared to manually whitelist any affected domains."
   },
   "featureBreaksWebsitesButton": {
     "message": "Desactivar",
     "description": "Disable"
   },
   "labelManipulateDOM": {
     "message": "Optimizar código fuente HTML",
     "description": "Tweak HTML source code"
   }
*I take this opportunity to leave you the lines that remain to be translated, thank you for your work* ``` LocalCDN/_locales/es/messages.json: "generateRuleSetDescription": { "message": "En caso de estar usando uBlock o uMatrix aquí puedes generar las reglas. Tienes que añadir estas reglas manualmente en uBlock o uMatrix", "description": "In case you're using uBlock or uMatrix you can generate the rules here. You have to add these rules manually in uBlock or uMatrix." }, "lastUpdate": { "message": "Última actualización", "description": "Last update." }, "copyRuleSet": { "message": "Texto del botón para copiar el conjunto de reglas", "description": "Text of button to copy ruleset." }, "loggingTitle": { "message": "Habilitar inicio de sesión en la consola del navegador", "description": "Enable logging in browser console." }, "loggingDescription": { "message": "Abrir \"consola del navegador\" ( CTRL + SHIFT + J ) te mostrará los recursos que faltan", "description": "Open \"Browser Console\" ( CTRL + SHIFT + J ) to show missing resources." }, "hideReleaseNotesTitle": { "message": "Desactivar notas de la versión", "description": "Disable release notes" }, "hideReleaseNotesDescription": { "message": "Si está habilitado, no recibirá ninguna información sobre nuevas funciones de LocalCDN. Esto incluye información sobre las nuevas reglas de uBlock/uMatrix", "description": "If enabled, you wont receive any information about new features in LocalCDN. This includes information about new uBlock/uMatrix rules." }, "featureBreaksWebsitesDescription": { "message": "Esta característica rompe sitios web. No lo deje habilitado, a menos que esté preparado para incluir manualmente en la lista blanca cualquier dominio afectado", "description": "This feature breaks websites. Do not leave it enabled, unless you are prepared to manually whitelist any affected domains." }, "featureBreaksWebsitesButton": { "message": "Desactivar", "description": "Disable" }, "labelManipulateDOM": { "message": "Optimizar código fuente HTML", "description": "Tweak HTML source code" } ```
Owner

@6ig6oy
Thanks for the screenshots 👍

This feature (Tweak HTML source code) was integrated and permanently active (v2.2.0 - v2.2.5), but sometimes it caused problems, hence the switch. This feature is not permanently active, only when needed.

In the HTML source code there are "integrity" and "crossorigin" attributes. If you disable the "Tweak HTML source code" option, LocalCDN isn't allowed to replace the resources and the website looks deformed. The behaviour is correct so far:

  • LocalCDN disabled -> website works
  • LocalCDN activated and Tweak HTML activated -> website works
  • LocalCDN activated and Tweak HTML deactivated -> website doesn't work

I have not noticed any difference between enabling and disabling uBlock.

I also checked the internet archive to check if the attributes are new. But it looks like they are already present in the HTML source code. So everything looks okay and LocalCDN behaves correctly.

Gracias por la traducción! (I hope that's correct 😉 )

EDIT: I have two more empty translations in the current development branch. Would you like to translate them as well? 😃 (Number 1 and Number 2)

@6ig6oy Thanks for the screenshots :+1: This feature (*Tweak HTML source code*) was integrated and permanently active (v2.2.0 - v2.2.5), but sometimes it caused problems, hence the switch. This feature is not permanently active, only when needed. In the HTML source code there are "integrity" and "crossorigin" attributes. If you disable the "Tweak HTML source code" option, LocalCDN isn't allowed to replace the resources and the website looks deformed. The behaviour is correct so far: * LocalCDN disabled -> website works * LocalCDN activated and Tweak HTML activated -> website works * LocalCDN activated and Tweak HTML deactivated -> website doesn't work I have not noticed any difference between enabling and disabling uBlock. I also checked the internet archive to check if the attributes are new. But it looks like they are already present in the HTML source code. So everything looks okay and LocalCDN behaves correctly. Gracias por la traducción! (I hope that's correct :wink: ) EDIT: I have two more empty translations in the current development branch. Would you like to translate them as well? :smiley: ([Number 1](https://codeberg.org/nobody/LocalCDN/src/branch/develop/_locales/es/messages.json#L107) and [Number 2](https://codeberg.org/nobody/LocalCDN/src/branch/develop/_locales/es/messages.json#L111))

I will manually activate "Tweak HTML source code" to solve the problem, if you want you can close the topic.

Thank you for your time and work, nobody.

Empty translations:

  "labelShowMoreInjections": {
    "message": "Mostrar más inyecciones",
    "description": "Show more Injections"


  "labelDonate": {
    "message": "Donar",
    "description": "Donate"
I will manually activate "Tweak HTML source code" to solve the problem, if you want you can close the topic. **Thank you for your time and work, nobody.** ``` Empty translations: "labelShowMoreInjections": { "message": "Mostrar más inyecciones", "description": "Show more Injections" "labelDonate": { "message": "Donar", "description": "Donate" ```
Owner

Great, thanks a lot for your translation - you have improved the extension a lot. 👍 👍 👍

Stay healthy ✌️

Great, thanks a lot for your translation - you have improved the extension a lot. :+1: :+1: :+1: Stay healthy :v:
nobody added the
bug
label 1 year ago
nobody closed this issue 1 year ago
Poster

Thank you nobody

Thank you nobody
Sign in to join this conversation.
No Milestone
No Assignees
3 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.