This commit is contained in:
lingeringsound 2024-09-08 07:43:32 +00:00
commit abb9c804ab
16 changed files with 59304 additions and 0 deletions

1
.github/workflows/.placeholder vendored Normal file
View File

@ -0,0 +1 @@

2
.placeholder Normal file
View File

@ -0,0 +1,2 @@

674
LICENSE Normal file
View File

@ -0,0 +1,674 @@
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The GNU General Public License is a free, copyleft license for
software and other kinds of works.
The licenses for most software and other practical works are designed
to take away your freedom to share and change the works. By contrast,
the GNU General Public License is intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users. We, the Free Software Foundation, use the
GNU General Public License for most of our software; it applies also to
any other work released this way by its authors. You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.
To protect your rights, we need to prevent others from denying you
these rights or asking you to surrender the rights. Therefore, you have
certain responsibilities if you distribute copies of the software, or if
you modify it: responsibilities to respect the freedom of others.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must pass on to the recipients the same
freedoms that you received. You must make sure that they, too, receive
or can get the source code. And you must show them these terms so they
know their rights.
Developers that use the GNU GPL protect your rights with two steps:
(1) assert copyright on the software, and (2) offer you this License
giving you legal permission to copy, distribute and/or modify it.
For the developers' and authors' protection, the GPL clearly explains
that there is no warranty for this free software. For both users' and
authors' sake, the GPL requires that modified versions be marked as
changed, so that their problems will not be attributed erroneously to
authors of previous versions.
Some devices are designed to deny users access to install or run
modified versions of the software inside them, although the manufacturer
can do so. This is fundamentally incompatible with the aim of
protecting users' freedom to change the software. The systematic
pattern of such abuse occurs in the area of products for individuals to
use, which is precisely where it is most unacceptable. Therefore, we
have designed this version of the GPL to prohibit the practice for those
products. If such problems arise substantially in other domains, we
stand ready to extend this provision to those domains in future versions
of the GPL, as needed to protect the freedom of users.
Finally, every program is threatened constantly by software patents.
States should not allow patents to restrict development and use of
software on general-purpose computers, but in those that do, we wish to
avoid the special danger that patents applied to a free program could
make it effectively proprietary. To prevent this, the GPL assures that
patents cannot be used to render the program non-free.
The precise terms and conditions for copying, distribution and
modification follow.
TERMS AND CONDITIONS
0. Definitions.
"This License" refers to version 3 of the GNU General Public License.
"Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.
"The Program" refers to any copyrightable work licensed under this
License. Each licensee is addressed as "you". "Licensees" and
"recipients" may be individuals or organizations.
To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy. The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.
A "covered work" means either the unmodified Program or a work based
on the Program.
To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.
To "convey" a work means any kind of propagation that enables other
parties to make or receive copies. Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.
An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License. If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.
1. Source Code.
The "source code" for a work means the preferred form of the work
for making modifications to it. "Object code" means any non-source
form of a work.
A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.
The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form. A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.
The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities. However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work. For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.
The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.
The Corresponding Source for a work in source code form is that
same work.
2. Basic Permissions.
All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met. This License explicitly affirms your unlimited
permission to run the unmodified Program. The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work. This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.
You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force. You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright. Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.
Conveying under any other circumstances is permitted solely under
the conditions stated below. Sublicensing is not allowed; section 10
makes it unnecessary.
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.
When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.
4. Conveying Verbatim Copies.
You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.
5. Conveying Modified Source Versions.
You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:
a) The work must carry prominent notices stating that you modified
it, and giving a relevant date.
b) The work must carry prominent notices stating that it is
released under this License and any conditions added under section
7. This requirement modifies the requirement in section 4 to
"keep intact all notices".
c) You must license the entire work, as a whole, under this
License to anyone who comes into possession of a copy. This
License will therefore apply, along with any applicable section 7
additional terms, to the whole of the work, and all its parts,
regardless of how they are packaged. This License gives no
permission to license the work in any other way, but it does not
invalidate such permission if you have separately received it.
d) If the work has interactive user interfaces, each must display
Appropriate Legal Notices; however, if the Program has interactive
interfaces that do not display Appropriate Legal Notices, your
work need not make them do so.
A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit. Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.
6. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:
a) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by the
Corresponding Source fixed on a durable physical medium
customarily used for software interchange.
b) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by a
written offer, valid for at least three years and valid for as
long as you offer spare parts or customer support for that product
model, to give anyone who possesses the object code either (1) a
copy of the Corresponding Source for all the software in the
product that is covered by this License, on a durable physical
medium customarily used for software interchange, for a price no
more than your reasonable cost of physically performing this
conveying of source, or (2) access to copy the
Corresponding Source from a network server at no charge.
c) Convey individual copies of the object code with a copy of the
written offer to provide the Corresponding Source. This
alternative is allowed only occasionally and noncommercially, and
only if you received the object code with such an offer, in accord
with subsection 6b.
d) Convey the object code by offering access from a designated
place (gratis or for a charge), and offer equivalent access to the
Corresponding Source in the same way through the same place at no
further charge. You need not require recipients to copy the
Corresponding Source along with the object code. If the place to
copy the object code is a network server, the Corresponding Source
may be on a different server (operated by you or a third party)
that supports equivalent copying facilities, provided you maintain
clear directions next to the object code saying where to find the
Corresponding Source. Regardless of what server hosts the
Corresponding Source, you remain obligated to ensure that it is
available for as long as needed to satisfy these requirements.
e) Convey the object code using peer-to-peer transmission, provided
you inform other peers where the object code and Corresponding
Source of the work are being offered to the general public at no
charge under subsection 6d.
A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.
A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling. In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage. For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product. A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.
"Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source. The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.
If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information. But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).
The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed. Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.
Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.
7. Additional Terms.
"Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law. If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it. (Additional permissions may be written to require their own
removal in certain cases when you modify the work.) You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.
Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:
a) Disclaiming warranty or limiting liability differently from the
terms of sections 15 and 16 of this License; or
b) Requiring preservation of specified reasonable legal notices or
author attributions in that material or in the Appropriate Legal
Notices displayed by works containing it; or
c) Prohibiting misrepresentation of the origin of that material, or
requiring that modified versions of such material be marked in
reasonable ways as different from the original version; or
d) Limiting the use for publicity purposes of names of licensors or
authors of the material; or
e) Declining to grant rights under trademark law for use of some
trade names, trademarks, or service marks; or
f) Requiring indemnification of licensors and authors of that
material by anyone who conveys the material (or modified versions of
it) with contractual assumptions of liability to the recipient, for
any liability that these contractual assumptions directly impose on
those licensors and authors.
All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10. If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term. If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.
If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.
Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.
8. Termination.
You may not propagate or modify a covered work except as expressly
provided under this License. Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).
However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.
Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.
Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License. If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.
9. Acceptance Not Required for Having Copies.
You are not required to accept this License in order to receive or
run a copy of the Program. Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance. However,
nothing other than this License grants you permission to propagate or
modify any covered work. These actions infringe copyright if you do
not accept this License. Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.
10. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License. You are not responsible
for enforcing compliance by third parties with this License.
An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations. If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.
You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License. For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.
11. Patents.
A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based. The
work thus licensed is called the contributor's "contributor version".
A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version. For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.
Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.
In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement). To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.
If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients. "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.
A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License. You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.
Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.
12. No Surrender of Others' Freedom.
If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all. For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.
13. Use with the GNU Affero General Public License.
Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU Affero General Public License into a single
combined work, and to convey the resulting work. The terms of this
License will continue to apply to the part which is the covered work,
but the special requirements of the GNU Affero General Public License,
section 13, concerning interaction through a network will apply to the
combination as such.
14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions of
the GNU General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the
Program specifies that a certain numbered version of the GNU General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation. If the Program does not specify a version number of the
GNU General Public License, you may choose any version ever published
by the Free Software Foundation.
If the Program specifies that a proxy can decide which future
versions of the GNU General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.
Later license versions may give you additional or different
permissions. However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.
15. Disclaimer of Warranty.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. Limitation of Liability.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
17. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
Also add information on how to contact you by electronic and paper mail.
If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:
<program> Copyright (C) <year> <name of author>
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, your program's commands
might be different; for a GUI interface, you would use an "about box".
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU GPL, see
<https://www.gnu.org/licenses/>.
The GNU General Public License does not permit incorporating your program
into proprietary programs. If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
<https://www.gnu.org/licenses/why-not-lgpl.html>.

36
README.md Normal file
View File

@ -0,0 +1,36 @@
## 去广告订阅自动更新
## [English](./README_en.md)
## 统计
```
完整版累积拦截域名: 28057
保留广告奖励累积拦截域名: 28023
```
## 访问量 : ![visitors](https://visitor-badge.glitch.me/badge?page_id=lingeringsound.10007_auto&left_color=green&right_color=red)
## Feature 分支
### 将替换成adguard的企图规避一些问题例如反复请求引起的耗电。
## Adaway
### 请在Adaway中选择**重定向(Apply redirected hosts)**
## 订阅
| **名称** | **链接** | **镜像链接** | **Github订阅加速链接** |
| :-- | :-- | :-- | :-- |
| **完整版** | [订阅链接](https://raw.githubusercontent.com/lingeringsound/10007_auto/Feature/all) | [Gitcode镜像](https://gitcode.net/weixin_45617236/10007_auto/-/raw/Feature/all) | [加速链接](https://raw.gitmirror.com/lingeringsound/10007_auto/Feature/all) |
| **保留广告奖励** | [订阅链接](https://raw.githubusercontent.com/lingeringsound/10007_auto/Feature/reward) | [Gitcode镜像](https://gitcode.net/weixin_45617236/10007_auto/-/raw/Feature/reward) | [加速链接](https://raw.gitmirror.com/lingeringsound/10007_auto/Feature/reward) |
## **[捐赠地址](https://github.com/lingeringsound/10007)**
## 引用和致谢
| **Hosts引用链接** | 感谢各位大佬 |
| :-- | :-- |
| [大圣净化](https://github.com/jdlingyu/ad-wars) | ❤感谢!❤ |
| [yhost](https://github.com/VeleSila/yhosts) | ❤感谢!❤ |
| [Steven Black](https://github.com/StevenBlack/hosts) | ❤感谢!❤ |
| [oisd](https://oisd.nl/howto) | ❤感谢!❤ |
| [1024](https://github.com/Goooler/1024_hosts) | ❤感谢!❤ |
| [adhost](https://github.com/E7KMbb/AD-hosts) | ❤感谢!❤ |

27
README_en.md Normal file
View File

@ -0,0 +1,27 @@
## REmove Ads Host
## [中文](./README.md)
## count
```
all: 28057
reward: 28023
```
| **name** | **links** |
| :-- | :-- |
| **all** | [Subscription link](https://raw.githubusercontent.com/lingeringsound/10007_auto/Feature/all) |
| **reward** | [Subscription link](https://raw.githubusercontent.com/lingeringsound/10007_auto/Feature/reward) |
## **[Donate](https://github.com/lingeringsound/10007)**
## 引用和致谢
| **Hosts引用链接** | 感谢各位大佬 |
| :-- | :-- |
| [大圣净化](https://github.com/jdlingyu/ad-wars) | ❤感谢!❤ |
| [yhost](https://github.com/VeleSila/yhosts) | ❤感谢!❤ |
| [Steven Black](https://github.com/StevenBlack/hosts) | ❤感谢!❤ |
| [oisd](https://oisd.nl/howto) | ❤感谢!❤ |
| [1024](https://github.com/Goooler/1024_hosts) | ❤感谢!❤ |
| [adhost](https://github.com/E7KMbb/AD-hosts) | ❤感谢!❤ |

28067
all Normal file

File diff suppressed because it is too large Load Diff

1
configure/.placeholder Normal file
View File

@ -0,0 +1 @@

316
configure/add.prop Normal file
View File

@ -0,0 +1,316 @@
! 爱奇艺腾讯视频网页版广告,删除了客户端没广告,网页就打不开。
||t7z.cupid.iqiyi.com^
||mdevstat.qqlive.qq.com^
||adsmind.gdtimg.com^
||c.gdt.qq.com^
||d.gdt.qq.com^
||gw.365you.com^
||i.gdt.qq.com^
||ii.gdt.qq.com^
||ipv4.gdt.qq.com^
||m.gdt.qq.com^
||mi.gdt.qq.com^
||nc.gdt.qq.com^
||pv.sohu.com^
||q.i.gdt.qq.com^
||rm.gdt.qq.com^
||rpt.gdt.qq.com^
||v.gdt.qq.com^
||vr.gdt.qq.com^
||x.adnet.qq.com^
||pgdt.ugdtimg.com^
||xc.gdt.qq.com^
||v2.gdt.qq.com^
||sdk.e.qq.com^
||t.gdt.qq.com^
! QQ广告奖励
||win.gdt.qq.com^
! 抖音广告奖励
!||is.snssdk.com^
! 微信广告奖励
!||wxsnsad.tc.qq.com^
!||wxsnsdy.tc.qq.com^
!||wxsnsdy.video.qq.com^
!||wxsnsdy.wxs.qq.com^
!||wxsnsdythumb.wxs.qq.com^
! 百度云视频广告奖励
!||nadvideo.baidu.com^
!||nadvideo2.baidu.com^
! 快手支持
! 删掉会使得部分开屏广告复燃
||open.e.kuaishou.com^
||e.kuaishou.com^
||api2.e.kuaishou.com^
||api.e.kuaishou.com^
! APP分享
! 注释掉可获得广告奖励
! 但是也会有部广告重新出现,毕竟穿山甲是目前最恶心的广告联盟
||log-api.pangolin-sdk-toutiao-b.com^
||log-api.pangolin-sdk-toutiao.com^
||api-access.pangolin-sdk-toutiao.com^
||api-access.pangolin-sdk-toutiao-b.com^
! QQ音乐广告奖励
||adstats.tencentmusic.com^
||adsmind.gdtimg.com^
||tmead.y.qq.com^
||tmeadcomm.y.qq.com^
! 放行一些规则防止误杀
! 日志收集禁用会占用大量CPU
@@||ulog*.*.com^$important
@@||toblog.ctobsnssdk.com^$important
! 阿里/支付宝
@@||mmstat.com^$important
! 小米商店登陆
@@||sdkconfig.ad.xiaomi.com^$important
! 360域名
@@||360.cn^$document
! X5内核
@@||cfg.imtt.qq.com^$document
@@||soft.tbs.imtt.qq.com^$document
@@||res.imtt.qq.com^$document
! 手机搜狗输入法
@@||shouji.sougou.com^$document
! MIUI 流量中心
@@||api.miui.security.xiaomi.com^$document
@@||api.sec.intl.miui.com^$document
@@||api.sec.miui.com^$document
! QQ直播
@@||livew.l.qq.com^$document
! 魅族
@@||aider.meizu.com^$document
@@||www.meizu.com^$document
@@||store.meizu.com^$document
! 魅族天气
@@||aider-res.meizu.com^$document
! 抖音小程序、今日头条搜索
@@||is.snssdk.com^$document
! QQ邮箱
@@||iwx.mail.qq.com^$document
! MIUI 天气预报
@@||wtradv.market.xiaomi.com^$document
! 推特(第三方调用)
@@||api.twitter.com^$document
@@||mobile.twitter.com^$document
@@||twitter.com^$document
@@||www.twitter.com^$document
! MIUI 快应用
@@||www.api.hybrid.intl.xiaomi.com^$document
@@||api.hybrid.intl.xiaomi.com^$document
! 网易某版本
@@||api.iplay.163.com^$document
! 九游游戏中心
@@||api.open.uc.cn^$document
! 百度小程序
@@||ossapi.baidu.com^$document
! UC文章
@@||mparticle.uc.cn^$document
! 微信福利/活动中心
@@||isee.weishi.qq.com^$document
! 京东图片api
@@||img14.360buyimg.com^$document
! 腾讯充值
@@||midas.gtimg.cn^$document
@@||api.unipay.qq.com^$document
! 皮皮虾/字节跳动
@@||mon.snssdk.com^$document
@@||mon.isnssdk.com^$document
@@||dig.bdurl.net^$document
@@||is-hl.snssdk.com^$document
@@||p*-ppx.byteimg.com^
@@||dig.zjurl.cn^$document
@@||i.snssdk.com^$document
@@||dm.toutiao.com^$document
! 应用宝
@@||pp.myapp.com^$document
! 淘宝授权
@@||acs4baichuan.m.taobao.com^$document
! 淘宝活动
@@||s.click.taobao.com^$document
@@||s.click.alimama.com^$document
@@||s.click.tmall.com^$document
! pornhub
@@||ss.phncdn.com^$document
@@||ei.phncdn.com^$document
@@||dm1.phncdn.com^$document
@@||di.phncdn.com^$document
@@||cdn1d-static-shared.phncdn.com^$document
@@||cdn1-smallimg.phncdn.com^$document
@@||cn.pornhub.com^$document
@@||www.pornhub.com^$document
! 知乎小程序
@@||sugar.zhihu.com^$document
! 支付宝生活号
@@||gm.mmstat.com^$document
! 支付宝扫码支付
@@||pingjs.qq.com^$document
! 支付宝运动
@@||wgo.mmstat.com^$document
! 迅雷影音api
@@||api-shoulei-ssl.xunlei.com^$document
! MIUI浏览器在线翻译
@@||ssl-cdn.static.browser.mi-img.com^$document
! X5内核文档插件下载
@@||static.res.qq.com^$document
! MIUI天星金融钱包
@@||api.jr.mi.com^$document
! 豌豆荚网络下载
@@||alissl.ucdl.pp.uc.cn^$document
! 微博国际版图片保存
@@||wx2.sinaimg.cn^$document
! 百度百科
@@||baikebcs.bdimg.com^$document
@@||bkimg.cdn.bcebos.com^$document
! QQ安全网址访问
@@||c.pc.qq.com^$document
! cdn加速
@@||cdn.bootcdn.net^$document
! 微信广告政策
@@||ads.privacy.qq.com^$document
! 百度求医问药网
@@||med-fe.cdn.bcebos.com^$document
! 微信部分小程序登陆
@@||pv.sohu.com^$document
! 百度百家号
@@||f10.baidu.com^$document
! MIUI 主题
@@||zhuti.xiaomi.com^$document
! 爱(i)茅台
@@||mm1.365dmp.com^$document
@@||mm3.365dmp.com^$document
@@||sfp.safe.baidu.com^$document
@@||sofire.bdstatic.com^$document
@@||sofire.baidu.com^$document
! MIUI浏览器
@@||hot.browser.intl.miui.com^$document
@@||hot.browser.miui.com^$document
! 360清理大师
@@||sjws.ssl.qihucdn.com^$document
@@||mvconf.f.360.cn^$document
! 腾讯新闻
@@||pacaio.match.qq.com^$document
! UC浏览器
@@||emoji.uc.cn^$document
@@||iflow.uc.cn^$document
@@||iflow-api.uc.cn^$document
@@||iflow.uczzd.cn^$document
! 夸克浏览器下载插件
@@||pdds-c1-cdn.uc.cn^$document
@@||pdds.ucweb.com^$document
! DNS服务器
@@||dns9.quad9.net^$document
@@||dns.cloudflare.com^$document
@@||dns.rubyfish.cn^$document
@@||1dot1dot1dot1.cloudflare-dns.com^$document
@@||dns.alidns.com^$document
@@||dns.google.com^$document
! 淘宝菜鸟裹裹
@@||appdownload.alicdn.com^$document
! QQ微信头像
@@||wx.qlogo.cn^$document
@@||py.qlogo.cn^$document
@@||py2.qlogo.cn^$document
@@||p.qlogo.cn^$document
! 抖音网页版验证图片
@@||verify.snssdk.com^$document
! QQ安全中心
@@||aq.qq.com^$document
! 小米文件下载
@@||api.airpush.com^$document
@@||file.xmpush.xiaomi.com^$document
@@||api.airpush.com^$document
@@||api-push.meizu.com^$document
@@||file.xiaomi.com^$document
@@||f8.market.xiaomi.com^$document
@@||f4.market.xiaomi.com^$document
! MIUI黄页
@@||api.huangye.miui.com^$document
! MIUI垃圾清理
@@||flash.sec.miui.com^$document
@@||flash.sec.intl.miui.com^$document
@@||staging.flash.sec.miui.com^$document
! 小爱同学个人信息获取
@@||tracker.ai.xiaomi.com^$document
! 小米主题设计师注册
@@||market.xiaomi.com^$document
! 百度贴吧表情误杀
@@||static.tieba.baidu.com^$document
@@||gsp0.baidu.com^$document
! 咪咕爱看视频
@@||aikanvod.miguvideo.com^$document
@@||aikanlive.miguvideo.com^$document
! 部分设备的小米推送
@@||resolver.msg.xiaomi.net^$document
@@||register.xmpush.xiaomi.com^$document
@@||app.chat.xiaomi.net^$document
! 部分设备的小米云服务
@@||api.g.micloud.xiaomi.net^$document
! QQ浏览器插件误杀
@@||tbsone.imtt.qq.com^$document
! UC浏览器网盘
! @@||uc.ucweb.com
@@||puds.ucweb.com^$document
! OPPO账号相关
@@||u.oppomobile.com^$document
! 新浪新闻图片
@@||k.sinaimg.cn^$document
! 酷安推送来自酷安@ck388(http://www.coolapk.com/u/1347977)
@@||guid.tpns.tencent.com^$document
@@||access1.tpns.tencent.com^$document
! 有道翻译官网页翻译
@@||c.youdao.com^$document
! 百度网盘签到图片界面
@@||staticsns.cdn.bcebos.com^$document
! 大众养生网
@@||mipcache.bdstatic.com^$document
! 阿里云盘网络验证码(酷安@我是真爱kun)
@@||acs.m.taobao.com^$document
! 夸克网盘扫码登陆
@@||t.uc.cn^$document
! Flyme 游戏下载(酷安@何言与君识)
@@||api-game.meizu.com^$document
@@||game.res.meizu.com^$document
! OPPO商店登陆
@@||dragate.dc.oppomobile.com^$important,document
@@||client-uc.heytapmobi.com^$important,document
@@||dragate-cn.dc.heytapmobi.com^$important,document
! 网易云音乐 音效下载
@@||d*.music.126.net^$document
! 新浪网页误杀
@@||gk.sina.cn^
@@||cre.dp.sina.cn^
@@||mix.sina.com.cn^
! 头条授权登陆
@@||open.snssdk.com^$document
! 网易年度总结
@@||count.mail.163.com^$document
! 360翻译
@@||gw.shouji.360.cn^$document
! 移动一键登录
@@||da.mmarket.com^$document
! OPPO应用配置
@@||appconf.heytapdownload.com^$document
! 京东
@@||gia.jd.com^$document
@@||me-api.jd.com^$document
@@||api.m.jd.com^$document
@@||ms.jr.jd.com^$document
@@||active.jd.com^$document
@@||pro.m.jd.com^$document
! 王者活动
@@||msdk.qq.com^
@@||ssl.msdk.qq.com^$document
@@||img.ssl.msdk.qq.com^$document
@@||ap6.ssl.msdk.qq.com^$document
! 添加一些规则
||s.360.cn^$important
||p.s.360.cn^$important
||sconf.f.360.cn^$important
||qurl.f.360.cn^$important

View File

@ -0,0 +1,53 @@
d.gdt.qq.com
gw.365you.com
i.gdt.qq.com
ii.gdt.qq.com
ipv4.gdt.qq.com
m.gdt.qq.com
mi.gdt.qq.com
nc.gdt.qq.com
pv.sohu.com
q.i.gdt.qq.com
rm.gdt.qq.com
vr.gdt.qq.com
x.adnet.qq.com
pgdt.ugdtimg.com
xc.gdt.qq.com
v2.gdt.qq.com
sdk.e.qq.com
t.gdt.qq.com
#QQ广告奖励
win.gdt.qq.com
#抖音广告奖励
#is.snssdk.com
#微信广告奖励
wxsnsad.tc.qq.com
wxsnsdy.tc.qq.com
wxsnsdy.video.qq.com
wxsnsdy.wxs.qq.com
wxsnsdythumb.wxs.qq.com
#百度云视频广告奖励
nadvideo.baidu.com
nadvideo2.baidu.com
#快手支持
#删掉会使得部分开屏广告复燃
open.e.kuaishou.com
e.kuaishou.com
api2.e.kuaishou.com
api.e.kuaishou.com
#APP分享
#注释掉可获得广告奖励
#但是也会有部广告重新出现,毕竟穿山甲是目前最恶心的广告联盟
log-api.pangolin-sdk-toutiao-b.com
log-api.pangolin-sdk-toutiao.com
api-access.pangolin-sdk-toutiao.com
api-access.pangolin-sdk-toutiao-b.com
#QQ音乐免费时长广告奖励
adstats.tencentmusic.com
adsmind.gdtimg.com
rpt.gdt.qq.com
v.gdt.qq.com
c.gdt.qq.com
tmead.y.qq.com
tmeadcomm.y.qq.com

View File

@ -0,0 +1,54 @@
d.gdt.qq.com
gw.365you.com
i.gdt.qq.com
ii.gdt.qq.com
ipv4.gdt.qq.com
m.gdt.qq.com
mi.gdt.qq.com
nc.gdt.qq.com
pv.sohu.com
q.i.gdt.qq.com
rm.gdt.qq.com
vr.gdt.qq.com
x.adnet.qq.com
pgdt.ugdtimg.com
xc.gdt.qq.com
v2.gdt.qq.com
sdk.e.qq.com
t.gdt.qq.com
#QQ广告奖励
win.gdt.qq.com
#抖音广告奖励
#is.snssdk.com
#微信广告奖励
#wxsnsad.tc.qq.com
#wxsnsdy.tc.qq.com
#wxsnsdy.video.qq.com
#wxsnsdy.wxs.qq.com
#wxsnsdythumb.wxs.qq.com
#百度云视频广告奖励
#nadvideo.baidu.com
#nadvideo2.baidu.com
#快手支持
#删掉会使得部分开屏广告复燃
open.e.kuaishou.com
e.kuaishou.com
api2.e.kuaishou.com
api.e.kuaishou.com
#APP分享
#注释掉可获得广告奖励
#但是也会有部广告重新出现,毕竟穿山甲是目前最恶心的广告联盟
log-api.pangolin-sdk-toutiao-b.com
log-api.pangolin-sdk-toutiao.com
api-access.pangolin-sdk-toutiao.com
api-access.pangolin-sdk-toutiao-b.com
#QQ音乐免费时长广告奖励
adstats.tencentmusic.com
adsmind.gdtimg.com
rpt.gdt.qq.com
v.gdt.qq.com
c.gdt.qq.com
tmead.y.qq.com
tmeadcomm.y.qq.com

327
configure/排除列表.prop Normal file
View File

@ -0,0 +1,327 @@
#host屏蔽的域名
#X5内核
^127.0.0.1[[:space:]]cfg.imtt.qq.com$
^127.0.0.1[[:space:]]soft.tbs.imtt.qq.com$
^127.0.0.1[[:space:]]res.imtt.qq.com$
#手机搜狗输入法
^127.0.0.1[[:space:]]shouji.sougou.com$
#MIUI 流量中心
^127.0.0.1[[:space:]]api.miui.security.xiaomi.com$
^127.0.0.1[[:space:]]api.sec.intl.miui.com$
^127.0.0.1[[:space:]]api.sec.miui.com$
#QQ直播
^127.0.0.1[[:space:]]livew.l.qq.com$
#魅族
^127.0.0.1[[:space:]]aider.meizu.com$
^127.0.0.1[[:space:]]www.meizu.com$
^127.0.0.1[[:space:]]store.meizu.com$
#魅族天气
^127.0.0.1[[:space:]]aider-res.meizu.com$
#爱奇艺、腾讯视频
#^127.0.0.1[[:space:]]mdevstat.qqlive.qq.com$
#^127.0.0.1[[:space:]]t7z.cupid.iqiyi.com$
#抖音小程序、今日头条搜索
^127.0.0.1[[:space:]]is.snssdk.com$
^127.0.0.1[[:space:]]i[a-z].snssdk.com$
#QQ邮箱
^127.0.0.1[[:space:]]iwx.mail.qq.com$
#腾讯活动
^127.0.0.1[[:space:]]aegis.qq.com$
^127.0.0.1[[:space:]]ios.bugly.qq.com$
^127.0.0.1[[:space:]]msdk.qq.com$
^127.0.0.1[[:space:]]ssl.msdk.qq.com$
^127.0.0.1[[:space:]]img.ssl.msdk.qq.com$
^127.0.0.1[[:space:]]ap6.ssl.msdk.qq.com$
#QQ微信小(程序)游戏
^127.0.0.1[[:space:]]game.weixin.qq.com$
#^127.0.0.1[[:space:]]dir.minigame.qq.com$
#^127.0.0.1[[:space:]]game.html5.qq.com$
#^127.0.0.1[[:space:]]user1.game.qq.com$
#MIUI 天气预报
^127.0.0.1[[:space:]]wtradv.market.xiaomi.com$
#推特(第三方调用)
^127.0.0.1[[:space:]]api.twitter.com$
^127.0.0.1[[:space:]]mobile.twitter.com$
^127.0.0.1[[:space:]]twitter.com$
^127.0.0.1[[:space:]]www.twitter.com$
#MIUI 快应用
^127.0.0.1[[:space:]]www.api.hybrid.intl.xiaomi.com$
^127.0.0.1[[:space:]]api.hybrid.intl.xiaomi.com$
#网易某版本
^127.0.0.1[[:space:]]api.iplay.163.com$
#九游游戏中心
^127.0.0.1[[:space:]]api.open.uc.cn$
#百度小程序
^127.0.0.1[[:space:]]ossapi.baidu.com$
#UC文章
^127.0.0.1[[:space:]]mparticle.uc.cn$
#微信福利/活动中心
^127.0.0.1[[:space:]]isee.weishi.qq.com$
#京东图片api
^127.0.0.1[[:space:]]img14.360buyimg.com$
#腾讯充值
^127.0.0.1[[:space:]]midas.gtimg.cn$
^127.0.0.1[[:space:]]api.unipay.qq.com$
#皮皮虾/字节跳动
^127.0.0.1[[:space:]]mon.snssdk.com$
^127.0.0.1[[:space:]]mon.isnssdk.com$
^127.0.0.1[[:space:]]dig.bdurl.net$
^127.0.0.1[[:space:]]is-hl.snssdk.com$
^127.0.0.1[[:space:]]p.*[[:digit:]]-ppx.byteimg.com$
^127.0.0.1[[:space:]]dig.zjurl.cn$
^127.0.0.1[[:space:]]i.snssdk.com$
#^127.0.0.1[[:space:]]sf3-ttcdn-tos.pstatp.com$
^127.0.0.1[[:space:]]dm.toutiao.com$
#应用宝
^127.0.0.1[[:space:]]pp.myapp.com$
#淘宝授权
^127.0.0.1[[:space:]]acs4baichuan.m.taobao.com$
#淘宝活动
^127.0.0.1[[:space:]]s.click.taobao.com$
^127.0.0.1[[:space:]]s.click.alimama.com$
^127.0.0.1[[:space:]]s.click.tmall.com$
#pornhub
^127.0.0.1[[:space:]]ss.phncdn.com$
^127.0.0.1[[:space:]]ei.phncdn.com$
^127.0.0.1[[:space:]]dm1.phncdn.com$
^127.0.0.1[[:space:]]di.phncdn.com$
^127.0.0.1[[:space:]]cdn1d-static-shared.phncdn.com$
^127.0.0.1[[:space:]]cdn1-smallimg.phncdn.com$
^127.0.0.1[[:space:]]cn.pornhub.com$
^127.0.0.1[[:space:]]www.pornhub.com$
#知乎小程序
^127.0.0.1[[:space:]]sugar.zhihu.com$
#支付宝生活号
^127.0.0.1[[:space:]]gm.mmstat.com$
#支付宝扫码支付
^127.0.0.1[[:space:]]pingjs.qq.com$
#支付宝运动
^127.0.0.1[[:space:]]wgo.mmstat.com$
#迅雷影音api
^127.0.0.1[[:space:]]api-shoulei-ssl.xunlei.com$
#MIUI浏览器在线翻译
^127.0.0.1[[:space:]]ssl-cdn.static.browser.mi-img.com$
#MIUI浏览器关键词联想
#^127.0.0.1[[:space:]]activity.browser.intl.miui.com$
#^127.0.0.1[[:space:]]reader.browser.miui.com$
#X5内核文档插件下载
^127.0.0.1[[:space:]]static.res.qq.com$
#MIUI天星金融钱包
^127.0.0.1[[:space:]]api.jr.mi.com$
#豌豆荚网络下载
^127.0.0.1[[:space:]]alissl.ucdl.pp.uc.cn$
#微博国际版图片保存
^127.0.0.1[[:space:]]wx2.sinaimg.cn$
#百度百科
^127.0.0.1[[:space:]]baikebcs.bdimg.com$
^127.0.0.1[[:space:]]bkimg.cdn.bcebos.com$
#QQ安全网址访问
^127.0.0.1[[:space:]]c.pc.qq.com$
#cdn加速
^127.0.0.1[[:space:]]cdn.bootcdn.net$
#未知的白名单
#^127.0.0.1[[:space:]]rpc-php.trafficfactory.biz$
#^127.0.0.1[[:space:]]adv.sec.miui.com$
#^127.0.0.1[[:space:]]data.mistat.xiaomi.com$
#^127.0.0.1[[:space:]]adash.man.aliyuncs.com$
#微信广告政策
^127.0.0.1[[:space:]]ads.privacy.qq.com$
#百度求医问药网
^127.0.0.1[[:space:]]med-fe.cdn.bcebos.com$
#微信部分小程序登陆
^127.0.0.1[[:space:]]pv.sohu.com$
#百度百家号
^127.0.0.1[[:space:]]f10.baidu.com$
#MIUI 主题
^127.0.0.1[[:space:]]zhuti.xiaomi.com$
#爱(i)茅台
^127.0.0.1[[:space:]]mm1.365dmp.com$
^127.0.0.1[[:space:]]mm3.365dmp.com$
^127.0.0.1[[:space:]]sfp.safe.baidu.com$
^127.0.0.1[[:space:]]sofire.bdstatic.com$
^127.0.0.1[[:space:]]sofire.baidu.com$
#MIUI浏览器
^127.0.0.1[[:space:]]hot.browser.intl.miui.com$
^127.0.0.1[[:space:]]hot.browser.miui.com$
#360清理大师
^127.0.0.1[[:space:]]sjws.ssl.qihucdn.com$
^127.0.0.1[[:space:]]mvconf.f.360.cn$
#腾讯新闻
#^127.0.0.1[[:space:]]news.l.qq.com$
#^127.0.0.1[[:space:]]xw.qq.com$
^127.0.0.1[[:space:]]pacaio.match.qq.com$
#^127.0.0.1[[:space:]]news.ssp.qq.com$
#UC浏览器
^127.0.0.1[[:space:]]emoji.uc.cn$
#^127.0.0.1[[:space:]]m.uczzd.cn$
^127.0.0.1[[:space:]]iflow.uc.cn$
^127.0.0.1[[:space:]]iflow-api.uc.cn$
^127.0.0.1[[:space:]]iflow.uczzd.cn$
#夸克浏览器下载插件
^127.0.0.1[[:space:]]pdds-c1-cdn.uc.cn$
^127.0.0.1[[:space:]]pdds.ucweb.com$
#DNS服务器
^127.0.0.1[[:space:]]dns9.quad9.net$
^127.0.0.1[[:space:]]dns.cloudflare.com$
^127.0.0.1[[:space:]]dns.rubyfish.cn$
^127.0.0.1[[:space:]]1dot1dot1dot1.cloudflare-dns.com$
^127.0.0.1[[:space:]]dns.alidns.com$
^127.0.0.1[[:space:]]dns.google.com$
#腾讯追踪
#^127.0.0.1[[:space:]]btrace.qq.com$
#^127.0.0.1[[:space:]]h.trace.qq.com$
#淘宝菜鸟裹裹
#^127.0.0.1[[:space:]]zconfig.alibabausercontent.com$
#^127.0.0.1[[:space:]]sjarvis.taobao.com$
^127.0.0.1[[:space:]]appdownload.alicdn.com$
#QQ微信头像
^127.0.0.1[[:space:]]wx.qlogo.cn$
^127.0.0.1[[:space:]]py.qlogo.cn$
^127.0.0.1[[:space:]]py2.qlogo.cn$
^127.0.0.1[[:space:]]p.qlogo.cn$
#抖音网页版验证图片
^127.0.0.1[[:space:]]verify.snssdk.com$
#小米隐私收集
^127.0.0.1[[:space:]]data\.mistat\..*xiaomi.com$
^127.0.0.1[[:space:]]www\.data\.mistat\..*xiaomi.com$
^127.0.0.1[[:space:]]o.data.mistat.xiaomi.com$
#QQ安全中心
^127.0.0.1[[:space:]]aq.qq.com$
#QQ头像
#^127.0.0.1[[:space:]]pgdt.gtimg.cn$
#美团外卖
#^127.0.0.1[[:space:]]pingma.qq.com$
#小米隐私收集(为了省电,所以排除)
^127.0.0.1[[:space:]]tracking\..*miui\.com$
^127.0.0.1[[:space:]]www\.tracking\..*miui\.com$
#小米广告配置文件
^127.0.0.1[[:space:]]sdkconfig\.ad.*\.xiaomi\.com$
^127.0.0.1[[:space:]]www\.sdkconfig\.ad.*\.xiaomi\.com$
#MIUI手机管家
^127.0.0.1[[:space:]]data\.sec.*\.miui\.com$
^127.0.0.1[[:space:]]www\.data\.sec.*\.miui\.com$
#小米文件下载
^127.0.0.1[[:space:]]api.airpush.com$
^127.0.0.1[[:space:]]file.xmpush.xiaomi.com$
^127.0.0.1[[:space:]]api.airpush.com$
^127.0.0.1[[:space:]]api-push.meizu.com$
^127.0.0.1[[:space:]]file.xiaomi.com$
^127.0.0.1[[:space:]]f8.market.xiaomi.com$
^127.0.0.1[[:space:]]f4.market.xiaomi.com$
#MIUI黄页
^127.0.0.1[[:space:]]api.huangye.miui.com$
#MIUI垃圾清理
^127.0.0.1[[:space:]]flash.sec.miui.com$
^127.0.0.1[[:space:]]flash.sec.intl.miui.com$
^127.0.0.1[[:space:]]staging.flash.sec.miui.com$
#小爱同学个人信息获取
^127.0.0.1[[:space:]]tracker.ai.xiaomi.com$
#小米主题设计师注册
^127.0.0.1[[:space:]]market.xiaomi.com$
#百度贴吧表情误杀
^127.0.0.1[[:space:]]static.tieba.baidu.com$
^127.0.0.1[[:space:]]gsp0.baidu.com$
#咪咕爱看视频
^127.0.0.1[[:space:]]aikanvod.miguvideo.com$
^127.0.0.1[[:space:]]aikanlive.miguvideo.com$
#部分设备的小米推送
^127.0.0.1[[:space:]]resolver.msg.xiaomi.net$
^127.0.0.1[[:space:]]register.xmpush.xiaomi.com$
^127.0.0.1[[:space:]]app.chat.xiaomi.net$
^127.0.0.1[[:space:]]cn.app.chat.xiaomi.net$
#部分设备的小米云服务
^127.0.0.1[[:space:]]api.g.micloud.xiaomi.net$
#QQ浏览器插件误杀
^127.0.0.1[[:space:]]tbsone.imtt.qq.com$
#UC浏览器网盘
#^127.0.0.1[[:space:]]uc.ucweb.com$
^127.0.0.1[[:space:]]puds.ucweb.com$
#OPPO账号相关
^127.0.0.1[[:space:]]u.oppomobile.com$
#新浪新闻图片
^127.0.0.1[[:space:]]k.sinaimg.cn$
#酷安推送来自酷安@ck388(http://www.coolapk.com/u/1347977)
^127.0.0.1[[:space:]]guid.tpns.tencent.com$
^127.0.0.1[[:space:]]access1.tpns.tencent.com$
#有道翻译官网页翻译
^127.0.0.1[[:space:]]c.youdao.com$
#百度网盘签到图片界面
^127.0.0.1[[:space:]]staticsns.cdn.bcebos.com$
#大众养生网
^127.0.0.1[[:space:]]mipcache.bdstatic.com$
#阿里云盘网络验证码(酷安@我是真爱kun)
^127.0.0.1[[:space:]]acs.m.taobao.com$
#夸克网盘扫码登陆
^127.0.0.1[[:space:]]t.uc.cn$
#Flyme 游戏下载(酷安@何言与君识)
^127.0.0.1[[:space:]]api-game.meizu.com$
^127.0.0.1[[:space:]]game.res.meizu.com$
#OPPO商店登陆
^127.0.0.1[[:space:]]client-uc.heytapmobi.com$
^127.0.0.1[[:space:]]dragate.dc.oppomobile.com$
^127.0.0.1[[:space:]]dragate-cn.dc.heytapmobi.com$
#网易云音乐 音效下载
^127.0.0.1[[:space:]]d[0-9].music.126.net$
#新浪新闻网页误杀
^127.0.0.1[[:space:]]mix.sina.com.cn$
^127.0.0.1[[:space:]]cre.dp.sina.cn$
^127.0.0.1[[:space:]]gk.sina.cn$
#头条授权登陆
^127.0.0.1[[:space:]]open.snssdk.com$
#网易年度总结
^127.0.0.1[[:space:]]count.mail.163.com$
#360翻译
^127.0.0.1[[:space:]]gw.shouji.360.cn$
^127.0.0.1[[:space:]]msedown.360safe.com$
#移动一键登录
^127.0.0.1[[:space:]]da.mmarket.com$
#OPPO应用配置
^127.0.0.1[[:space:]]appconf.heytapdownload.com$
#京东
^127.0.0.1[[:space:]]gia.jd.com$
^127.0.0.1[[:space:]]me-api.jd.com$
^127.0.0.1[[:space:]]api.m.jd.com$
^127.0.0.1[[:space:]]ms.jr.jd.com$
^127.0.0.1[[:space:]]active.jd.com$
^127.0.0.1[[:space:]]pro.m.jd.com$
^127.0.0.1[[:space:]]m.jd.watbe.top$
^127.0.0.1[[:space:]]m.jd.watbc.top$
#百度手机广告
^127.0.0.1[[:space:]]ecmb.bdimg.com$
^127.0.0.1[[:space:]]ecma.bdimg.com$
#放到iptables屏蔽的域名
^[0-9].*\.fls.doubleclick
\.302br\.net$
^[0-9].*\.api.swrve.com
^[0-9].*\.eu-api.swrve.com
\.adj\.st$
\.live\.api\.drift\.com$
\.chat\.api\.drift\.com$
\.analytics\.mobilegamestats\.com$
\.sprout-ad\.com
\.log\.optimizely\.com$
\.v\.admaster\.com\.cn$
\.ads\.tremorhub\.com$
\.ad\.corp\.appnexus\.com$
\.api-05\.com$
\.log\.xoalt\.com$
\.api\.splkmobile\.com$
\.api\.botman\.ninja$
\.api\.5rocks\.io$
\.api\.pushwoosh\.com$
\.c\.admaster\.com\.cn$
xvideos.*cdn
p[[:digit:]].*[[:digit:]]\.ahcdn\.com$
.*net\.zooplus\.[[:alpha:]].*[[:alpha:]]$
#.*net\.zooplus\.com$
#.*net\.zooplus\.it$
#.*net\.zooplus\.nl$
#ad.*[[:digit:]]m.adk2.co$
fra.*[[:digit:]].ib.adnxs.com$
bank.*[[:digit:]].*mp.mydas.mobi$
www\.[[:alpha:]].*[[:alpha:]].*\.top$
#\.net\.daraz\.com$

880
configure/自定义.prop Normal file
View File

@ -0,0 +1,880 @@
#蓝奏云
127.0.0.1 lupic.cdn.bcebos.com
127.0.0.1 sanme2.lanzoui.com
127.0.0.1 glores2.lanzoui.com
127.0.0.1 sanme2.lanzoux.com
127.0.0.1 glores2.lanzoux.com
127.0.0.1 sanme2.taisantech.com
127.0.0.1 glores2.taisantech.com
#其他
#127.0.0.1 ulog.ksapisrv.com
#127.0.0.1 ulogs.bytefence.com
127.0.0.1 erebor.douban.com
#127.0.0.1 tobapplog.ctobsnssdk.com
#127.0.0.1 h.trace.qq.com
127.0.0.1 yoke.tianyaoguan.cn
#微信
127.0.0.1 chineseinla.com
127.0.0.1 ckxxbao.com
127.0.0.1 ptbus.com
127.0.0.1 pilipali.cc
127.0.0.1 qsptv.net
127.0.0.1 meijutt.tv
#禁漫
127.0.0.1 ikhgg.snalkdl.top
127.0.0.1 adserver.juicyads.com
127.0.0.1 poweredby.jads.com
127.0.0.1 poweredby.jads.co
127.0.0.1 a.realsrv.com
127.0.0.1 ck.jads.co
127.0.0.1 2yearatt15.sugar1818.net
127.0.0.1 squirtatt15.sugar1818.net
127.0.0.1 xratt15.sky1818.net
127.0.0.1 bongacams.com
127.0.0.1 juicy-news.blogspot.us.intellitxt.com
127.0.0.1 juicy-pubg.com
127.0.0.1 juicyads.com
127.0.0.1 juicyads.me
127.0.0.1 juicycash.net
127.0.0.1 juicyceleb.us.intellitxt.com
127.0.0.1 juicyfiles.net
127.0.0.1 juicygf.com
127.0.0.1 juicygif.com
127.0.0.1 juicygirlfriends.com
127.0.0.1 juicygranny.com
127.0.0.1 juicylesbiansex.com
127.0.0.1 juicypussyclips.com
127.0.0.1 juicyteenie.com
127.0.0.1 juicyteenvideos.com
127.0.0.1 juicywebcams.com
127.0.0.1 juicywin.pl
127.0.0.1 juicywives.com
#头条
127.0.0.1 dm-hl.toutiao.com
#咪咕
127.0.0.1 ggx01.miguvideo.com
127.0.0.1 ggx02.miguvideo.com
127.0.0.1 ggic01.miguvideo.com
#QQ
127.0.0.1 wxa.wxs.qq.com
127.0.0.1 badjs.weixinbridge.com
127.0.0.1 badjs.qq.com
127.0.0.1 mark.l.qq.com
127.0.0.1 market.m.qq.com
127.0.0.1 adss.video.qq.com
#酷安广告
127.0.0.1 stream.snssdk.com
127.0.0.1 tnc3-bjlgy.snssdk.com
127.0.0.1 vas-hl-x.snssdk.com
127.0.0.1 dm-lq.toutiao.com
#127.0.0.1 toblog.ctobsnssdk.com
127.0.0.1 mssdk-bu.bytedance.com
#127.0.0.1 v3-default.ixigua.com
127.0.0.1 pangolin.snssdk.com
#知乎
#127.0.0.1 vdn1.vzuu.com
#127.0.0.1 vdn.vzuu.com
#127.0.0.1 vdn2.vzuu.com
#127.0.0.1 vdn3.vzuu.com
#127.0.0.1 vdn4.vzuu.com
#MIUI
127.0.0.1 hysdkservice.g.mi.com
127.0.0.1 im-x.jd.com
#127.0.0.1 img11.360buyimg.com
#127.0.0.1 verify.sec.xiaomi.com
127.0.0.1 erebor.douban.com
#127.0.0.1 static-verify.sec.xiaomi.com
127.0.0.1 amonsul.douban.com
#127.0.0.1 msedown.360safe.com
#腾讯22.03.18
127.0.0.1 qzs.gdtimg.com
127.0.0.1 adstats.tencentmusic.com
127.0.0.1 a.lubiao.com
127.0.0.1 access1.tpns.tencent.com
#网易22.03.19
127.0.0.1 ad.163.com
127.0.0.1 adimg.163.com
127.0.0.1 adserver.163.com
127.0.0.1 iad.g.163.com
#adrules
127.0.0.1 xg.adbeuch.cn
127.0.0.1 ssl.trace.zhiziyun.com
127.0.0.1 live-trace.bilibili.com
127.0.0.1 analytics.tv189.cn
127.0.0.1 adfunds.org
127.0.0.1 adchina.cc
#有道云笔记22.03.26
127.0.0.1 push.lx.netease.com
127.0.0.1 advert.lx.netease.com
#22.03.26 腾讯
#127.0.0.1 guid.tpns.tencent.com
#127.0.0.1 log.tpns.tencent.com
#127.0.0.1 ping.cloud.tencent.com
#127.0.0.1 sensors.cloud.tencent.com
127.0.0.1 ad.tencentmusic.com
127.0.0.1 adcdn.tencentmusic.com
127.0.0.1 adclick.tencentmusic.com
127.0.0.1 adexpo.tencentmusic.com
127.0.0.1 adstats.tencentmusic.com
127.0.0.1 bds.snssdk.com
#127.0.0.1 midas.gtimg.cn
#快手22.03.26
127.0.0.1 com.yxcorp.gifshow.ad
127.0.0.1 com.yxcorp.gifshow.map
#穿山甲(snssdk)22.03.27
#127.0.0.1 extlog.snssdk.com
127.0.0.1 ug.snssdk.com
#京东22.03.27
127.0.0.1 img14.360buyimg.com
#UC浏览器
#127.0.0.1 pdds.ucweb.com
#127.0.0.1 iflow.uczzd.cn
#网页22.03.29
127.0.0.1 cdn.lakdc.top
127.0.0.1 www.smyfinancial.com
127.0.0.1 i.cat-happy.cn
127.0.0.1 i.hao61.net
#22.03.30
127.0.0.1 staticsns.cdn.bcebos.com
#QQ浏览器22.03.31
127.0.0.1 upage.imtt.qq.com
127.0.0.1 v.gdt.qq.com
127.0.0.1 mtt.eve.mdt.qq.com
127.0.0.1 mtt.str.mdt.qq.com
#酷安
#127.0.0.1 imtt.dd.qq.com
#127.0.0.1 downum.game.uc.cn
#127.0.0.1 gdown.baidu.com
#127.0.0.1 opencdnbdgdown.jomodns.com
#22.03.31
#360加固
127.0.0.1 a.appjiagu.com
127.0.0.1 b.appjiagu.com
127.0.0.1 c.appjiagu.com
127.0.0.1 j.appjiagu.com
127.0.0.1 p.appjiagu.com
127.0.0.1 s.appjiagu.com
#京东
127.0.0.1 cm.jd.com
127.0.0.1 im-x.jd.com
127.0.0.1 img-x.jd.com
127.0.0.1 u-x.jd.com
127.0.0.1 u.x.jd.com
127.0.0.1 x.jd.com
#新浪微博
127.0.0.1 d0.sinaimg.cn
127.0.0.1 d1.sinaimg.cn
127.0.0.1 d2.sinaimg.cn
127.0.0.1 d3.sinaimg.cn
127.0.0.1 d6.sinaimg.cn
127.0.0.1 d7.sinaimg.cn
127.0.0.1 d8.sinaimg.cn
#QQ浏览器04.01
127.0.0.1 pgdt.gtimg.cn
127.0.0.1 report.url.cn
127.0.0.1 static.res.qq.com
#127.0.0.1 119.29.29.29
127.0.0.1 othstr.beacon.qq.com
#127.0.0.1 urlsec.qq.com
#127.0.0.1 res.imtt.qq.com
127.0.0.1 qbdsp.html5.qq.com
127.0.0.1 kde.qq.com
#OPPO22.04.01
127.0.0.1 epoch-cn.cdo.heytapmobi.com
#知乎
#127.0.0.1 zhihu-pics-upload.zhimg.com
#127.0.0.1 upload-oss.vzuu.com
#127.0.0.1 pic1.zhimg.com
#127.0.0.1 pic2.zhimg.com
#127.0.0.1 pic3.zhimg.com
#127.0.0.1 pic4.zhimg.com
#127.0.0.1 pic5.zhimg.com
#127.0.0.1 vdn.vzuu.com
#127.0.0.1 vdn1.vzuu.com
#127.0.0.1 vdn2.vzuu.com
#127.0.0.1 mqtt.zhihu.com
#127.0.0.1 mqtt-app.zhihu.com
#127.0.0.1 log1.cmpassport.com
#127.0.0.1 appcloud2.zhihu.com
#127.0.0.1 api.zhihu.com
#127.0.0.1 appcloud.zhihu.com
127.0.0.1 crash2.zhihu.com
#127.0.0.1 ipv6.shuzilm.cn
#pornhub 22.04.03
127.0.0.1 static.trafficjunky.com
127.0.0.1 media.trafficjunky.net
127.0.0.1 etahub.com
#127.0.0.1 www.pornhub.com
127.0.0.1 hubt.pornhub.com
127.0.0.1 evtubescms.phncdn.com
127.0.0.1 galaxymedia.xyz
#22.04.04
#127.0.0.1 certs.godaddy.com
#127.0.0.1 crl.godaddy.com
#127.0.0.1 certificates.godaddy.com
#127.0.0.1 ocsp.godaddy.com
#22.04.04
#127.0.0.1 u.jd.com
#127.0.0.1 3gimg.qq.com
#蓝奏云
127.0.0.1 statics.woozooo.com
127.0.0.1 analytics.woozooo.com
127.0.0.1 analytic.woozooo.com
127.0.0.1 crbug.com
127.0.0.1 wer.qdwght.com
127.0.0.1 hm.woozooo.com
#清明节22.04.05
127.0.0.1 advsdkreport-def.tt.cn
127.0.0.1 gdfp.gifshow.com
127.0.0.1 sdk-link.tt.cn
127.0.0.1 mp.cmllw.iego.net
#127.0.0.1 log-sdk.ksapisrv.com
#22.04.07
#127.0.0.1 cdn.ynuf.aliapp.org
127.0.0.1 9308935.com
#127.0.0.1 wappass.baidu.com
#22.4.14
127.0.0.1 tnc3-alisc1.snssdk.com
#22.04.18
#httpsdns
127.0.0.1 httpdns.alicdn.com
127.0.0.1 httpdns.n.netease.com
127.0.0.1 httpdns.netease.com
127.0.0.1 httpdns.qq.com
127.0.0.1 httpdns.qqcdn.com
#其他
127.0.0.1 tnc3-aliec2.snssdk.com
127.0.0.1 open.kwaizt.com
127.0.0.1 raddus.bayescom.com
#22.04.22MIUI安装包管理器
127.0.0.1 preview-api.installer.xiaomi.com
127.0.0.1 api.installer.xiaomi.com
#22.04.23
127.0.0.1 adash.man.aliyuncs.com
#127.0.0.1 sf3-cdn-tos.toutiaostatic.com
#127.0.0.1 dig.bdurl.net
#127.0.0.1 dig.zjurl.cn
#网页劫持
127.0.0.1 wtrwx.top
#22.04.24
#网页劫持
127.0.0.1 zuwnq.cn
127.0.0.1 pre-mpnewyear.uc.cn
127.0.0.1 xn--pan-eixe.xn--baidu-jm6h.com
127.0.0.1 n--pan-eixe.xn--baidu-jm6h.com
127.0.0.1 hm.baidu.com
127.0.0.1 unet.ucweb.com
#127.0.0.1 ucweb.com
127.0.0.1 download.uc.cn
#127.0.0.1 image.uc.cn
#127.0.0.1 g.alicdn.com
#色情直播
127.0.0.1 aibanka.cnibk.com
127.0.0.1 ccwq.cc
127.0.0.1 hflalffajhf.top
#其他
127.0.0.1 mydisplay.ctfile.com
#22.04.25
#百度云升级
127.0.0.1 update.baidu.com
#腾讯视频
#127.0.0.1 dldir1.qq.com
#127.0.0.1 pingmid.qq.com
#22.04.30
#127.0.0.1 wx2.sinaimg.cn
##22.05.02
#哔哩哔哩
#127.0.0.1 gxb.mmstat.com
127.0.0.1 g.cn.miaozhen.com
127.0.0.1 e.cn.miaozhen.com
#22.05.03
#哔哩哔哩
#127.0.0.1 mm1.365dmp.com
#127.0.0.1 mm3.365dmp.com
#127.0.0.1 mall.bilibili.com
#127.0.0.1 i2.hdslb.com
#127.0.0.1 i0.hdslb.com
#127.0.0.1 i1.hdslb.com
#127.0.0.1 dl.hdslb.com
#127.0.0.1 upos-sz-static.bilivideo.com
#127.0.0.1 upos-sz-mirrorcos.bilivideo.com
#127.0.0.1 upos-sz-mirrorhwo1.bilivideo.com
127.0.0.1 xyqh5.163.com
#22.05.06
#京东商城广告
127.0.0.1 cdn.appads.com
127.0.0.1 bdsp.x.jd.com
127.0.0.1 cm.jd.com
#127.0.0.1 gia.jd.com
127.0.0.1 u.x.jd.com
127.0.0.1 wn.x.jd.com
127.0.0.1 x.jd.com
#必应
127.0.0.1 telemetry.appex.bing.net
#金立手机广告
127.0.0.1 ads.gionee.com
127.0.0.1 pdl.gionee.com
127.0.0.1 adres.myaora.net
#联想手机广告
127.0.0.1 adcore.lenovomm.com
127.0.0.1 pushapi.lenovomm.com
127.0.0.1 susapi.lenovomm.com
127.0.0.1 adapi.lenovogame.com
127.0.0.1 lcs.dev.surepush.cn
127.0.0.1 susapi.dev.surepush.cn
127.0.0.1 test.surepush.cn
127.0.0.1 ad.gtbrowser.com
#魔趣广告
127.0.0.1 stats.mokeedev.com
#oppo广告
127.0.0.1 adsfs.oppomobile.com
127.0.0.1 adx.ads.oppomobile.com
127.0.0.1 bdapi.ads.oppomobile.com
127.0.0.1 data.ads.oppomobile.com
127.0.0.1 httpdns.push.oppomobile.com
127.0.0.1 sms.ads.oppomobile.com
#魅族广告
127.0.0.1 api-flow.flyme.cn
127.0.0.1 bro.flyme.cn
127.0.0.1 t-e.flyme.cn
127.0.0.1 t-flow.flyme.cn
#127.0.0.1 api-game.meizu.com
#127.0.0.1 game.res.meizu.com
#127.0.0.1 game-res.meizu.com
127.0.0.1 umid.orion.meizu.com
127.0.0.1 uxip.meizu.com
#127.0.0.1 api-push.meizu.com
127.0.0.1 push.res.meizu.com
#京东
127.0.0.1 adnewnc.app.autohome.com.cn
#apkpure
127.0.0.1 disqusads.com
#22.05.07
#小米应用商店
#主题壁纸
127.0.0.1 lite.a.market.xiaomi.com
127.0.0.1 site.e.mi.com
#豆瓣
127.0.0.1 erebor.douban.com
127.0.0.1 adsmind.ugdtimg.com
127.0.0.1 c2.gdt.qq.com
127.0.0.1 h5.gdt.qq.com
#腾讯
127.0.0.1 bricks.e.qq.com
127.0.0.1 test.bricks.e.qq.com
#127.0.0.1 aq.qq.com
127.0.0.1 oth.eve.mdt.qq.com
#微博
127.0.0.1 api.mapps.uve.weibo.com
127.0.0.1 down.apps.sina.cn
127.0.0.1 pkg.sinaimg.cn
##22.05.11
#禁漫天堂
127.0.0.1 www.googletagmanager.com
#22.05.12
#字节跳动
#127.0.0.1 lf3-cdn-tos.bytegoofy.com
#127.0.0.1 lf1-cdn-tos.bytescm.com
#22.05.13
#腾讯DNS
#127.0.0.1 dns.weixin.qq.com.cn
#MIUI 云控
#127.0.0.1 rom.pt.miui.srv
#127.0.0.1 jupiter.rus.sys.miui.com
#127.0.0.1 jupiter.intl.sys.miui.com
#127.0.0.1 jupiter.india.sys.miui.com
#127.0.0.1 jupiter.sys.miui.com
#127.0.0.1 preview-jupiter.sys.miui.com
#127.0.0.1 preview-jupiter.rus.sys.miui.com
#127.0.0.1 preview-jupiter.intl.sys.miui.com
#127.0.0.1 preview-jupiter.india.sys.miui.com
#127.0.0.1 staging.tracking.miui.com
127.0.0.1 staging.sdkconfig.ad.xiaomi.srv
#127.0.0.1 tracking.miui.com
#127.0.0.1 tracking.intl.miui.com
#127.0.0.1 tracking.rus.miui.com
#127.0.0.1 tracking.india.miui.com
127.0.0.1 sdkconfig.ad.xiaomi.com
127.0.0.1 sdkconfig.ad.intl.xiaomi.com
127.0.0.1 sdkconfig.ad.india.xiaomi.com
127.0.0.1 sdkconfig.ad.rus.xiaomi.com
#22.05.17
#云打包(老榕树联盟)
127.0.0.1 static.ydbimg.com
127.0.0.1 www.yundabao.com
#22.05.20
#番茄小说
127.0.0.1 tnc3-alisc1.zijieapi.com
#127.0.0.1 mon.toutiaocloud.com
#127.0.0.1 mon.toutiao.com
127.0.0.1 frontier-toutiao.snssdk.com
127.0.0.1 pitaya.bytedance.com
127.0.0.1 apps.bytesfield.com
#127.0.0.1 ad.oceanengine.com
127.0.0.1 www.chengzijianzhan.com
127.0.0.1 tnc3-aliec2.zijieapi.com
127.0.0.1 s3a.pstatp.com
127.0.0.1 ad.zijieapi.com
#127.0.0.1 i.snssdk.com
#127.0.0.1 ib.snssdk.com
127.0.0.1 open.snssdk.com
#127.0.0.1 p3-orange.byteorge.com
#127.0.0.1 mon.snssdk.com
#127.0.0.1 api.snssdk.com
#127.0.0.1 pangolin.snssdk.com
#127.0.0.1 success.ctobsnssdk.com
#127.0.0.1 crash.snssdk.com
#127.0.0.1 dig.zjurl.cn
#127.0.0.1 dig.bdurl.net
#127.0.0.1 minigame5-normal-lq.zijieapi.com
#127.0.0.1 minigame5-normal-hl.zijieapi.com
#微信DNS
127.0.0.1 dns.weixin.qq.com.cn
127.0.0.1 dns.weixin.qq.com
127.0.0.1 dns.weixin.qq.cn
#apps分享
127.0.0.1 amdcopen.m.taobao.com
#127.0.0.1 edu-image.nosdn.127.net
#22.05.21
127.0.0.1 vali-g1.cp31.ott.cibntv.net
127.0.0.1 valipl.cp31.ott.cibntv.net
127.0.0.1 www.qchannel01.cn
127.0.0.1 b.qchannel03.cn
127.0.0.1 zconfig.alibabausercontent.com
127.0.0.1 sgj1.zmj22.top
#22.05.24
#127.0.0.1 playlog.youku.com
127.0.0.1 ems.youku.com
#22.05.25
#番茄小说
127.0.0.1 security-lq.snssdk.com
127.0.0.1 security-hl.snssdk.com
#127.0.0.1 vcs-lq.snssdk.com
#127.0.0.1 vcs-hl.snssdk.com
#22.05.26
#https://rapidtai.com
127.0.0.1 v1cdn.snmovie.com
127.0.0.1 syzbh66.xyz
#微软搜索?为什么?
#127.0.0.1 f99.gdsoq.com
#22.05.27
127.0.0.1 dragate-cn.dc.heytapmobi.com
127.0.0.1 support.browser.heytapmobi.com
#22.06.01
#全媒体广告
127.0.0.1 yx.wucheshu.top
127.0.0.1 pyqqx.dcbxnc.cn
#22.06.03
127.0.0.1 adsrich.qq.com
#127.0.0.1 oimsgad.qq.com
#豆瓣
127.0.0.1 img1.360buyimg.com
#127.0.0.1 qnmob3.doubanio.com
#127.0.0.1 img9.doubanio.com
#127.0.0.1 img1.doubanio.com
#127.0.0.1 img3.doubanio.com
#127.0.0.1 erebor.douban.com
#22.06.04
#spotify
127.0.0.1 adeventtracker.spotify.com
#22.06.10
127.0.0.1 23986834.com
#MIUI浏览器
127.0.0.1 browser.sentry-cdn.com
127.0.0.1 security.browser.miui.com
127.0.0.1 httpdns.browser.miui.com
#127.0.0.1 activity.browser.intl.miui.com
#22.06.13
#UC浏览器
127.0.0.1 ahn.jiankang123.net
#127.0.0.1 dns.alidns.com
#127.0.0.1 vs3.gzct.u3.ucweb.com
127.0.0.1 ucdc-upaas.uc.cn
127.0.0.1 hcadv.video.ums.uc.cn
#127.0.0.1 pssn.alicdn.com
#127.0.0.1 gzct.u3.ucweb.com
#22.06.17
#穿山甲
127.0.0.1 sf6-fe-tos.pglstatp-toutiao.com
#22.06.18
#百度贴吧
#127.0.0.1 group.wejianzhan.com
127.0.0.1 static.yximgs.com
#127.0.0.1 duzhanread.cdn.bcebos.com
#127.0.0.1 opencdntbvideo.jomodns.com
#127.0.0.1 opencdnbaidutbpic.jomodns.com
#127.0.0.1 opencdnbdsimage.jomodns.com
#127.0.0.1 wjz.e.shifen.com
#127.0.0.1 bdbus-turbonet.baidu.com
#127.0.0.1 group.wejianzhan.com
#127.0.0.1 cd.xdplt.com
#酷安
#127.0.0.1 i1.hdslb.com
#127.0.0.1 hcdnw.bili.c.cdnhwc2.com
#微信
#127.0.0.1 socwxsns.video.qq.com
#127.0.0.1 vweixinthumb.tc.qq.com
#127.0.0.1 forwardtmp.weixin.qq.com
#127.0.0.1 forwardwx.weixin.qq.com
#127.0.0.1 res.wx.qq.com.sched.legopic1.tdnsv6.com
#魅族
127.0.0.1 uxip-res.meizu.com
#22.06.24
127.0.0.1 open.e.kuaishou.cn
127.0.0.1 multi-az-ad.kuaishou.cn
#22.06.28
#WPS
127.0.0.1 update.wps.cn
#百度网盘
127.0.0.1 update.pan.baidu.com
#华为更新
127.0.0.1 update.dbankcdn.com
#22.06.30
#网易云
127.0.0.1 d1.music.126.net
127.0.0.1 admusicpic.music.126.net
127.0.0.1 iadmusicpic.music.126.net
127.0.0.1 iadmusicmatvideo.music.126.net
127.0.0.1 admusicmatvideo.music.126.net
#127.0.0.1 interface.music.163.com
127.0.0.1 iadmusicmat.music.126.net
#小米应用商店
#127.0.0.1 api.ad.xiaomi.com
#127.0.0.1 www.api.ad.intl.xiaomi.com
#127.0.0.1 www.api.ad.xiaomi.com
#22.07.02
#OPPO
127.0.0.1 api.open.oppomobile.com
127.0.0.1 api.e.kuaishou.com
127.0.0.1 api2.e.kuaishou.com
127.0.0.1 open.e.kuaishou.com
127.0.0.1 ad.partner.gifshow.com
#22.07.27
127.0.0.1 ad-static-xg.tagtic.cn
#MIUI更新弹窗
127.0.0.1 api.developer.xiaomi.com
#22.08.18
#字节跳动
127.0.0.1 ads.zijieapi.com
127.0.0.1 ad.zijieapi.com
#22.08.27
127.0.0.1 pgdt.gtimg.cn
#127.0.0.1 tnc3-bjlgy.zijieapi.com
#22.08.30
#樱花动漫
127.0.0.1 jipinyouwu.com
127.0.0.1 stgowan.com
127.0.0.1 pc.stgowan.com
127.0.0.1 pc.jipinyouwu.com
#22.09.22
127.0.0.1 adse.ximalaya.com
127.0.0.1 xdcs-collectorhera.ximalaya.com
127.0.0.1 gslbali.ximalaya.com
127.0.0.1 mktsound.cos.tx.xmcdn.com
127.0.0.1 adcos.adxmly.com
127.0.0.1 appmarket.api.gsxnj.cn
#127.0.0.1 gsxnj.cn
#22.09.28
#番茄小说
127.0.0.1 tnc3-alisc1.bytedance.com
127.0.0.1 tnc3-alisc2.bytedance.com
127.0.0.1 tnc3-alisc1.zijieapi.com
127.0.0.1 tnc3-alisc2.zijieapi.com
127.0.0.1 tnc3-alisc1.snssdk.com
127.0.0.1 tnc3-alisc2.snssdk.com
127.0.0.1 tnc3-bjlgy.bytedance.com
127.0.0.1 tnc3-bjlgy.zijieapi.com
127.0.0.1 tnc3-bjlgy.snssdk.com
127.0.0.1 ad-monitor.sh9130.com
#22.09.29
#番茄小说
#来自酷安大佬
#已禁用,影响广告奖励
#127.0.0.1 vcs.zijieapi.com
#谷歌翻译 23.04.10
#禁用,因为目前来说貌似已经废了
#142.250.0.90 translate.googleapis.com
#142.250.10.90 translate.googleapis.com
#142.250.12.90 translate.googleapis.com
#142.250.9.90 translate.googleapis.com
#22.11.05
#coolapk
127.0.0.1 gromore.pangolin-sdk-toutiao.com
#22.11.20
#soul
127.0.0.1 soul-ad.soulapp.cn
127.0.0.1 ad.soulapp.cn
#22.11.23
#有道翻译官
127.0.0.1 ad-sdk-config.youdao.com
#127.0.0.1 openapi.youdao.com
#127.0.0.1 oimagea2.ydstatic.com
#23.01.24
#360安全网址
127.0.0.1 p.s.360.cn
127.0.0.1 qurl.f.360.cn
127.0.0.1 sconf.f.360.cn
#2023.05.10
#Hubcloud 联盟
127.0.0.1 api-ad-extra.kajicam.com
127.0.0.1 ad-extra.kajicam.com
127.0.0.1 api.htp.ad-scope.com.cn
127.0.0.1 ad-scope.com.cn
127.0.0.1 v.adx.hubcloud.com.cn
127.0.0.1 adx.hubcloud.com
127.0.0.1 adx.hubcloud.com.cn
127.0.0.1 sdktmp.hubcloud.com.cn
127.0.0.1 res.hubcloud.com.cn
127.0.0.1 res1.hubcloud.com.cn
127.0.0.1 res2.hubcloud.com.cn
127.0.0.1 res3.hubcloud.com.cn
127.0.0.1 res4.hubcloud.com.cn
127.0.0.1 res5.hubcloud.com.cn
127.0.0.1 res9.hubcloud.com.cn
#BeiZi 广告
127.0.0.1 api-htp.beizi.biz
127.0.0.1 sdk.beizi.biz
# coolapk
127.0.0.1 api-access.pangolin-sdk-toutiao1.com.queniuiq.com
127.0.0.1 api-access.pangolin-sdk-toutiao1.com
127.0.0.1 api-access.pangolin-sdk-toutiao1-b.com
127.0.0.1 pangolin-sdk-toutiao1.com
#127.0.0.1 mon.zijieapi.com
#127.0.0.1 api.csjplatform.com
#HUAWEI
127.0.0.1 lf6-sf-be-pack-sign.pglstatp-toutiao.com
127.0.0.1 direct.ad-core-lb-v3.lf.bytelb.net
127.0.0.1 adx-drcn.op.dbankcloud.cn
127.0.0.1 ads.weathercn.com
127.0.0.1 httpdns-browser.platform.dbankcloud.cn
127.0.0.1 ad-drcn.dt.dbankcloud.com
#2023.08.18
127.0.0.1 open.kwaizt.com
127.0.0.1 adsfile.bssdlbig.kugou.com
127.0.0.1 api-adservices.apple.com
127.0.0.1 adukwai.com
127.0.0.1 hw-ot-ad.a.yximgs.com
127.0.0.1 open.kuaishouzt.com
#蓝奏云
#23.09.17
127.0.0.1 analytic.woozooo.com
#小米ROM服务器下载加速
#23.09.19
123.6.13.6 bigota.d.miui.com
123.6.13.6 hugeota.d.miui.com
23.202.34.138 bigota.d.miui.com
23.202.34.138 hugeota.d.miui.com
183.136.207.132 bigota.d.miui.com
183.136.207.132 hugeota.d.miui.com
110.43.121.249 bigota.d.miui.com
110.43.121.249 hugeota.d.miui.com
110.43.121.13 bigota.d.miui.com
110.43.121.13 hugeota.d.miui.com
47.74.196.250 bigota.d.miui.com
47.74.196.250 hugeota.d.miui.com
#来自酷友
#不确定后续是否会误杀
#@coolapk [营销号666](http://www.coolapk.com/u/554004)
127.0.0.1 dsp-x.jd.com
127.0.0.1 dsp-x.jd.com.gslb.qianxun.com
#@coolapk [GreatYYH](http://www.coolapk.com/u/3241828)
127.0.0.1 api-cn.store.heytapmobi.com
#2023.12.10
#QQ音乐开屏广告
127.0.0.1 adsmind.gdtimg.com
#127.0.0.1 pgdt.gtimg.cn
127.0.0.1 tmeadcomm.y.qq.com
127.0.0.1 tmead.y.qq.com
#中国联通营业厅
127.0.0.1 m1.ad.10010.com
127.0.0.1 m3.ad.10010.com
127.0.0.1 smartad.10010.com
#车来了
127.0.0.1 api.hzsanjiaomao.com
127.0.0.1 adx.sogaha.cn
#华为浏览器安全拦截
127.0.0.1 dnkeeper.platform.dbankcloud.cn
127.0.0.1 browsercfg-drcn.cloud.dbankcloud.cn
127.0.0.1 grs.dbankcloud.cn
127.0.0.1 metrics1-drcn.dt.dbankcloud.cn
127.0.0.1 dnkeeper.platform.dbankcloud.eu
127.0.0.1 browsercfg-drcn.cloud.dbankcloud.eu
127.0.0.1 grs.dbankcloud.eu
127.0.0.1 metrics1-drcn.dt.dbankcloud.eu
#蓝奏云
#127.0.0.1 kl.67it.com
#蓝奏云
127.0.0.1 kl.67it.com
127.0.0.1 statics.woozooo.com
127.0.0.1 analytics.woozooo.com
127.0.0.1 analytic.woozooo.com
127.0.0.1 crbug.com
127.0.0.1 wer.qdwght.com
127.0.0.1 hm.woozooo.com
127.0.0.1 sanme2.taisantech.com
127.0.0.1 glores2.taisantech.com
#123pan
127.0.0.1 ssp.1rtb.com
127.0.0.1 sdk.1rtb.net
127.0.0.1 zlsdk.1rtb.net
127.0.0.1 e-zlsdk.1rtb.net
127.0.0.1 mssdk.volces.com
127.0.0.1 sdk.mobads.adwangmai.com
127.0.0.1 mobads.adwangmai.com
#豆瓣
#2024.04.13
127.0.0.1 statics.adanxing.com
#cloudflare.com
#162.159.250.215 engage.cloudflareclient.com
#162.159.253.214 engage.cloudflareclient.com
#172.64.166.111 engage.cloudflareclient.com
#162.159.253.214 dash.cloudflare.com
#162.159.253.214 dash.cloudflare.com
#172.64.166.111 dash.cloudflare.com
#omofun
127.0.0.1 sdk.markmedia.com.cn
127.0.0.1 sdk.markmedia.com
127.0.0.1 tdsdk.cpatrk.net
127.0.0.1 e-zlsdk.1rtb.net
127.0.0.1 cloud.cpatrk.net
127.0.0.1 bjimp.voiceads.cn
127.0.0.1 ai.voiceads.cn
127.0.0.1 dc.sigmob.cn
#toponad
127.0.0.1 toponad.com
127.0.0.1 aa.toponad.com
127.0.0.1 app.toponad.com
127.0.0.1 dd.toponad.com
127.0.0.1 img.toponad.com
127.0.0.1 tt.toponad.com
127.0.0.1 mores.toponad.com
127.0.0.1 pkg.toponad.com
127.0.0.1 s1.pkg.toponad.com
127.0.0.1 s3.pkg.toponad.com
127.0.0.1 s5.pkg.toponad.com
127.0.0.1 s1.mores.toponad.com
127.0.0.1 s3.mores.toponad.com
127.0.0.1 s5.mores.toponad.com
#anythinktech.com
127.0.0.1 adx-os.anythinktech.com
127.0.0.1 adx.anythinktech.com
127.0.0.1 adxtk.anythinktech.com
127.0.0.1 adx-bj-req.anythinktech.com
127.0.0.1 adx-bj.anythinktech.com
127.0.0.1 api.anythinktech.com
127.0.0.1 da.anythinktech.com
127.0.0.1 datk.anythinktech.com
127.0.0.1 tk-sg.anythinktech.com
127.0.0.1 tk.anythinktech.com
127.0.0.1 cn-da.anythinktech.com
127.0.0.1 cn-api.anythinktech.com
127.0.0.1 tk-da.anythinktech.com
127.0.0.1 tk-api.anythinktech.com
#24.07.29
127.0.0.1 ad.partner.gifshow.com
127.0.0.1 mobads-pre-config.cdn.bcebos.com
127.0.0.1 ad-display.diwodiwo.xyz
127.0.0.1 ad-channel.diwodiwo.xyz
127.0.0.1 p1-jx.adukwai.com
127.0.0.1 p1-lm.adukwai.com
127.0.0.1 p2-jx.adukwai.com
127.0.0.1 p2-lm.adukwai.com
127.0.0.1 v1-lm.adukwai.com
127.0.0.1 v2-lm.adukwai.com
127.0.0.1 v4-lm.adukwai.com

28
configure/魅族.conf Normal file
View File

@ -0,0 +1,28 @@
127.0.0.1 api-flow.flyme.cn
127.0.0.1 bro.flyme.cn
127.0.0.1 es-res.flyme.cn
127.0.0.1 madx.flyme.cn
127.0.0.1 ssp-res.flyme.cn
127.0.0.1 t-e.flyme.cn
127.0.0.1 t-flow.flyme.cn
127.0.0.1 aider-res.meizu.com
127.0.0.1 api-flow.meizu.com
127.0.0.1 api-push.meizu.com
127.0.0.1 cal.meizu.com
127.0.0.1 ebook-res.meizu.com
127.0.0.1 ebook.res.meizu.com
127.0.0.1 game-res.meizu.com
127.0.0.1 game.res.meizu.com
127.0.0.1 infocenter.meizu.com
127.0.0.1 open-iflow.meizu.com
127.0.0.1 openapi-news.meizu.com
127.0.0.1 push.res.meizu.com
127.0.0.1 reader.meizu.com
127.0.0.1 reader.res.meizu.com
127.0.0.1 safe.res.meizu.com
127.0.0.1 tongji-res1.meizu.com
127.0.0.1 tongji.meizu.com
127.0.0.1 umid.orion.meizu.com
127.0.0.1 upush.res.meizu.com
127.0.0.1 uxip.meizu.com
127.0.0.1 mz-api.smzdm.com

28031
reward Normal file

File diff suppressed because it is too large Load Diff

187
update_README.sh Normal file
View File

@ -0,0 +1,187 @@
#!/bin/bash
function update_readme_Feature(){
if test -f `pwd`/README.md ;then
test -f `pwd`/reward && count_reward="$(cat `pwd`/reward 2>/dev/null | sed '/^#/d;/^[[:space:]]*$/d' | wc -l)" || count_reward="未知"
test -f `pwd`/all && count_all="$(cat `pwd`/all 2>/dev/null | sed '/^#/d;/^[[:space:]]*$/d' | wc -l)" || count_all="未知"
cat << key > `pwd`/README.md
## 去广告订阅自动更新
## [English](./README_en.md)
## 统计
\`\`\`
完整版累积拦截域名: ${count_all}
保留广告奖励累积拦截域名: ${count_reward}
\`\`\`
## 访问量 : ![visitors](https://visitor-badge.glitch.me/badge?page_id=lingeringsound.10007_auto&left_color=green&right_color=red)
## Feature 分支
### 将`127.0.0.1`替换成adguard的`94.140.14.33`,企图规避一些问题,例如反复请求引起的耗电。
## Adaway
### 请在Adaway中选择**重定向(Apply redirected hosts)**
## 订阅
| **名称** | **链接** | **镜像链接** | **Github订阅加速链接** |
| :-- | :-- | :-- | :-- |
| **完整版** | [订阅链接](https://raw.githubusercontent.com/lingeringsound/10007_auto/Feature/all) | [Gitcode镜像](https://gitcode.net/weixin_45617236/10007_auto/-/raw/Feature/all) | [加速链接](https://raw.gitmirror.com/lingeringsound/10007_auto/Feature/all) |
| **保留广告奖励** | [订阅链接](https://raw.githubusercontent.com/lingeringsound/10007_auto/Feature/reward) | [Gitcode镜像](https://gitcode.net/weixin_45617236/10007_auto/-/raw/Feature/reward) | [加速链接](https://raw.gitmirror.com/lingeringsound/10007_auto/Feature/reward) |
## **[捐赠地址](https://github.com/lingeringsound/10007)**
key
cat << key > `pwd`/README_en.md
## REmove Ads Host
## [中文](./README.md)
## count
\`\`\`
all: ${count_all}
reward: ${count_reward}
\`\`\`
| **name** | **links** |
| :-- | :-- |
| **all** | [Subscription link](https://raw.githubusercontent.com/lingeringsound/10007_auto/Feature/all) |
| **reward** | [Subscription link](https://raw.githubusercontent.com/lingeringsound/10007_auto/Feature/reward) |
## **[Donate](https://github.com/lingeringsound/10007)**
key
fi
}
function update_readme_master(){
if test -f `pwd`/README.md ;then
test -f `pwd`/reward && count_reward="$(cat `pwd`/reward 2>/dev/null | sed '/^#/d;/^[[:space:]]*$/d' | wc -l)" || count_reward="未知"
test -f `pwd`/all && count_all="$(cat `pwd`/all 2>/dev/null | sed '/^#/d;/^[[:space:]]*$/d' | wc -l)" || count_all="未知"
cat << key > `pwd`/README.md
## 去广告订阅自动更新
## [English](./README_en.md)
## 统计 (`date +'%F %T'`)
\`\`\`
完整版累积拦截域名: ${count_all}
保留广告奖励累积拦截域名: ${count_reward}
\`\`\`
## 订阅
### 国内请用 **镜像链接**
| **名称** | **链接** | **镜像链接** |
| :-- | :-- | :-- |
| **完整版** | [订阅链接](https://raw.githubusercontent.com/lingeringsound/10007_auto/master/all) | [Gitcode镜像](https://gitcode.net/weixin_45617236/10007_auto/-/raw/master/all) |
| **保留广告奖励** | [订阅链接](https://raw.githubusercontent.com/lingeringsound/10007_auto/master/reward) | [Gitcode镜像](https://gitcode.net/weixin_45617236/10007_auto/-/raw/master/reward) |
| **Adblock规则** | [订阅链接](https://raw.githubusercontent.com/lingeringsound/10007_auto/master/adb.txt) | [Gitcode镜像](https://gitcode.net/weixin_45617236/10007_auto/-/raw/master/adb.txt) |
## **[捐赠地址](https://github.com/lingeringsound/10007)**
key
cat << key > `pwd`/README_en.md
## REmove Ads Host
## [中文](./README.md)
## count
\`\`\`
all: ${count_all}
reward: ${count_reward}
\`\`\`
| **name** | **links** |
| :-- | :-- |
| **all** | [Subscription link](https://raw.githubusercontent.com/lingeringsound/10007_auto/master/all) |
| **reward** | [Subscription link](https://raw.githubusercontent.com/lingeringsound/10007_auto/master/reward) |
| **Adblock** | [Subscription link](https://raw.githubusercontent.com/lingeringsound/10007_auto/master/adb.txt) |
## **[Donate](https://github.com/lingeringsound/10007)**
key
fi
}
function update_readme_developer(){
if test -f `pwd`/README.md ;then
test -f `pwd`/reward && count_reward="$(cat `pwd`/reward 2>/dev/null | sed '/^#/d;/^[[:space:]]*$/d' | wc -l)" || count_reward="未知"
test -f `pwd`/all && count_all="$(cat `pwd`/all 2>/dev/null | sed '/^#/d;/^[[:space:]]*$/d' | wc -l)" || count_all="未知"
cat << key > `pwd`/README.md
## 去广告订阅自动更新
## [English](./README_en.md)
## 统计
\`\`\`
完整版累积拦截域名: $count_all
保留广告奖励累积拦截域名: $count_reward
\`\`\`
| **名称** | **链接** | **镜像链接** |
| :-- | :-- | :-- |
| **完整版** | [订阅链接](https://raw.githubusercontent.com/lingeringsound/10007_auto/developer/all) | [Gitcode镜像](https://gitcode.net/weixin_45617236/10007_auto/-/raw/developer/all) |
| **保留广告奖励** | [订阅链接](https://raw.githubusercontent.com/lingeringsound/10007_auto/developer/reward) | [Gitcode镜像](https://gitcode.net/weixin_45617236/10007_auto/-/raw/developer/all) |
| **Adblock规则** | [订阅链接](https://raw.githubusercontent.com/lingeringsound/10007_auto/developer/adb.txt) | [Gitcode镜像](https://gitcode.net/weixin_45617236/10007_auto/-/raw/developer/adb.txt) |
## **[捐赠地址](https://github.com/lingeringsound/10007)**
key
cat << key > `pwd`/README_en.md
## REmove Ads Host
## [中文](./README.md)
## count
\`\`\`
all: ${count_all}
reward: ${count_reward}
\`\`\`
| **name** | **links** |
| :-- | :-- |
| **all** | [Subscription link](https://raw.githubusercontent.com/lingeringsound/10007_auto/developer/all) |
| **reward** | [Subscription link](https://raw.githubusercontent.com/lingeringsound/10007_auto/developer/reward) |
| **Adblock** | [Subscription link](https://raw.githubusercontent.com/lingeringsound/10007_auto/developer/adb.txt) |
## **[Donate](https://github.com/lingeringsound/10007)**
key
fi
}
function echo_thank(){
cat << "key" >> `pwd`/README.md
## 引用和致谢
| **Hosts引用链接** | 感谢各位大佬 |
| :-- | :-- |
| [大圣净化](https://github.com/jdlingyu/ad-wars) | ❤感谢!❤ |
| [yhost](https://github.com/VeleSila/yhosts) | ❤感谢!❤ |
| [Steven Black](https://github.com/StevenBlack/hosts) | ❤感谢!❤ |
| [oisd](https://oisd.nl/howto) | ❤感谢!❤ |
| [1024](https://github.com/Goooler/1024_hosts) | ❤感谢!❤ |
| [adhost](https://github.com/E7KMbb/AD-hosts) | ❤感谢!❤ |
key
cat << "key" >> `pwd`/README_en.md
## 引用和致谢
| **Hosts引用链接** | 感谢各位大佬 |
| :-- | :-- |
| [大圣净化](https://github.com/jdlingyu/ad-wars) | ❤感谢!❤ |
| [yhost](https://github.com/VeleSila/yhosts) | ❤感谢!❤ |
| [Steven Black](https://github.com/StevenBlack/hosts) | ❤感谢!❤ |
| [oisd](https://oisd.nl/howto) | ❤感谢!❤ |
| [1024](https://github.com/Goooler/1024_hosts) | ❤感谢!❤ |
| [adhost](https://github.com/E7KMbb/AD-hosts) | ❤感谢!❤ |
key
}
#update_readme_master
update_readme_Feature
#update_readme_developer
echo_thank

620
update_action.sh Normal file
View File

@ -0,0 +1,620 @@
#!/bin/bash
function setup_environment(){
mkdir -p `pwd`/result
mkdir -p `pwd`/configure
dos2unix `pwd`/* >/dev/null 2>&1
dos2unix `pwd`/*/* >/dev/null 2>&1
}
function Do_detect_hosts(){
local file="`pwd`/result/test.conf"
test -f "${file}" && rm -rf "${file}"
#预测广告厂商重复的hosts
local number1=0
local number2=31
for i in $(seq $number1 $number2)
do
#127.0.0.1 img$i.360buyimg.com
#127.0.0.1 lf$i-short.bytegoofy.com
#127.0.0.1 polaris$i-normal-hl.zijieapi.com
#127.0.0.1 polaris$i-normal-lq.zijieapi.com
#127.0.0.1 lf$i-cdn-tos.bytescm.com
#127.0.0.1 gecko$i-hl.zijieapi.com
#127.0.0.1 gecko$i-lq.zijieapi.com
#127.0.0.1 v$i-default.ixigua.com
#127.0.0.1 log$i-applog-hl.fqnovel.com
#127.0.0.1 gecko$i-hl.zijieapi.com
#127.0.0.1 gecko$i-lq.zijieapi.com
#127.0.0.1 polaris$i-normal-hl.zijieapi.com
#127.0.0.1 polaris$i-normal-lq.zijieapi.com
#127.0.0.1 api$i-normal-lq.fqnovel.com
#127.0.0.1 api$i-normal-hl.fqnovel.com
#127.0.0.1 mon$i-misc-lf.fqnovel.com
#127.0.0.1 lf$i-common-ckv-tos.pstatp.com
#127.0.0.1 valipl.cp$i.ott.cibntv.net
#127.0.0.1 vali-g1.cp$i.ott.cibntv.net
#127.0.0.1 v$i-novelapp.ixigua.com
#127.0.0.1 lf$i-common-ckv-tos.pstatp.com
#127.0.0.1 tnc3-alisc1.bytedance.com
#127.0.0.1 tnc3-bjlgy.bytedance.com
echo "
127.0.0.1 p$i-ad-sign.byteimg.com
127.0.0.1 vs$i.bj2cm.u3.ucweb.com
127.0.0.1 vs$i.bj2cu.u3.ucweb.com
127.0.0.1 vs$i.bj2ct.u3.ucweb.com
127.0.0.1 vs${i}.bj2.u3.ucweb.com
127.0.0.1 vs$i.gzct.u3.ucweb.com
127.0.0.1 vs$i.gzcu.u3.ucweb.com
127.0.0.1 vs$i.gzcm.u3.ucweb.com
127.0.0.1 ${i}gtest.bj2cu.u3.ucweb.com
127.0.0.1 ads$i-normal-lq.zijieapi.com
127.0.0.1 ads$i-normal-lf.zijieapi.com
127.0.0.1 ads$i-normal-hl.zijieapi.com
127.0.0.1 ads$i-normal.zijieapi.com
127.0.0.1 p$i-orange.byteorge.com
127.0.0.1 lf$i-common-ckv-tos.pstatp.com
127.0.0.1 v$i-ad.ixigua.com
127.0.0.1 api-access.pangolin-sdk-toutiao${i}.com
127.0.0.1 api-access.pangolin-sdk-toutiao${i}-b.com
127.0.0.1 xn--pan-ei"$i"e.xn--baidu-jm6h.com
" >> "${file}"
done
#蓝奏云拦截域名
for i in s d z ;do
cat <<key >> "${file}"
127.0.0.1 lanzou$i.com
127.0.0.1 cbzhk.lanzou$i.com
127.0.0.1 wwa.lanzou$i.com
127.0.0.1 wws.lanzou$i.com
127.0.0.1 www.lanzou$i.com
127.0.0.1 wwe.lanzou$i.com
key
done
}
function wipe_value() {
local file="${1}"
#去除特殊符号
echo -e "\n去除特殊符号……"
sed -i '/^#/d;/^[[:space:]]*$/d' "${file}"
sed -i '/\[/d;/^[[:space:]]*$/d' "${file}"
sed -i '/\]/d;/^[[:space:]]*$/d' "${file}"
sed -i '/<.*>/d;/^[[:space:]]*$/d' "${file}"
sed -i '/^@/d;/^[[:space:]]*$/d' "${file}"
sed -i 's|[[:space:]]$||g' "${file}"
#去除特殊的0.0.0.0符号
echo -e "\n去除特殊0.0.0.0符号……"
sed -i 's|^0.0.0.0[[:space:]]|127.0.0.1 |g' "${file}"
sed -i 's|^0.0.0.0 |127.0.0.1 |g' "${file}"
sed -i 's|^0.0.0.0[[:space:]][[:space:]]|127.0.0.1 |g' "${file}"
sed -i 's|^0.0.0.0[[:space:]][[:space:]][[:space:]]|127.0.0.1 |g' "${file}"
sed -i 's|^0.0.0.0[[:space:]][[:space:]][[:space:]][[:space:]]|127.0.0.1 |g' "${file}"
#去除特殊的127.0.0.1符号
echo -e "\n去除特殊127.0.0.1符号……"
sed -i 's|^127.0.0.1 |127.0.0.1 |g' "${file}"
sed -i '/^127.0.0.1[[:space:]]#/d;/^[[:space:]]*$/d' "${file}"
sed -i 's|^127.0.0.1[[:space:]][[:space:]]|127.0.0.1 |g' "${file}"
sed -i 's|^127.0.0.1[[:space:]][[:space:]][[:space:]]|127.0.0.1 |g' "${file}"
sed -i 's|^127.0.0.1[[:space:]][[:space:]][[:space:]][[:space:]]|127.0.0.1 |g' "${file}"
sed -i 's|^127.0.0.1 |127.0.0.1 |g' "${file}"
#去除"::"回环
echo -e "\n去除回环符号……"
sed -i 's|^::[[:space:]]|127.0.0.1 |g' "${file}"
sed -i 's|^::[[:space:]][[:space:]]|127.0.0.1 |g' "${file}"
}
#Host去重
function mk_new_file() {
local file=$1
local new=$( cat "${file}" | sort | uniq | sed '/^[[:space:]]*$/d' )
echo -e "$new" > "${file}"
}
#下载新的hosts
function download_hosts() {
local file="${1}"
local IFS=$'\n'
local tmp_DIR="`pwd`/tmp_hosts"
mkdir -p "${tmp_DIR}"
#adhost 禁用 2022.11.20
#https://raw.githubusercontent.com/E7KMbb/AD-hosts/master/system/etc/hosts|AdHost
#oisd 失效2024.01.15
#https://hosts.oisd.nl/basic|oisd
#StevenBlack 去除订阅porn拦截
#https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts|StevenBlack
#StevenBlack 去除媒体订阅
#https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social/hosts
local hosts_list='
https://hblock.molinero.dev/hosts|hblock
https://raw.githubusercontent.com/Goooler/1024_hosts/master/hosts|1024
https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts|StevenBlack
https://raw.githubusercontent.com/VeleSila/yhosts/master/hosts|yhost
https://raw.githubusercontent.com/jdlingyu/ad-wars/master/hosts|大圣净化
https://hosts.oisd.nl/basic|oisd
https://neodev.team/lite_host|neodev
'
echo -e "\n※下载hosts中……"
for i in ${hosts_list}
do
HostURL="$(echo "${i}" | cut -d'|' -f1)"
Hostname="$(echo "${i}" | cut -d'|' -f2)"
curl -k -L -o "${tmp_DIR}/$Hostname" "${HostURL}" >/dev/null 2>&1 && echo -e "※[ ${Hostname} ] 下载成功!" || echo -e "[ ${Hostname} ]下载失败!"
hosts_original="$(cat ${tmp_DIR}/$Hostname 2>/dev/null )"
echo -e "${hosts_original}" >> "${file}"
done
test ! -f "${file}" && echo -e "${file} 不存在!!" && exit 1
}
function grep_value_file() {
local value="${2}"
local file="${3}"
local word="${1}"
case $word in
1)
word='-iw'
;;
E)
word='-iE'
;;
*)
word='-i'
;;
esac
local targetdir="`pwd`/result"
if test -e "${file}" ;then
mkdir -p "${targetdir}"
hosts_value="$( cat ${file} 2>/dev/null | grep $word ${value} ${file} | sed '/^#/d;/^[[:space:]]*$/d' )"
echo -e "${hosts_value}" > "${targetdir}/${value}.conf" && echo -e "已经输出[ ${value} ]"
fi
}
function wipe_logcat() {
local file="$1"
local list="
errlogos
errlog
errlogs
eventlog
extlog
xlog
xlogs
logs
log
alog
alogs
ulog
ulogs
toblog
tobapplog
"
local IFS=$'\n'
if test -f "$file" ;then
for i in $list
do
echo -e "$(grep -wvi "$i" "$file")" > "$file"
done
fi
}
function exclude_value() {
local conf="${1}"
local target="${2}"
if test -e $conf ;then
echo -e "[$(date +%y-%m-%d-%T)] ※执行排除文件["${conf}"]下的规则……※\n"
for i in $(cat "${conf}" 2>/dev/null | sed '/^#.*/d;/^[[:space:]]*$/d' )
do
sed -i "/$i/d" "${target}"
done && echo -e "[$(date +%y-%m-%d-%T)] ※已排除[${conf}]文件中的规则※\n"
fi
}
function add_custo() {
local conf_file="${1}"
local target="${2}"
if test -e "${conf_file}" ;then
cp -rf "${conf_file}" "${target}/${conf_file##*/}.conf" && echo -e "[$(date +%y-%m-%d-%T)] ※复制["${conf_file}"]※\n" || echo -e "[$(date +%y-%m-%d-%T)] ※复制["${conf_file}"]失败!※\n"
fi
}
function combine_file() {
local target_dir="${1}"
local output="${2}"
test -e "${output}" && rm -rf "${output}"
if test -e "${target_dir}" ;then
echo -e "[$(date +%y-%m-%d-%T)] ※合并规则中……※\n"
for i in ${target_dir}/*.conf ;do
echo -e "$(cat $i 2>/dev/null )" >>"${output}"
done && echo -e "[$(date +%y-%m-%d-%T)] ※完成合并规则!※\n" || echo -e "[$(date +%y-%m-%d-%T)] ※合并失败!※\n"
if test -e "${output}" ;then
echo -e "[$(date +%y-%m-%d-%T)] ※筛选重复项中……※\n"
cat <<key > "${output}" && echo -e "[$(date +%y-%m-%d-%T)] ※筛选重复项完成!※\n" || echo -e "[$(date +%y-%m-%d-%T)] ※筛选失败!※\n"
$(cat "${output}" | sort | uniq | sed '/^#.*/d;/^[[:space:]]*$/d' )
key
wipe_logcat "${output}"
fi
fi
}
function modtifly() {
local targetfile="${1}"
sed -i '/\#/d' "${targetfile}"
sed -i '/\]/d' "${targetfile}"
sed -i '/\[/d' "${targetfile}"
sed -i '/(/d' "${targetfile}"
sed -i '/)/d' "${targetfile}"
}
function remove_ad() {
local file="$1"
local target="$2"
local local_host_file="$3"
test -f "${target}" && rm -rf "${target}"
cat "${file}" 2>/dev/null | sed '/^#/d;/^[[:space:]]*$/d' | while read host ;do
echo -e "127.0.0.1 $host" >> "$target"
done
cat <<key >> $local_host_file
#广告奖励
$(cat "$target" 2>/dev/null )
#END
key
}
function transfer_localhosts_to_adguard(){
if test -f "${1}" ;then
sed -i "s|^127.0.0.1|94.140.14.33|g" "${1}" && echo -e "[$(date +%y-%m-%d-%T)] ※已将127.0.0.1替换成94.140.14.33\n"
fi
}
#写入信息
function write_head() {
local target_file="${1}"
local total_count="$(cat ${target_file} 2>/dev/null | sed '/^#/d;/^[[:space:]]*$/d' | wc -l )"
sed -i "1i #@coolapk 1007" "${target_file}"
sed -i "2i #有问题可以在文件里搜索关键词" "${target_file}"
sed -i "3i #例如\"toutiao(头条)\"\"MIUI xiaomi (小米)\"\"reward(奖励)\"" "${target_file}"
sed -i "4i #在相应行的开头加个\"\#\"号" "${target_file}"
sed -i "5i #更新时间: $(date '+%F %T') " "${target_file}"
sed -i "6i 127.0.0.1 localhost" "${target_file}"
sed -i "7i ::1 localhost" "${target_file}"
sed -i "8i ::1 ip6-loopback" "${target_file}"
sed -i "9i ::1 ip6-localhost" "${target_file}"
sed -i "10i #规则数量:${total_count}" "${target_file}"
sed -i '11i ##################\n' "${target_file}"
}
function write_ad_block_reward_rules(){
file="${1}"
cat << key >> "$file"
$(cat "`pwd`/configure/add.prop")
key
}
function adblock() {
echo -e "[$(date +%y-%m-%d-%T)] ※制作Adblock规则……※\n"
local old_file="${1}"
local file="${old_file%/*}/adb.txt"
echo "$(cat $old_file )" > "${file}"
if test -f "$file" ;then
sed -i "s|^#|!|g" "$file"
sed -i "/^::1/d;/translate.google.com/d;/translate.googleapis.com/d;/hugeota.d.miui.com/d;/bigota.d.miui.com/d" "$file"
sed -i "s/127.0.0.1[[:space:]]localhost//g" "$file"
sed -i "s/127.0.0.1 /||/g;s|$|^|g" "$file"
sed -i "s/^\^//g" "$file"
sed -i "1i [Host 10007]" "$file"
sed -i "1i [Adblock Plus 2.0]" "$file"
sed -i "2i ! Title: Host 10007" "$file"
sed -i "3i ! Homepage: https://github.com/lingeringsound/10007_auto " "$file"
sed -i "3i ! ZH_Homepage: https://www.gitlink.org.cn/keytoolazy/10007_auto " "$file"
sed -i "4i ! Last modified: `date +'%F %T'`" "$file"
write_ad_block_reward_rules "${file}"
fi
}
function mktouch_host() {
add_custo `pwd`/configure/自定义.prop `pwd`/result
add_custo `pwd`/configure/魅族.conf `pwd`/result
combine_file `pwd`/result `pwd`/all
exclude_value `pwd`/configure/排除列表.prop `pwd`/all
exclude_value `pwd`/configure/保留奖励.prop `pwd`/all
modtifly `pwd`/all
remove_ad `pwd`/configure/广告奖励.prop `pwd`/result/广告奖励.conf `pwd`/all
transfer_localhosts_to_adguard `pwd`/all
write_head `pwd`/all
}
function mktouch_no_host() {
add_custo `pwd`/configure/自定义.prop `pwd`/result
add_custo `pwd`/configure/魅族.conf `pwd`/result
combine_file `pwd`/result `pwd`/reward
exclude_value `pwd`/configure/排除列表.prop `pwd`/reward
exclude_value `pwd`/configure/保留奖励.prop `pwd`/reward
modtifly `pwd`/reward
transfer_localhosts_to_adguard `pwd`/reward
write_head `pwd`/reward
}
function RUnning_SETUPS_environment(){
setup_environment
setup_environment
download_hosts `pwd`/host
mk_new_file `pwd`/host
wipe_value `pwd`/host
setup_environment
}
function RUnning_grep_values_conf(){
local hosts_file=`pwd`/host
grep_value_file '1' '1688' "${hosts_file}"
grep_value_file '1' '2345' "${hosts_file}"
grep_value_file '1' '360' "${hosts_file}"
grep_value_file '1' '360safe' "${hosts_file}"
grep_value_file '1' '365' "${hosts_file}"
grep_value_file '1' 'JUNKY' "${hosts_file}"
grep_value_file '1' 'TRAFFIC' "${hosts_file}"
grep_value_file '1' 'TRAFFIC.*JUNKY' "${hosts_file}"
grep_value_file '1' '[[:alpha:]]ad' "${hosts_file}"
grep_value_file 'E' '[[:alpha:]]?ads' "${hosts_file}"
grep_value_file '1' '[[:alpha:]]cdn' "${hosts_file}"
grep_value_file 'E' '[[:alpha:]]+sdk' "${hosts_file}"
grep_value_file '1' '[[:digit:]]ad' "${hosts_file}"
grep_value_file 'E' '[[:digit:]]?ads' "${hosts_file}"
grep_value_file '1' 'ad' "${hosts_file}"
grep_value_file '1' 'ad.*cdn' "${hosts_file}"
grep_value_file '1' 'ad.*service' "${hosts_file}"
grep_value_file '1' 'ad.*services' "${hosts_file}"
grep_value_file '1' 'ad[[:alpha:]]' "${hosts_file}"
grep_value_file 'E' 'ad[[:alpha:]]?[[:digit:]]' "${hosts_file}"
grep_value_file '1' 'ad[[:digit:]]' "${hosts_file}"
grep_value_file '1' 'adapi' "${hosts_file}"
grep_value_file '1' 'adbana' "${hosts_file}"
grep_value_file '1' 'adimg' "${hosts_file}"
grep_value_file '1' 'adjust' "${hosts_file}"
grep_value_file '1' 'adkwai' "${hosts_file}"
grep_value_file '1' 'admaster' "${hosts_file}"
grep_value_file '1' 'adnxs' "${hosts_file}"
grep_value_file '1' 'adobe' "${hosts_file}"
grep_value_file '1' 'adpush' "${hosts_file}"
grep_value_file '1' 'ads' "${hosts_file}"
grep_value_file '1' 'ads.*cdn' "${hosts_file}"
grep_value_file 'E' 'ads[[:alpha:]]?[[:digit:]]+' "${hosts_file}"
grep_value_file '1' 'ads[[:digit:]]' "${hosts_file}"
grep_value_file '1' 'adsage' "${hosts_file}"
grep_value_file '1' 'adsame' "${hosts_file}"
grep_value_file '1' 'adsapi' "${hosts_file}"
grep_value_file '1' 'adsdk' "${hosts_file}"
grep_value_file '1' 'adsensor' "${hosts_file}"
grep_value_file '1' 'adsmind' "${hosts_file}"
grep_value_file '1' 'adtrack' "${hosts_file}"
grep_value_file '1' 'advertise' "${hosts_file}"
grep_value_file '1' 'advertisement' "${hosts_file}"
grep_value_file '1' 'advertising' "${hosts_file}"
grep_value_file '1' 'adview' "${hosts_file}"
grep_value_file '1' 'adwo' "${hosts_file}"
grep_value_file '1' 'agrantsem' "${hosts_file}"
grep_value_file '1' 'alicdn' "${hosts_file}"
grep_value_file '1' 'alimama' "${hosts_file}"
grep_value_file '1' 'analytics' "${hosts_file}"
grep_value_file '1' 'api' "${hosts_file}"
grep_value_file '1' 'appad' "${hosts_file}"
grep_value_file '1' 'appads' "${hosts_file}"
grep_value_file '1' 'atianqi' "${hosts_file}"
grep_value_file '1' 'baichuan' "${hosts_file}"
grep_value_file '1' 'baidu' "${hosts_file}"
grep_value_file '1' 'banner' "${hosts_file}"
grep_value_file '1' 'bcebos' "${hosts_file}"
grep_value_file '1' 'bdimg' "${hosts_file}"
grep_value_file '1' 'bdstatic' "${hosts_file}"
grep_value_file '1' 'browser' "${hosts_file}"
grep_value_file '1' 'bugly' "${hosts_file}"
grep_value_file '1' 'cdn.*ad' "${hosts_file}"
grep_value_file '1' 'cdn.*ads' "${hosts_file}"
grep_value_file '1' 'check' "${hosts_file}"
grep_value_file '1' 'cibntv' "${hosts_file}"
grep_value_file '1' 'click' "${hosts_file}"
grep_value_file '1' 'cnzz' "${hosts_file}"
grep_value_file '1' 'commercial' "${hosts_file}"
grep_value_file '1' 'consumer' "${hosts_file}"
grep_value_file '1' 'corp' "${hosts_file}"
grep_value_file '1' 'cpro' "${hosts_file}"
grep_value_file '1' 'csdn' "${hosts_file}"
grep_value_file '1' 'ctobsnssdk' "${hosts_file}"
grep_value_file '1' 'dm' "${hosts_file}"
grep_value_file '1' 'dns' "${hosts_file}"
grep_value_file '1' 'douban' "${hosts_file}"
grep_value_file '1' 'doubanio' "${hosts_file}"
grep_value_file '1' 'doubleclick' "${hosts_file}"
grep_value_file '1' 'download' "${hosts_file}"
grep_value_file '1' 'exosrv' "${hosts_file}"
grep_value_file '1' 'flash' "${hosts_file}"
grep_value_file '1' 'flurry' "${hosts_file}"
grep_value_file '1' 'gdt' "${hosts_file}"
grep_value_file '1' 'gifshow' "${hosts_file}"
grep_value_file '1' 'godaddy' "${hosts_file}"
grep_value_file '1' 'google' "${hosts_file}"
grep_value_file '1' 'googlead' "${hosts_file}"
grep_value_file '1' 'googleads' "${hosts_file}"
grep_value_file '1' 'googleanalysis' "${hosts_file}"
grep_value_file '1' 'googlesyndication' "${hosts_file}"
grep_value_file '1' 'gtimg' "${hosts_file}"
grep_value_file '1' 'hao123' "${hosts_file}"
grep_value_file '1' 'heytap.*' "${hosts_file}"
grep_value_file '1' 'httpdns' "${hosts_file}"
grep_value_file '1' 'igexin' "${hosts_file}"
grep_value_file '1' 'imgad' "${hosts_file}"
grep_value_file '1' 'imgcache' "${hosts_file}"
grep_value_file '1' 'imtt' "${hosts_file}"
grep_value_file '1' 'ipinyou' "${hosts_file}"
grep_value_file '1' 'iqiyi' "${hosts_file}"
grep_value_file '1' 'ixigua' "${hosts_file}"
grep_value_file '1' 'jiguang' "${hosts_file}"
grep_value_file '1' 'jomodns' "${hosts_file}"
grep_value_file '1' 'juicy' "${hosts_file}"
grep_value_file '1' 'ksapisrv' "${hosts_file}"
grep_value_file '1' 'ksosoft' "${hosts_file}"
grep_value_file '1' 'kuaishou' "${hosts_file}"
grep_value_file '1' 'kwad' "${hosts_file}"
grep_value_file '1' 'lenovomm' "${hosts_file}"
grep_value_file '1' 'lianmeng' "${hosts_file}"
grep_value_file '1' 'lmgg' "${hosts_file}"
grep_value_file '1' 'locus' "${hosts_file}"
grep_value_file '1' 'lottery' "${hosts_file}"
grep_value_file '1' 'lrswl' "${hosts_file}"
grep_value_file '1' 'mediav' "${hosts_file}"
grep_value_file '1' 'meitu' "${hosts_file}"
grep_value_file '1' 'mi' "${hosts_file}"
grep_value_file '1' 'miaozhen' "${hosts_file}"
grep_value_file '1' 'migu' "${hosts_file}"
grep_value_file '1' 'miguvideo' "${hosts_file}"
grep_value_file '1' 'miui' "${hosts_file}"
grep_value_file '1' 'mmstat' "${hosts_file}"
grep_value_file '1' 'mob' "${hosts_file}"
grep_value_file '1' 'mobad' "${hosts_file}"
grep_value_file '1' 'mobads' "${hosts_file}"
grep_value_file '1' 'mobi' "${hosts_file}"
grep_value_file '1' 'mobilead' "${hosts_file}"
grep_value_file '1' 'mobileads' "${hosts_file}"
grep_value_file '1' 'mobmore' "${hosts_file}"
grep_value_file '1' 'msn' "${hosts_file}"
grep_value_file '1' 'mssdk' "${hosts_file}"
grep_value_file '1' 'mta' "${hosts_file}"
grep_value_file '1' 'netease' "${hosts_file}"
grep_value_file '1' 'oceanengine' "${hosts_file}"
grep_value_file '1' 'open' "${hosts_file}"
grep_value_file '1' 'openapi' "${hosts_file}"
grep_value_file '1' 'oppo' "${hosts_file}"
grep_value_file '1' 'oppomobile' "${hosts_file}"
grep_value_file '1' 'oupeng' "${hosts_file}"
grep_value_file '1' 'pagead' "${hosts_file}"
grep_value_file '1' 'pagead[[:digit:]]' "${hosts_file}"
grep_value_file '1' 'pandora' "${hosts_file}"
grep_value_file '1' 'pangle' "${hosts_file}"
grep_value_file '1' 'partner' "${hosts_file}"
grep_value_file '1' 'pgdt' "${hosts_file}"
grep_value_file '1' 'pglstatp' "${hosts_file}"
grep_value_file '1' 'pinduoduo' "${hosts_file}"
grep_value_file '1' 'pro' "${hosts_file}"
grep_value_file '1' 'pstatp' "${hosts_file}"
grep_value_file '1' 'puata' "${hosts_file}"
grep_value_file '1' 'qihoo' "${hosts_file}"
#grep_value_file '1' 'qq' "${hosts_file}"
grep_value_file '1' 'realsrv' "${hosts_file}"
grep_value_file '1' 'sax' "${hosts_file}"
grep_value_file '1' 'saxs' "${hosts_file}"
grep_value_file '1' 'sdk' "${hosts_file}"
grep_value_file '1' 'share' "${hosts_file}"
grep_value_file '1' 'shifen' "${hosts_file}"
grep_value_file '1' 'sina' "${hosts_file}"
grep_value_file '1' 'sinaimg' "${hosts_file}"
grep_value_file '1' 'sm' "${hosts_file}"
grep_value_file '1' 'smartadserver' "${hosts_file}"
grep_value_file '1' 'snssdk' "${hosts_file}"
grep_value_file '1' 'splash' "${hosts_file}"
grep_value_file '1' 'syndication' "${hosts_file}"
grep_value_file '1' 'tad' "${hosts_file}"
grep_value_file '1' 'tagtic' "${hosts_file}"
grep_value_file '1' 'talkingdata' "${hosts_file}"
grep_value_file '1' 'taobao' "${hosts_file}"
grep_value_file '1' 'taobaocdn' "${hosts_file}"
grep_value_file '1' 'tbs' "${hosts_file}"
grep_value_file '1' 'tieba' "${hosts_file}"
grep_value_file '1' 'tongji' "${hosts_file}"
#grep_value_file '1' 'top' "${hosts_file}"
grep_value_file '1' 'tos' "${hosts_file}"
grep_value_file '1' 'toutiao' "${hosts_file}"
#grep_value_file '1' 'tpns' "${hosts_file}"
grep_value_file '1' 'trace' "${hosts_file}"
grep_value_file '1' 'twitter' "${hosts_file}"
grep_value_file '1' 'uc' "${hosts_file}"
grep_value_file '1' 'ucweb' "${hosts_file}"
grep_value_file '1' 'uczzd' "${hosts_file}"
grep_value_file '1' 'umeng' "${hosts_file}"
grep_value_file '1' 'umengcloud' "${hosts_file}"
grep_value_file '1' 'union' "${hosts_file}"
grep_value_file '1' 'update' "${hosts_file}"
grep_value_file '1' 'upgrade' "${hosts_file}"
grep_value_file '1' 'vlion' "${hosts_file}"
grep_value_file '1' 'voiceads' "${hosts_file}"
grep_value_file '1' 'wechat' "${hosts_file}"
grep_value_file '1' 'weibo' "${hosts_file}"
grep_value_file '1' 'weixin' "${hosts_file}"
grep_value_file '1' 'woozooo' "${hosts_file}"
grep_value_file '1' 'wps' "${hosts_file}"
grep_value_file '1' 'wx' "${hosts_file}"
grep_value_file '1' 'wxs' "${hosts_file}"
grep_value_file '1' 'wxsnsdy' "${hosts_file}"
grep_value_file '1' 'x5' "${hosts_file}"
grep_value_file '1' 'xdrig' "${hosts_file}"
grep_value_file '1' 'xg' "${hosts_file}"
grep_value_file '1' 'ximalaya' "${hosts_file}"
grep_value_file '1' 'xiaomi' "${hosts_file}"
grep_value_file '1' 'xigua' "${hosts_file}"
grep_value_file '1' 'xunlei' "${hosts_file}"
grep_value_file '1' 'youdao' "${hosts_file}"
grep_value_file '1' 'yximgs' "${hosts_file}"
grep_value_file '1' 'zhihu' "${hosts_file}"
grep_value_file '1' 'zijieapi' "${hosts_file}"
grep_value_file '1' 'zzd' "${hosts_file}"
#22.09.26
grep_value_file '1' 'yandex' "${hosts_file}"
#22.10.06
#华为隐私收集和部分广告
grep_value_file '1' 'hicloud' "${hosts_file}"
#yandex广告
grep_value_file '1' 'yandexadexchange' "${hosts_file}"
#22.10.24 网易邮箱
grep_value_file '1' '163' "${hosts_file}"
#22.10.25 恢复QQ相关域名拦截可能会有大量误杀
grep_value_file '1' 'qq' "`pwd`/tmp_hosts/yhost"
grep_value_file '1' 'qq' "`pwd`/tmp_hosts/大圣净化"
#虎扑 2022.11.20
grep_value_file '1' 'hupu' "${hosts_file}"
#Hub 联盟
grep_value_file "1" 'hubcloud' "$hosts_file"
grep_value_file "0" 'adv.' "$hosts_file"
grep_value_file "1" 'adv-' "$hosts_file"
#BeiZi 广告
grep_value_file "1" 'BeiZi' "$hosts_file"
#anythinktech
grep_value_file "1" 'anythinktech' "$hosts_file"
#toponad
grep_value_file "1" 'toponad' "$hosts_file"
}
#开始运行
#设置环境
RUnning_SETUPS_environment
#筛选设定值
RUnning_grep_values_conf
Do_detect_hosts
#制作去除广告奖励的Host
mktouch_host
#制作不包含广告奖励的Host
mktouch_no_host
#制作adblock规则
#adblock `pwd`/reward
#统计
rm -rf `pwd`/result `pwd`/host `pwd`/tmp_hosts
test -f `pwd`/reward && echo "文件大小 $( du -sh `pwd`/reward )hosts数量: $(cat `pwd`/reward | wc -l ) "
test -f `pwd`/all && echo "文件大小 $( du -sh `pwd`/all )hosts数量: $(cat `pwd`/all | wc -l ) "
#test -f `pwd`/adb.txt && echo "文件大小 $( du -sh `pwd`/adb.txt )hosts数量: $(cat `pwd`/adb.txt | wc -l ) "