/*
NO PROBLEM. Here's an easy fix given the new information you provided. (READ BELOW AND SEE ATTACTED PIC ALSO)
In the "Action" that you are referring to, remove all (if present) conditions below your "Trigger,"
such as "URL: Path does match exactly /db"
Make sure a "Run Script" is your first "Action" item.
Place the following code (shown below) at the top of that "Run Script." Or copy and paste this COMPLETE RESPONSE at the top of that "Run Script."
If your first action item is already a "Run Script," paste it in there. Or, you can create a brand new "Run Script,"
paste it over the default "Hello World" text, and then MOVE THE "RUN SCRIPT TO THE LEFT, making it the "first" "Run Script."
THE CODE WILL DO THE FOLLOWING:
STEP 1: Test the current URL.
If the current URL DOES NOT begin with: "
https://vgmdb.net/db/collection.php?do=view/"
NOTHING ELSE (within this script), nor any following "Action items" in the chain will be executed.
*/
var url = document.URL;
var bool = false;
bool = /^https:\/\/
vgmdb.net\/db\/collection.php\?do\=view\//i.test(url);
if(bool == false) {
// -------------------------------------------------------------------------
// DO NOT GO ANY FURTHER because the current URL does not meet the criteria.
// -------------------------------------------------------------------------
return ACtl.STOP_FULL_SEQ;
}
// If bool = true...
// AT THIS POINT: The URL "does" meet the criteria, so continue on with the remaining
// code in this script (if present), and any following "Action" items in the "Chain"
Hope that helps,
cw