תוספות לדפדפן Firefox
  • הרחבות
  • ערכות נושא
    • עבור Firefox
    • מילונים וחבילות שפה
    • אתרי דפדפנים אחרים
    • תוספות עבור Android
כניסה
תצוגה מקדימה של ConditionalRun

ConditionalRun Ascoro מאת

Execute conditionally javascript depending on some conditions

ניסיוניניסיוני
0 (0 reviews)0 (0 reviews)
1 User1 User
יש צורך ב־Firefox כדי להשתמש בהרחבה זו
הורדת Firefox וקבלת ההרחבה
הורדת קובץ

נתוני העל של ההרחבה

צילומי מסך
Top bar added by the conditionalRun add-on
על אודות הרחבה זו
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
מדורג 0 על־ידי 0 סוקרים
יש להתחבר כדי לדרג הרחבה זו
אין דירוגים עדיין

דירוג הכוכבים נשמר

5
0
4
0
3
0
2
0
1
0
אין עדיין סקירות
הרשאות ונתוניםמידע נוסף

הרשאות נדרשות:

  • גישה ללשוניות
  • גישה לנתונים שלך מכל האתרים
מידע נוסף
גרסה
0.0.4resigned1
גודל
9.17 ק״ב
עדכון אחרון
לפני שנה (26 אפר׳ 2024)
קטגוריות קשורות
  • פיתוח הרשת
  • לשוניות
רישיון
כל הזכויות שמורות
היסטוריית הגרסאות
  • הצגת כל הגרסאות
הוספה לאוסף
דיווח על תוספת זו
עוד הרחבות מאת Ascoro
  • אין דירוגים עדיין

  • אין דירוגים עדיין

  • אין דירוגים עדיין

  • אין דירוגים עדיין

  • אין דירוגים עדיין

  • אין דירוגים עדיין

מעבר לדף הבית של Mozilla

תוספות

  • על אודות
  • בלוג התוספות של Firefox
  • Extension Workshop
  • מרכז המפתחים
  • מדיניות למפתחים
  • בלוג קהילה
  • פורום
  • דיווח על תקלה
  • מדריך סקירה

דפדפנים

  • Desktop
  • Mobile
  • Enterprise

מוצרים

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • פרטיות
  • עוגיות
  • מידע משפטי

למעט היכן שצוין אחרת, התוכן באתר זה מוגש בכפוף לגרסה 3.0 של הרשיון Creative Commons Attribution Share-Alike או כל גרסה עדכנית יותר.