Diskussionen » Entwicklung

Why this script work only in Firefow Quatum (it's about Change element type from hidden to input) ?

§
Veröffentlicht: 29.03.2021

I make this scrip:
https://greasyfork.org/fr/scripts/16518-0-iafd-search-terms-reveal-v-3-2020

Before it worked fine in all brother but now it work only with Firefox Quantum.
Now, with Waterfox Classic or Chrome it fail.

Where is the problem?.

Info:
StackOverflow, "jQuery: Change element type from hidden to input"
https://stackoverflow.com/questions/540851/jquery-change-element-type-from-hidden-to-input

§
Veröffentlicht: 29.03.2021

Just add this to the script head and it will work

// @require      https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js
§
Veröffentlicht: 29.03.2021

Thanks a lot , it work now!

But why i need to add jquery now?
Before it don't need that.

§
Veröffentlicht: 30.03.2021

why i need to add jquery

Because your code is using it

Before it don't need that

The website was doing a downloading of the jquery before. Now most likely the downloading method has changed and now your script is launching faster than jquery of the website have been loaded

§
Veröffentlicht: 30.03.2021

Thanks:
I understand now...
;-)

Antwort schreiben

Anmelden um eine Antwort zu senden.