Additivos del navigator Firefox
  • Extensiones
  • Themas
    • pro Firefox
    • Dictionarios e pacchettos de lingua
    • Altere sitos de navigatores
    • Additivos pro Android
Aperir session
Vista preliminar de ConditionalRun

ConditionalRun per Ascoro

Execute conditionally javascript depending on some conditions

ExperimentalExperimental
0 (0 revisiones)0 (0 revisiones)
1 Usator1 Usator
Discarga Firefox installa le extension
Discargar file

Metadatos del extension

Capturas de schermo
Top bar added by the conditionalRun add-on
A proposito de iste extension
I have developed this Add-on to be able to add or customize some behavior in some websites. I usually used it to create browser notifications if something happens on the page, hide some annoying elements on some specific websites, ...
This extension is very simplistic on propose. This allows it to be just a couple dozens lines of code that you can review for your peace of mind :)

To configure the Add-on go the the preference page of the Add-on "about:addons" .
Scripts settings is a json representing the configuration of the plugin. For example:

{
"scripts": [
{
"name": "Add top bar in firefox website",
"url": "://www.mozilla.org",
"conditions": "Math.random()<0.5",
"run": "var div = document.createElement('div'); div.style = 'background-color: red;color: white;text-align: center;position: sticky;z-index: 99999;'; div.innerText = 'Add-on enabled :)'; document.body.prepend(div);"
}
]
}


This example configuration will run add in the https://www.mozilla.org website a top red bar saying "Add-on enabled :)" 50% of the time the page is refreshed.

Parameters explained:
  • name: is just the displayname of the rule. It will be printed on the console when the rule is enabled
  • url: (Optional) if specified the website url must include this string to enable the action
  • conditions: (Optional) javascript condition that should evaluate true (action enabled)/false (action not enabled)
  • run: script that will be run if the url and conditions are met
Valutate 0 per 0 revisores
Aperi session pro evalutar iste extension
Il ha non ha ancora evalutationes

Evalutation de stellas salvate

5
0
4
0
3
0
2
0
1
0
Ancora nulle recensiones
Permissiones e datosSaper plus

Permissiones necessari:

  • Accede al schedas del navigator
  • Acceder a tu datos pro tote le sitos web
Plus de informationes
Version
0.0.4resigned1
Dimension
9,17 KB
Ultime actualisation
1年前 (2024年4月26日)
Categorias associate
  • Disveloppamento del Web
  • Schedas
Licentia
Tote le derectos es reservate
Historia de versiones
  • Vide tote le versiones
Adder al collection
Reporta iste additivo
Ir al pagina principal de Mozilla

Additivos

  • A proposito
  • Blog del additivos de Firefox
  • Laboratorio de extensiones
  • Centro de disveloppatores
  • Politicas pro disveloppatores
  • Blog del communitate
  • Foro
  • Reportar un defecto
  • Guida al revision

Navigatores

  • Desktop
  • Mobile
  • Enterprise

Productos

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • Confidentialitate
  • Cookies
  • Legal

Excepte ubi alteremente indicate, le contento de iste sito es publicate sub licentia Creative Commons Attribution Share-Alike v3.0 o qualcunque version plus recente.