# \#learning

**URL:** https://discourse.mozilla.org/tag/learning/26.md?match_all_tags=true&page=3&tags%5B%5D=learning

[Latest](https://discourse.mozilla.org/latest.md) · [Categories](https://discourse.mozilla.org/categories.md) · [Tags](https://discourse.mozilla.org/tags.md)

**Page:** 4

---

## [Pasting custom text using the new clipboard API](https://discourse.mozilla.org/t/pasting-custom-text-using-the-new-clipboard-api/131049)

<div class="topic-metadata">

**Author:** [@nagamanikanta\_amudalapalli](https://discourse.mozilla.org/u/nagamanikanta_amudalapalli)\
**Replies:** 0\
**Last updated:** [June 11, 2024, 2:25pm UTC](https://discourse.mozilla.org/t/pasting-custom-text-using-the-new-clipboard-api/131049 "2024-06-11T14:25:42Z")

</div>

Hi Guys, I’m trying to intercept the paste event and update the clipboard text using navigator.clipboard.writeText(). But it is not pasting the updated text. I have tried a lot of ways but the result it is same. it seem…

---

## [Getting Error while Building Mozilla locally](https://discourse.mozilla.org/t/getting-error-while-building-mozilla-locally/130890)

<div class="topic-metadata">

**Author:** [@swapnil\_patel](https://discourse.mozilla.org/u/swapnil_patel)\
**Replies:** 2\
**Last updated:** [June 7, 2024, 2:09pm UTC](https://discourse.mozilla.org/t/getting-error-while-building-mozilla-locally/130890 "2024-06-07T14:09:21Z")

</div>

I am trying to install Spidermonkey locally originally but I’ve already tried all the options at the end I end up single where it says unable to find “hg”, I’ve googled the error and there isn’t much info available oth…

---

## [Trying to understand "Block formatting context"](https://discourse.mozilla.org/t/trying-to-understand-block-formatting-context/130488)

<div class="topic-metadata">

**Author:** [@Abdallah\_Mansour](https://discourse.mozilla.org/u/Abdallah_Mansour)\
**Replies:** 0\
**Last updated:** [May 20, 2024, 11:34am UTC](https://discourse.mozilla.org/t/trying-to-understand-block-formatting-context/130488 "2024-05-20T11:34:01Z")

</div>

In the specification, it states: “In a block formatting context, boxes are laid out one after the other, vertically” if we follow the definition of a formatting context, then this example … \<div style="position: abs…

---

## [How to load ublock origin into firefox geckoview?](https://discourse.mozilla.org/t/how-to-load-ublock-origin-into-firefox-geckoview/130449)

<div class="topic-metadata">

**Author:** [@baseplate-admin](https://discourse.mozilla.org/u/baseplate-admin)\
**Replies:** 0\
**Last updated:** [May 18, 2024, 11:09am UTC](https://discourse.mozilla.org/t/how-to-load-ublock-origin-into-firefox-geckoview/130449 "2024-05-18T11:09:36Z")

</div>

Hi, i have this following kotlin code sRuntime.getWebExtensionController().ensureBuiltIn( EXTENSION\_LOCATION, "uBlock0@raymondhill.net" ).accept( { extension -\> …

---

## [How to create R&D Tax Credit Calculator in Javascript?](https://discourse.mozilla.org/t/how-to-create-r-d-tax-credit-calculator-in-javascript/130378)

<div class="topic-metadata">

**Author:** [@sleeuk89](https://discourse.mozilla.org/u/sleeuk89)\
**Replies:** 0\
**Last updated:** [May 15, 2024, 4:01pm UTC](https://discourse.mozilla.org/t/how-to-create-r-d-tax-credit-calculator-in-javascript/130378 "2024-05-15T16:01:08Z")

</div>

Hi, I am looking to create R&D Tax Credit Calculator can some one here on this forum help me to build similar to above calculator purely in html5. Thank you

---

## [Content Scripts do not load](https://discourse.mozilla.org/t/content-scripts-do-not-load/130009)

<div class="topic-metadata">

**Author:** [@RampantDespair](https://discourse.mozilla.org/u/RampantDespair)\
**Replies:** 1\
**Last updated:** [May 4, 2024, 7:50am UTC](https://discourse.mozilla.org/t/content-scripts-do-not-load/130009 "2024-05-04T07:50:55Z")

</div>

Hey there, I’m adding firefox support to my chrome extension. After doing some necessary tweaks in the manifest, notably background/scripts & browser\_specific\_settings/gecko. My extension loads correctly when using “Lo…

---

## [Guidance required to create a simple and free website with html and css](https://discourse.mozilla.org/t/guidance-required-to-create-a-simple-and-free-website-with-html-and-css/129989)

<div class="topic-metadata">

**Author:** [@Waseem\_Ali](https://discourse.mozilla.org/u/Waseem_Ali)\
**Replies:** 0\
**Last updated:** [May 3, 2024, 9:39am UTC](https://discourse.mozilla.org/t/guidance-required-to-create-a-simple-and-free-website-with-html-and-css/129989 "2024-05-03T09:39:02Z")

</div>

Hi there, I have been learning html css and I am planning to create simple and free website which can help to detect ai generated content and can also provide suggestions how to improve their content. the web site desig…

---

## ["Avaliação desejada para o teste de habilidade Texto básico em HTML 1"](https://discourse.mozilla.org/t/avaliacao-desejada-para-o-teste-de-habilidade-texto-basico-em-html-1/129898)

<div class="topic-metadata">

**Author:** [@\_pollyanabatista](https://discourse.mozilla.org/u/_pollyanabatista)\
**Replies:** 0\
**Last updated:** [April 30, 2024, 12:21am UTC](https://discourse.mozilla.org/t/avaliacao-desejada-para-o-teste-de-habilidade-texto-basico-em-html-1/129898 "2024-04-30T00:21:52Z")

</div>

Emphasis and importance There are two things I care about — music and friends. Someday I might be able to get my friends interested in each other, and my music!

---

## [How to move find bar to the top?](https://discourse.mozilla.org/t/how-to-move-find-bar-to-the-top/129844)

<div class="topic-metadata">

**Author:** [@tugrul](https://discourse.mozilla.org/u/tugrul)\
**Replies:** 0\
**Last updated:** [April 27, 2024, 10:19am UTC](https://discourse.mozilla.org/t/how-to-move-find-bar-to-the-top/129844 "2024-04-27T10:19:01Z")

</div>

The bottom findbar cant see always. How to move it to the top? Just needed codes please.

---

## [Ye Olde MTV... but different](https://discourse.mozilla.org/t/ye-olde-mtv-but-different/129792)

<div class="topic-metadata">

**Author:** [@Rob\_Steele](https://discourse.mozilla.org/u/Rob_Steele)\
**Replies:** 1\
**Last updated:** [April 26, 2024, 11:55am UTC](https://discourse.mozilla.org/t/ye-olde-mtv-but-different/129792 "2024-04-26T11:55:08Z")

</div>

What I’m trying to do is recreate what was seen on music videos on MTV (back when they aired them), but a little differently. Something like “Song Title” Band Name Link to Band Site Except instead of putting this on…

---

## [Where is this path?](https://discourse.mozilla.org/t/where-is-this-path/129761)

<div class="topic-metadata">

**Author:** [@tugrul](https://discourse.mozilla.org/u/tugrul)\
**Replies:** 1\
**Last updated:** [April 25, 2024, 9:48am UTC](https://discourse.mozilla.org/t/where-is-this-path/129761 "2024-04-25T09:48:16Z")

</div>

hi guys, i want to change my default favicons but i cant find this path on my mac.

---

## [Inaccurate results from 0.9.3 model](https://discourse.mozilla.org/t/inaccurate-results-from-0-9-3-model/129549)

<div class="topic-metadata">

**Author:** [@Srishti\_Nagu](https://discourse.mozilla.org/u/Srishti_Nagu)\
**Replies:** 1\
**Last updated:** [April 16, 2024, 7:47am UTC](https://discourse.mozilla.org/t/inaccurate-results-from-0-9-3-model/129549 "2024-04-16T07:47:57Z")

</div>

I have recording in mp3 format which i converted into wav using ffmpeg and it sounds absolutely clear. !ffmpeg -i result1.wav -ar 16000 output1.wav On using the deepspeech model- i am getting absurd response. following…

---

## [How to use a custom font in addon](https://discourse.mozilla.org/t/how-to-use-a-custom-font-in-addon/129231)

<div class="topic-metadata">

**Author:** [@utensil](https://discourse.mozilla.org/u/utensil)\
**Replies:** 1\
**Last updated:** [April 5, 2024, 12:10pm UTC](https://discourse.mozilla.org/t/how-to-use-a-custom-font-in-addon/129231 "2024-04-05T12:10:13Z")

</div>

Hi. I’m trying to make a simple addon that changes the font on webpages to a specific google font using mv3. I’ve tried referencing the fonts online url as well as using a data URI and get a CSP error. Now I’m trying to …

---

## [La catégorie Apprendre](https://discourse.mozilla.org/t/la-categorie-apprendre/129376)

<div class="topic-metadata">

**Author:** [@wesllymabekou](https://discourse.mozilla.org/u/wesllymabekou)\
**Replies:** 0\
**Last updated:** [April 10, 2024, 12:56am UTC](https://discourse.mozilla.org/t/la-categorie-apprendre/129376 "2024-04-10T00:56:12Z")

</div>

Quelles sont les causes si j’ arrive pas à associer ma feuille de style CSS avec mon code HTML dans l’ editeur visual studio??

---

## [This new topic just for fun](https://discourse.mozilla.org/t/this-new-topic-just-for-fun/129319)

<div class="topic-metadata">

**Author:** [@bulbulbigboss](https://discourse.mozilla.org/u/bulbulbigboss)\
**Replies:** 0\
**Last updated:** [April 7, 2024, 6:55pm UTC](https://discourse.mozilla.org/t/this-new-topic-just-for-fun/129319 "2024-04-07T18:55:58Z")

</div>

(topic withdrawn by author, will be automatically deleted in 24 hours unless flagged)

---

## [Why does the 1st code not work but the 2nd does](https://discourse.mozilla.org/t/why-does-the-1st-code-not-work-but-the-2nd-does/128917)

<div class="topic-metadata">

**Author:** [@Gbemiga](https://discourse.mozilla.org/u/Gbemiga)\
**Replies:** 3\
**Last updated:** [March 27, 2024, 12:29am UTC](https://discourse.mozilla.org/t/why-does-the-1st-code-not-work-but-the-2nd-does/128917 "2024-03-27T00:29:25Z")

</div>

1st while(i \>= 2) { const res = isPrime(i) if(!res) { continue; } else { para.textContent += i +',' } i-- } // Output: 500, 2nd while(i \>= 2) { const res = isPrime(i) if(res) { para.textContent += i +',' } i--…

---

## [Требуется оценка для проверки навыков 1 по основам изображений HTML](https://discourse.mozilla.org/t/1-html/128683)

<div class="topic-metadata">

**Author:** [@Alisa-fox](https://discourse.mozilla.org/u/Alisa-fox)\
**Replies:** 0\
**Last updated:** [March 13, 2024, 2:05pm UTC](https://discourse.mozilla.org/t/1-html/128683 "2024-03-13T14:05:13Z")

</div>

Здравствуйте! Прошу проверить на правильность написания по основам изображений HTML. Ссылка на работу: https://codepen.io/Validateru/pen/WNmmYXg Буду ждать обратной связи! )

---

## [Webextension: Retry failed download](https://discourse.mozilla.org/t/webextension-retry-failed-download/60252)

<div class="topic-metadata">

**Author:** [@whim](https://discourse.mozilla.org/u/whim)\
**Replies:** 11\
**Last updated:** [March 12, 2024, 11:09am UTC](https://discourse.mozilla.org/t/webextension-retry-failed-download/60252 "2024-03-12T11:09:13Z")

</div>

Is there a way using webextension api to retry a failed download (for reasons like loss of network connectivity)? I looked through history and downloads but couldn’t find a way. I mean, I can get a list of DownloadI…

---

## [How to stop a background script from going idle in MV3?](https://discourse.mozilla.org/t/how-to-stop-a-background-script-from-going-idle-in-mv3/128327)

<div class="topic-metadata">

**Author:** [@717eanderson](https://discourse.mozilla.org/u/717eanderson)\
**Replies:** 7\
**Last updated:** [March 5, 2024, 5:06pm UTC](https://discourse.mozilla.org/t/how-to-stop-a-background-script-from-going-idle-in-mv3/128327 "2024-03-05T17:06:01Z")

</div>

I am in Manifest v3, and have a background script that is polling an API every 30 seconds, using setTimeout to continuously make those calls. My problem is that after 45 - 90 seconds the background script always stops. …

---

## [How to deal with nesting?](https://discourse.mozilla.org/t/how-to-deal-with-nesting/128470)

<div class="topic-metadata">

**Author:** [@dakom](https://discourse.mozilla.org/u/dakom)\
**Replies:** 0\
**Last updated:** [March 5, 2024, 8:37am UTC](https://discourse.mozilla.org/t/how-to-deal-with-nesting/128470 "2024-03-05T08:37:30Z")

</div>

Let’s say we’re translating a website with a hierarchy of pages with various content like level-1 level-1-a title content level-1-b title content level-2 level-2-a title content level-2-b title content …

---

## [Is there a way to make permissions mandatory in Manifest v3?](https://discourse.mozilla.org/t/is-there-a-way-to-make-permissions-mandatory-in-manifest-v3/128136)

<div class="topic-metadata">

**Author:** [@717eanderson](https://discourse.mozilla.org/u/717eanderson)\
**Replies:** 3\
**Last updated:** [February 21, 2024, 5:44pm UTC](https://discourse.mozilla.org/t/is-there-a-way-to-make-permissions-mandatory-in-manifest-v3/128136 "2024-02-21T17:44:41Z")

</div>

I wanted to update my add-on to Manifest 3, and it requires host permissions to an API. I’m currently testing the add-on by adding it in about:debugging, and every time I add it I have to go to manage extension and enabl…

---

## [Assessment wanted for JSON 1 Exercise](https://discourse.mozilla.org/t/assessment-wanted-for-json-1-exercise/126917)

<div class="topic-metadata">

**Author:** [@crypt0](https://discourse.mozilla.org/u/crypt0)\
**Replies:** 1\
**Last updated:** [February 16, 2024, 10:15pm UTC](https://discourse.mozilla.org/t/assessment-wanted-for-json-1-exercise/126917 "2024-02-16T22:15:44Z")

</div>

Hi guys, Not sure if the JSON 1 exercise will need to receive assessment but nonetheless I wanted some feedback for my solution to the JSON 1 Problem. I believe there’s a more optimal solution than mine in terms of read…

---

## [Understanding JS Defer and Deferred](https://discourse.mozilla.org/t/understanding-js-defer-and-deferred/127625)

<div class="topic-metadata">

**Author:** [@Truscholar](https://discourse.mozilla.org/u/Truscholar)\
**Replies:** 0\
**Last updated:** [February 6, 2024, 9:32am UTC](https://discourse.mozilla.org/t/understanding-js-defer-and-deferred/127625 "2024-02-06T09:32:19Z")

</div>

In the context of web development, “defer” and “deferred” are terms associated with optimizing the loading and execution of JavaScript code. JS Defer: When the defer attribute is added to a script tag in HTML, it sig…

---

## [How do I debug Firefox on iOS?https://discourse.mozilla.org/t/why-does-network-tab-on-developer-tools-not-allow-some-headers/124234](https://discourse.mozilla.org/t/how-do-i-debug-firefox-on-ios-https-discourse-mozilla-org-t-why-does-network-tab-on-developer-tools-not-allow-some-headers-124234/127620)

<div class="topic-metadata">

**Author:** [@Mohamad\_Amirul\_Rizwan\_Mohamad](https://discourse.mozilla.org/u/Mohamad_Amirul_Rizwan_Mohamad)\
**Replies:** 0\
**Last updated:** [February 6, 2024, 9:28am UTC](https://discourse.mozilla.org/t/how-do-i-debug-firefox-on-ios-https-discourse-mozilla-org-t-why-does-network-tab-on-developer-tools-not-allow-some-headers-124234/127620 "2024-02-06T09:28:11Z")

</div>

Not sure if the JSON 1 exercise will need to receive assessment but nonetheless I wanted some feedback for my solution to the JSON 1 Problem. I believe there’s a more optimal solution than mine in terms of readability an…

---

## [Automating certificate management in Firefox Browser through programming](https://discourse.mozilla.org/t/automating-certificate-management-in-firefox-browser-through-programming/114298)

<div class="topic-metadata">

**Author:** [@2295456556](https://discourse.mozilla.org/u/2295456556)\
**Replies:** 0\
**Last updated:** [May 14, 2023, 6:12am UTC](https://discourse.mozilla.org/t/automating-certificate-management-in-firefox-browser-through-programming/114298 "2023-05-14T06:12:07Z")

</div>

Hello developer， When it comes to managing certificates in the Firefox browser, the “view certificates” option can be found in the “Privacy and security” setting of Chrome. By opening the certificate manager, various op…

---

## [Does an add-on self-distributed via Web download auto update](https://discourse.mozilla.org/t/does-an-add-on-self-distributed-via-web-download-auto-update/126932)

<div class="topic-metadata">

**Author:** [@nikhilraojl](https://discourse.mozilla.org/u/nikhilraojl)\
**Replies:** 2\
**Last updated:** [January 29, 2024, 2:30pm UTC](https://discourse.mozilla.org/t/does-an-add-on-self-distributed-via-web-download-auto-update/126932 "2024-01-29T14:30:59Z")

</div>

Extension workshop shows three ways to self distribute an add on. Link https://extensionworkshop.com/documentation/publish/self-distribution/ The Sideloading add-ons page clearly states the addons will not get automati…

---

## [How should I study web api's on mdn?](https://discourse.mozilla.org/t/how-should-i-study-web-apis-on-mdn/125731)

<div class="topic-metadata">

**Author:** [@yasinkarax](https://discourse.mozilla.org/u/yasinkarax)\
**Replies:** 3\
**Last updated:** [January 15, 2024, 12:28pm UTC](https://discourse.mozilla.org/t/how-should-i-study-web-apis-on-mdn/125731 "2024-01-15T12:28:53Z")

</div>

There are many methods and properties on each api. Should I learn spesific code of an api or inspect all of the api? Second way are boring sometimes.

---

## [JavaScript practice](https://discourse.mozilla.org/t/javascript-practice/92483)

<div class="topic-metadata">

**Author:** [@blue\_sky](https://discourse.mozilla.org/u/blue_sky)\
**Replies:** 8\
**Last updated:** [January 6, 2024, 1:04pm UTC](https://discourse.mozilla.org/t/javascript-practice/92483 "2024-01-06T13:04:47Z")

</div>

Hello Everyone, I’m practicing through this activity (http://shorturl.at/cgtNS) Write a function called capitalize that takes a string and returns that string with only the first letter capitalized. Make sure that it ca…

---

## [Date Time addon](https://discourse.mozilla.org/t/date-time-addon/107685)

<div class="topic-metadata">

**Author:** [@lodgemoorlad1](https://discourse.mozilla.org/u/lodgemoorlad1)\
**Replies:** 16\
**Last updated:** [January 1, 2024, 6:23pm UTC](https://discourse.mozilla.org/t/date-time-addon/107685 "2024-01-01T18:23:00Z")

</div>

Hi all Is anybody experiencing the same as me with the date-time add-on. My date -time add-on has been grayed out on two Webthings I’m running. I guess the effect will be it will not turn on/off my devices at specific t…

---

## [How to test an addon on mobile?](https://discourse.mozilla.org/t/how-to-test-an-addon-on-mobile/125604)

<div class="topic-metadata">

**Author:** [@FMaz](https://discourse.mozilla.org/u/FMaz)\
**Replies:** 1\
**Last updated:** [December 28, 2023, 8:59am UTC](https://discourse.mozilla.org/t/how-to-test-an-addon-on-mobile/125604 "2023-12-28T08:59:03Z")

</div>

I’m trying to test my browser extension for Firefox on android. I found a lot of old articles (2020-ish) mentioning using collections, which I created and linked my addon. But there are no more menu under the settings i…

[Previous page](https://discourse.mozilla.org/tag/learning/26.md?match_all_tags=true&page=2&tags%5B%5D=learning)

[Next page](https://discourse.mozilla.org/tag/learning/26.md?match_all_tags=true&page=4&tags%5B%5D=learning)
