III Vega Manage Cookies

Questions and comments about currently under development PWB v3

Moderators: Tyler, Scott

Post Reply
Scott
Site Admin
Site Admin
Posts: 2537
Joined: Mon Dec 16, 2002 12:31 pm
Location: Rochester, MN
Contact:

III Vega Manage Cookies

Post 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 87 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
Attachments
managecookiescript.txt
(175 Bytes) Downloaded 11 times
managecookiefilter.txt
(65 Bytes) Downloaded 11 times

Post Reply