added script
This commit is contained in:
12
scripts/hungergames-brantsteele-webp/main.ts
Normal file
12
scripts/hungergames-brantsteele-webp/main.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
declare var validateForm: Function
|
||||
|
||||
validateForm = Function(
|
||||
validateForm
|
||||
.toString()
|
||||
.replace(/^function validateForm\(\)(.|\n)*?\{/, '')
|
||||
.replace(/\}$/, '')
|
||||
.replaceAll(
|
||||
'var regexp = /(https?:\\/\\/.*\\.(?:png|jpg|gif|bmp|jpeg))$/i',
|
||||
'var regexp = /(https?:\\/\\/.*\\.(?:png|jpg|gif|bmp|jpeg|webp))$/i'
|
||||
)
|
||||
)
|
||||
Reference in New Issue
Block a user