Greasy Fork is available in English.

Обсуждения » Разработка

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

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

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

Thanks a lot , it work now!

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

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

Thanks:
I understand now...
;-)

Ответить

Войдите, чтобы ответить.