Page 1 of 1

III Vega Manage Cookies

Posted: Fri Sep 27, 2024 11:06 am
by Scott
For those wanting to suppress the "Manage Cookie Preferences" when using the III Vega catalog and the PWB Clear Cache on Close, use the PWB JavaScript filter to inject JavaScript into the home page to click the Close button on the message.
iii_vega.png
iii_vega.png (81.3 KiB) Viewed 640 times
Enable the JavaScript filter and tell PWB what JavaScript file to inject with the following in your INI file.

Code: Select all

[Files]
JavaScriptFilterFile=managecookiefilter.txt

[Security]
CheckJavaScriptAccess=True
JavaScript filter is a tab separated file with the home page URL and the JavaScript file to inject.

Code: Select all

-all
+^https://your_library.iiivega.com	managecookiescript.txt
Change the URL "https://your_library.iiivega.com" in the "managecookiefilter.txt" to match your Home page URL. When PWB sees the URL that starts with (^) it will read and inject the JavaScript file "managecookiescript.txt" to click the button.

The files are attached.

--Scott