eric6/Documentation/Source/eric6.WebBrowser.AdBlock.AdBlockRule.html

changeset 7989
a21d673a8f99
parent 7776
4a8edf69dd64
child 8215
fc5d68a6889e
equal deleted inserted replaced
7988:c4c17121eff8 7989:a21d673a8f99
342 <dd> 342 <dd>
343 string containing the wildcard pattern 343 string containing the wildcard pattern
344 </dd> 344 </dd>
345 </dl> 345 </dl>
346 <dl> 346 <dl>
347 <dt>Returns:</dt> 347 <dt>Return:</dt>
348 <dd> 348 <dd>
349 string containing a regular expression 349 string containing a regular expression
350 </dd> 350 </dd>
351 </dl> 351 </dl>
352 <dl> 352 <dl>
368 <dd> 368 <dd>
369 filter string to be checked 369 filter string to be checked
370 </dd> 370 </dd>
371 </dl> 371 </dl>
372 <dl> 372 <dl>
373 <dt>Returns:</dt> 373 <dt>Return:</dt>
374 <dd> 374 <dd>
375 flag indicating a domain only filter 375 flag indicating a domain only filter
376 </dd> 376 </dd>
377 </dl> 377 </dl>
378 <dl> 378 <dl>
395 <dd> 395 <dd>
396 filter string to be checked 396 filter string to be checked
397 </dd> 397 </dd>
398 </dl> 398 </dl>
399 <dl> 399 <dl>
400 <dt>Returns:</dt> 400 <dt>Return:</dt>
401 <dd> 401 <dd>
402 flag indicating a end of string match filter 402 flag indicating a end of string match filter
403 </dd> 403 </dd>
404 </dl> 404 </dl>
405 <dl> 405 <dl>
422 <dd> 422 <dd>
423 option to check for 423 option to check for
424 </dd> 424 </dd>
425 </dl> 425 </dl>
426 <dl> 426 <dl>
427 <dt>Returns:</dt> 427 <dt>Return:</dt>
428 <dd> 428 <dd>
429 flag indicating the exception state of the option 429 flag indicating the exception state of the option
430 </dd> 430 </dd>
431 </dl> 431 </dl>
432 <dl> 432 <dl>
448 <dd> 448 <dd>
449 option to check for 449 option to check for
450 </dd> 450 </dd>
451 </dl> 451 </dl>
452 <dl> 452 <dl>
453 <dt>Returns:</dt> 453 <dt>Return:</dt>
454 <dd> 454 <dd>
455 flag indicating the state of the option 455 flag indicating the state of the option
456 </dd> 456 </dd>
457 </dl> 457 </dl>
458 <dl> 458 <dl>
479 <dd> 479 <dd>
480 filter string to check against 480 filter string to check against
481 </dd> 481 </dd>
482 </dl> 482 </dl>
483 <dl> 483 <dl>
484 <dt>Returns:</dt> 484 <dt>Return:</dt>
485 <dd> 485 <dd>
486 flag indicating a match 486 flag indicating a match
487 </dd> 487 </dd>
488 </dl> 488 </dl>
489 <dl> 489 <dl>
506 <dd> 506 <dd>
507 URL to be checked 507 URL to be checked
508 </dd> 508 </dd>
509 </dl> 509 </dl>
510 <dl> 510 <dl>
511 <dt>Returns:</dt> 511 <dt>Return:</dt>
512 <dd> 512 <dd>
513 flag indicating a match 513 flag indicating a match
514 </dd> 514 </dd>
515 </dl> 515 </dl>
516 <dl> 516 <dl>
558 <dd> 558 <dd>
559 regexp filter string to be parsed 559 regexp filter string to be parsed
560 </dd> 560 </dd>
561 </dl> 561 </dl>
562 <dl> 562 <dl>
563 <dt>Returns:</dt> 563 <dt>Return:</dt>
564 <dd> 564 <dd>
565 fixed string parts of the filter 565 fixed string parts of the filter
566 </dd> 566 </dd>
567 </dl> 567 </dl>
568 <dl> 568 <dl>
606 <dd> 606 <dd>
607 URL in encoded form 607 URL in encoded form
608 </dd> 608 </dd>
609 </dl> 609 </dl>
610 <dl> 610 <dl>
611 <dt>Returns:</dt> 611 <dt>Return:</dt>
612 <dd> 612 <dd>
613 flag indicating a match 613 flag indicating a match
614 </dd> 614 </dd>
615 </dl> 615 </dl>
616 <dl> 616 <dl>
639 639
640 <p> 640 <p>
641 Public method to get a copy of the list of allowed domains. 641 Public method to get a copy of the list of allowed domains.
642 </p> 642 </p>
643 <dl> 643 <dl>
644 <dt>Returns:</dt> 644 <dt>Return:</dt>
645 <dd> 645 <dd>
646 list of allowed domains 646 list of allowed domains
647 </dd> 647 </dd>
648 </dl> 648 </dl>
649 <dl> 649 <dl>
658 658
659 <p> 659 <p>
660 Public method to get a copy of the list of blocked domains. 660 Public method to get a copy of the list of blocked domains.
661 </p> 661 </p>
662 <dl> 662 <dl>
663 <dt>Returns:</dt> 663 <dt>Return:</dt>
664 <dd> 664 <dd>
665 list of blocked domains 665 list of blocked domains
666 </dd> 666 </dd>
667 </dl> 667 </dl>
668 <dl> 668 <dl>
677 677
678 <p> 678 <p>
679 Public method to get the case sensitivity. 679 Public method to get the case sensitivity.
680 </p> 680 </p>
681 <dl> 681 <dl>
682 <dt>Returns:</dt> 682 <dt>Return:</dt>
683 <dd> 683 <dd>
684 case sensitivity 684 case sensitivity
685 </dd> 685 </dd>
686 </dl> 686 </dl>
687 <dl> 687 <dl>
710 710
711 <p> 711 <p>
712 Public method to get the CSS selector of the rule. 712 Public method to get the CSS selector of the rule.
713 </p> 713 </p>
714 <dl> 714 <dl>
715 <dt>Returns:</dt> 715 <dt>Return:</dt>
716 <dd> 716 <dd>
717 CSS selector 717 CSS selector
718 </dd> 718 </dd>
719 </dl> 719 </dl>
720 <dl> 720 <dl>
729 729
730 <p> 730 <p>
731 Public method to get the rule filter string. 731 Public method to get the rule filter string.
732 </p> 732 </p>
733 <dl> 733 <dl>
734 <dt>Returns:</dt> 734 <dt>Return:</dt>
735 <dd> 735 <dd>
736 rule filter string 736 rule filter string
737 </dd> 737 </dd>
738 </dl> 738 </dl>
739 <dl> 739 <dl>
749 <p> 749 <p>
750 Public method to get the regular expression and associated string 750 Public method to get the regular expression and associated string
751 matchers. 751 matchers.
752 </p> 752 </p>
753 <dl> 753 <dl>
754 <dt>Returns:</dt> 754 <dt>Return:</dt>
755 <dd> 755 <dd>
756 tuple containing the regular expression and the list of 756 tuple containing the regular expression and the list of
757 string matchers 757 string matchers
758 </dd> 758 </dd>
759 </dl> 759 </dl>
769 769
770 <p> 770 <p>
771 Public method to check, if the rule is a CSS rule. 771 Public method to check, if the rule is a CSS rule.
772 </p> 772 </p>
773 <dl> 773 <dl>
774 <dt>Returns:</dt> 774 <dt>Return:</dt>
775 <dd> 775 <dd>
776 flag indicating a CSS rule 776 flag indicating a CSS rule
777 </dd> 777 </dd>
778 </dl> 778 </dl>
779 <dl> 779 <dl>
788 788
789 <p> 789 <p>
790 Public method to check, if this is a comment. 790 Public method to check, if this is a comment.
791 </p> 791 </p>
792 <dl> 792 <dl>
793 <dt>Returns:</dt> 793 <dt>Return:</dt>
794 <dd> 794 <dd>
795 flag indicating a comment 795 flag indicating a comment
796 </dd> 796 </dd>
797 </dl> 797 </dl>
798 <dl> 798 <dl>
807 807
808 <p> 808 <p>
809 Public method to check, if this is a document rule. 809 Public method to check, if this is a document rule.
810 </p> 810 </p>
811 <dl> 811 <dl>
812 <dt>Returns:</dt> 812 <dt>Return:</dt>
813 <dd> 813 <dd>
814 flag indicating a document rule 814 flag indicating a document rule
815 </dd> 815 </dd>
816 </dl> 816 </dl>
817 <dl> 817 <dl>
826 826
827 <p> 827 <p>
828 Public method to check, if this rule is restricted by domain. 828 Public method to check, if this rule is restricted by domain.
829 </p> 829 </p>
830 <dl> 830 <dl>
831 <dt>Returns:</dt> 831 <dt>Return:</dt>
832 <dd> 832 <dd>
833 flag indicating a domain restriction 833 flag indicating a domain restriction
834 </dd> 834 </dd>
835 </dl> 835 </dl>
836 <dl> 836 <dl>
845 845
846 <p> 846 <p>
847 Public method to check, if this is an element hiding rule. 847 Public method to check, if this is an element hiding rule.
848 </p> 848 </p>
849 <dl> 849 <dl>
850 <dt>Returns:</dt> 850 <dt>Return:</dt>
851 <dd> 851 <dd>
852 flag indicating an element hiding rule 852 flag indicating an element hiding rule
853 </dd> 853 </dd>
854 </dl> 854 </dl>
855 <dl> 855 <dl>
864 864
865 <p> 865 <p>
866 Public method to check, if the rule is enabled. 866 Public method to check, if the rule is enabled.
867 </p> 867 </p>
868 <dl> 868 <dl>
869 <dt>Returns:</dt> 869 <dt>Return:</dt>
870 <dd> 870 <dd>
871 flag indicating enabled state 871 flag indicating enabled state
872 </dd> 872 </dd>
873 </dl> 873 </dl>
874 <dl> 874 <dl>
883 883
884 <p> 884 <p>
885 Public method to check, if the rule defines an exception. 885 Public method to check, if the rule defines an exception.
886 </p> 886 </p>
887 <dl> 887 <dl>
888 <dt>Returns:</dt> 888 <dt>Return:</dt>
889 <dd> 889 <dd>
890 flag indicating an exception 890 flag indicating an exception
891 </dd> 891 </dd>
892 </dl> 892 </dl>
893 <dl> 893 <dl>
902 902
903 <p> 903 <p>
904 Public method to check, if this is a header. 904 Public method to check, if this is a header.
905 </p> 905 </p>
906 <dl> 906 <dl>
907 <dt>Returns:</dt> 907 <dt>Return:</dt>
908 <dd> 908 <dd>
909 flag indicating a header 909 flag indicating a header
910 </dd> 910 </dd>
911 </dl> 911 </dl>
912 <dl> 912 <dl>
921 921
922 <p> 922 <p>
923 Public method to check, if this rule was disabled internally. 923 Public method to check, if this rule was disabled internally.
924 </p> 924 </p>
925 <dl> 925 <dl>
926 <dt>Returns:</dt> 926 <dt>Return:</dt>
927 <dd> 927 <dd>
928 flag indicating an internally disabled rule 928 flag indicating an internally disabled rule
929 </dd> 929 </dd>
930 </dl> 930 </dl>
931 <dl> 931 <dl>
940 940
941 <p> 941 <p>
942 Public method to check, if this is a slow rule. 942 Public method to check, if this is a slow rule.
943 </p> 943 </p>
944 <dl> 944 <dl>
945 <dt>Returns:</dt> 945 <dt>Return:</dt>
946 <dd> 946 <dd>
947 flag indicating a slow rule 947 flag indicating a slow rule
948 </dd> 948 </dd>
949 </dl> 949 </dl>
950 <dl> 950 <dl>
966 <dd> 966 <dd>
967 domain name to check 967 domain name to check
968 </dd> 968 </dd>
969 </dl> 969 </dl>
970 <dl> 970 <dl>
971 <dt>Returns:</dt> 971 <dt>Return:</dt>
972 <dd> 972 <dd>
973 flag indicating a match 973 flag indicating a match
974 </dd> 974 </dd>
975 </dl> 975 </dl>
976 <dl> 976 <dl>
992 <dd> 992 <dd>
993 request object to check 993 request object to check
994 </dd> 994 </dd>
995 </dl> 995 </dl>
996 <dl> 996 <dl>
997 <dt>Returns:</dt> 997 <dt>Return:</dt>
998 <dd> 998 <dd>
999 flag indicating a match 999 flag indicating a match
1000 </dd> 1000 </dd>
1001 </dl> 1001 </dl>
1002 <dl> 1002 <dl>
1018 <dd> 1018 <dd>
1019 request object to check 1019 request object to check
1020 </dd> 1020 </dd>
1021 </dl> 1021 </dl>
1022 <dl> 1022 <dl>
1023 <dt>Returns:</dt> 1023 <dt>Return:</dt>
1024 <dd> 1024 <dd>
1025 flag indicating a match 1025 flag indicating a match
1026 </dd> 1026 </dd>
1027 </dl> 1027 </dl>
1028 <dl> 1028 <dl>
1044 <dd> 1044 <dd>
1045 request object to check 1045 request object to check
1046 </dd> 1046 </dd>
1047 </dl> 1047 </dl>
1048 <dl> 1048 <dl>
1049 <dt>Returns:</dt> 1049 <dt>Return:</dt>
1050 <dd> 1050 <dd>
1051 flag indicating a match 1051 flag indicating a match
1052 </dd> 1052 </dd>
1053 </dl> 1053 </dl>
1054 <dl> 1054 <dl>
1070 <dd> 1070 <dd>
1071 request object to check 1071 request object to check
1072 </dd> 1072 </dd>
1073 </dl> 1073 </dl>
1074 <dl> 1074 <dl>
1075 <dt>Returns:</dt> 1075 <dt>Return:</dt>
1076 <dd> 1076 <dd>
1077 flag indicating a match 1077 flag indicating a match
1078 </dd> 1078 </dd>
1079 </dl> 1079 </dl>
1080 <dl> 1080 <dl>
1096 <dd> 1096 <dd>
1097 request object to check 1097 request object to check
1098 </dd> 1098 </dd>
1099 </dl> 1099 </dl>
1100 <dl> 1100 <dl>
1101 <dt>Returns:</dt> 1101 <dt>Return:</dt>
1102 <dd> 1102 <dd>
1103 flag indicating a match 1103 flag indicating a match
1104 </dd> 1104 </dd>
1105 </dl> 1105 </dl>
1106 <dl> 1106 <dl>
1122 <dd> 1122 <dd>
1123 request object to check 1123 request object to check
1124 </dd> 1124 </dd>
1125 </dl> 1125 </dl>
1126 <dl> 1126 <dl>
1127 <dt>Returns:</dt> 1127 <dt>Return:</dt>
1128 <dd> 1128 <dd>
1129 flag indicating a match 1129 flag indicating a match
1130 </dd> 1130 </dd>
1131 </dl> 1131 </dl>
1132 <dl> 1132 <dl>
1148 <dd> 1148 <dd>
1149 request object to check 1149 request object to check
1150 </dd> 1150 </dd>
1151 </dl> 1151 </dl>
1152 <dl> 1152 <dl>
1153 <dt>Returns:</dt> 1153 <dt>Return:</dt>
1154 <dd> 1154 <dd>
1155 flag indicating a match 1155 flag indicating a match
1156 </dd> 1156 </dd>
1157 </dl> 1157 </dl>
1158 <dl> 1158 <dl>
1174 <dd> 1174 <dd>
1175 request object to check 1175 request object to check
1176 </dd> 1176 </dd>
1177 </dl> 1177 </dl>
1178 <dl> 1178 <dl>
1179 <dt>Returns:</dt> 1179 <dt>Return:</dt>
1180 <dd> 1180 <dd>
1181 flag indicating a match 1181 flag indicating a match
1182 </dd> 1182 </dd>
1183 </dl> 1183 </dl>
1184 <dl> 1184 <dl>
1193 1193
1194 <p> 1194 <p>
1195 Public method to get the match string. 1195 Public method to get the match string.
1196 </p> 1196 </p>
1197 <dl> 1197 <dl>
1198 <dt>Returns:</dt> 1198 <dt>Return:</dt>
1199 <dd> 1199 <dd>
1200 match string 1200 match string
1201 </dd> 1201 </dd>
1202 </dl> 1202 </dl>
1203 <dl> 1203 <dl>
1219 <dd> 1219 <dd>
1220 request object to check 1220 request object to check
1221 </dd> 1221 </dd>
1222 </dl> 1222 </dl>
1223 <dl> 1223 <dl>
1224 <dt>Returns:</dt> 1224 <dt>Return:</dt>
1225 <dd> 1225 <dd>
1226 flag indicating a match 1226 flag indicating a match
1227 </dd> 1227 </dd>
1228 </dl> 1228 </dl>
1229 <dl> 1229 <dl>
1245 <dd> 1245 <dd>
1246 request object to check 1246 request object to check
1247 </dd> 1247 </dd>
1248 </dl> 1248 </dl>
1249 <dl> 1249 <dl>
1250 <dt>Returns:</dt> 1250 <dt>Return:</dt>
1251 <dd> 1251 <dd>
1252 flag indicating a match 1252 flag indicating a match
1253 </dd> 1253 </dd>
1254 </dl> 1254 </dl>
1255 <dl> 1255 <dl>
1271 <dd> 1271 <dd>
1272 request object to check 1272 request object to check
1273 </dd> 1273 </dd>
1274 </dl> 1274 </dl>
1275 <dl> 1275 <dl>
1276 <dt>Returns:</dt> 1276 <dt>Return:</dt>
1277 <dd> 1277 <dd>
1278 flag indicating a match 1278 flag indicating a match
1279 </dd> 1279 </dd>
1280 </dl> 1280 </dl>
1281 <dl> 1281 <dl>
1297 <dd> 1297 <dd>
1298 request object to check 1298 request object to check
1299 </dd> 1299 </dd>
1300 </dl> 1300 </dl>
1301 <dl> 1301 <dl>
1302 <dt>Returns:</dt> 1302 <dt>Return:</dt>
1303 <dd> 1303 <dd>
1304 flag indicating a match 1304 flag indicating a match
1305 </dd> 1305 </dd>
1306 </dl> 1306 </dl>
1307 <dl> 1307 <dl>
1331 <dd> 1331 <dd>
1332 string encoded URL to be checked 1332 string encoded URL to be checked
1333 </dd> 1333 </dd>
1334 </dl> 1334 </dl>
1335 <dl> 1335 <dl>
1336 <dt>Returns:</dt> 1336 <dt>Return:</dt>
1337 <dd> 1337 <dd>
1338 flag indicating a match 1338 flag indicating a match
1339 </dd> 1339 </dd>
1340 </dl> 1340 </dl>
1341 <dl> 1341 <dl>
1350 1350
1351 <p> 1351 <p>
1352 Public method to get the rule exceptions. 1352 Public method to get the rule exceptions.
1353 </p> 1353 </p>
1354 <dl> 1354 <dl>
1355 <dt>Returns:</dt> 1355 <dt>Return:</dt>
1356 <dd> 1356 <dd>
1357 rule exceptions 1357 rule exceptions
1358 </dd> 1358 </dd>
1359 </dl> 1359 </dl>
1360 <dl> 1360 <dl>
1369 1369
1370 <p> 1370 <p>
1371 Public method to get the rule options. 1371 Public method to get the rule options.
1372 </p> 1372 </p>
1373 <dl> 1373 <dl>
1374 <dt>Returns:</dt> 1374 <dt>Return:</dt>
1375 <dd> 1375 <dd>
1376 rule options 1376 rule options
1377 </dd> 1377 </dd>
1378 </dl> 1378 </dl>
1379 <dl> 1379 <dl>
1388 1388
1389 <p> 1389 <p>
1390 Public method to get the rule type. 1390 Public method to get the rule type.
1391 </p> 1391 </p>
1392 <dl> 1392 <dl>
1393 <dt>Returns:</dt> 1393 <dt>Return:</dt>
1394 <dd> 1394 <dd>
1395 rule type 1395 rule type
1396 </dd> 1396 </dd>
1397 </dl> 1397 </dl>
1398 <dl> 1398 <dl>
1477 1477
1478 <p> 1478 <p>
1479 Public method to get the subscription this rule belongs to. 1479 Public method to get the subscription this rule belongs to.
1480 </p> 1480 </p>
1481 <dl> 1481 <dl>
1482 <dt>Returns:</dt> 1482 <dt>Return:</dt>
1483 <dd> 1483 <dd>
1484 subscription of the rule 1484 subscription of the rule
1485 </dd> 1485 </dd>
1486 </dl> 1486 </dl>
1487 <dl> 1487 <dl>
1503 <dd> 1503 <dd>
1504 URL to check 1504 URL to check
1505 </dd> 1505 </dd>
1506 </dl> 1506 </dl>
1507 <dl> 1507 <dl>
1508 <dt>Returns:</dt> 1508 <dt>Return:</dt>
1509 <dd> 1509 <dd>
1510 flag indicating a match 1510 flag indicating a match
1511 </dd> 1511 </dd>
1512 </dl> 1512 </dl>
1513 <dl> 1513 <dl>
1596 <dd> 1596 <dd>
1597 URL to extract domain from 1597 URL to extract domain from
1598 </dd> 1598 </dd>
1599 </dl> 1599 </dl>
1600 <dl> 1600 <dl>
1601 <dt>Returns:</dt> 1601 <dt>Return:</dt>
1602 <dd> 1602 <dd>
1603 name of second level domain 1603 name of second level domain
1604 </dd> 1604 </dd>
1605 </dl> 1605 </dl>
1606 <dl> 1606 <dl>

eric ide

mercurial