Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
How do i check if a variable contains something like a special part in the url? Using * does not work like -> "search"
Thanks for the help :)
[[URL]].indexOf("text")
if contains then result >=0 else result = -1
@GameBot Thank you! Works fine!
For your second question read this post from @Fox , maybe its what you need. Its in Russian, but you can use translator. There is an example script too >
https://community.bablosoft.com/post/65441
@bennettjimmy63 https://community.bablosoft.com/topic/4033/проверить-существование-в-ресурсе-удаление-по-значению/20
https://community.bablosoft.com/topic/10194/sf_modul - Resource_is_element
@fox said in Global Variables Explained?:
https://www.youtube.com/watch?v=Vj2Q50FIBi4&t=4770s - here is very detailed with examples.
I've came across this video but the translation was not very accurate, I will try again to get it to translate correctly. Thank you!
@andy231 Thank you I got it working! But also just for knowledge is it possible to change the value of the variable in the action?
@yourfriendkarol You can do like this.
Following solution will work for run mode, but won't work in record mode.