Greasy Fork is available in English.

[DP] PlanetDP Nightmode

planetdp.org için gece modu!

// ==UserScript==
// @name         [DP] PlanetDP Nightmode
// @name:tr      [DP] PlanetDP Gece Modu
// @version      1.2.2
// @description  planetdp.org için gece modu!
// @description:tr planetdp.org için gece modu!
// @author       nht.ctn & hasangdr
// @icon         data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAABGdBTUEAALGOfPtRkwAAACBjSFJNAACHDwAAjA8AAP1SAACBQAAAfXkAAOmLAAA85QAAGcxzPIV3AAAKOWlDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAEjHnZZ3VFTXFofPvXd6oc0wAlKG3rvAANJ7k15FYZgZYCgDDjM0sSGiAhFFRJoiSFDEgNFQJFZEsRAUVLAHJAgoMRhFVCxvRtaLrqy89/Ly++Osb+2z97n77L3PWhcAkqcvl5cGSwGQyhPwgzyc6RGRUXTsAIABHmCAKQBMVka6X7B7CBDJy82FniFyAl8EAfB6WLwCcNPQM4BOB/+fpFnpfIHomAARm7M5GSwRF4g4JUuQLrbPipgalyxmGCVmvihBEcuJOWGRDT77LLKjmNmpPLaIxTmns1PZYu4V8bZMIUfEiK+ICzO5nCwR3xKxRoowlSviN+LYVA4zAwAUSWwXcFiJIjYRMYkfEuQi4uUA4EgJX3HcVyzgZAvEl3JJS8/hcxMSBXQdli7d1NqaQffkZKVwBALDACYrmcln013SUtOZvBwAFu/8WTLi2tJFRbY0tba0NDQzMv2qUP91829K3NtFehn4uWcQrf+L7a/80hoAYMyJarPziy2uCoDOLQDI3fti0zgAgKSobx3Xv7oPTTwviQJBuo2xcVZWlhGXwzISF/QP/U+Hv6GvvmckPu6P8tBdOfFMYYqALq4bKy0lTcinZ6QzWRy64Z+H+B8H/nUeBkGceA6fwxNFhImmjMtLELWbx+YKuGk8Opf3n5r4D8P+pMW5FonS+BFQY4yA1HUqQH7tBygKESDR+8Vd/6NvvvgwIH554SqTi3P/7zf9Z8Gl4iWDm/A5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P6YZ3Vi/c4m31vRIOSQboq8AeXvBE2Obzo0EQ7RuA6xNJ0Q5s8C4c794yrmgWalE5MMBufgIk4/RmUG5eun2baws4e5LAGBNgjJclQ/U2AtX9M8DZdfu9QahN1fTWQECQn0LZDng3q8mB4sYkmFCnmgFjPc9Gk4zZk/BV9e3qSaOvdPuqeDepkQiEXTBgj2ssIt/vgR1o4NnbnCEmXwttV0kw5nIEwgEQdXsXdYG88VZsj+NnreU9eWKiJ77FqO3qcrAPfCQ5IpzA4e+DR3gTRvzU24cvJs4J2gtTYPgtCIb9+PkHyUlOgTR4mPYIeAxsCrnxckwiI7RNDUAgzPI5qF3diX8/jafzLfz7KP79KX4GbVjib9w3/xS8Aw7j/0/i56342Yyf08WTNmLSs4QnpnjwRQJOjlXhMelLotT/AzgrT/f/pav6AAAAAElFTkSuQmCC
// @namespace    https://twitter.com/hasangdr

// @match        https://www.planetdp.org/
// @match        https://www.planetdp.org/*
// @match        https://planetdp.org/
// @match        https://planetdp.org/*

// @require      http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js

// @grant        GM_addStyle
// @grant        GM_getValue
// @grant        GM_setValue
// @grant        GM_addValueChangeListener

// @run-at       document-body
// ==/UserScript==

(function() {
    'use strict';

//================================================

    // Ayarlar

    var otherTabEffect = true;     // Bir sekmedeki gece gündüz seçimi diğer sekmeleri de etkiler.


    // CSS'ler

    // Genel Düzeltmeler
    var styles = `

.abd.one, .abd.two, .abd.three, .abd.four, .abd.five {
    width: 20%;
}

.baba_main_right a[data-readmore-moretext="Devamını gör"] {
    position: absolute;
}

.movie_list {
    width: 100%;
    margin-left: 0px;
}

ul.movie_list_top_left {
    margin-left: 0px;
}

.movie_list .select {
    width: 100%;
    margin: 0 0 10px 0;
}

.site-link {
    margin-bottom: 17px;
}

.movie_list li[role="tab"] > a {
    transition: background-color .3s ease-in 0s;
}

.footer-up .foot-nav {
    width: 20%;
}

queueWindow-form li, [id*="-form"] .window-header {
    border-color: #4c4c4c!important;
}

`

    // Gece Renkleri
    styles = styles + `
.cev p {
    color: #ccc;
}

.form_main {
    background: #1b1b1b;
}

.form_main_top_left h1 {
    color: #ccc;
}

.form_main_top_right h1 {
    color: #ccc;
}

.baba_main {
    background: #1b1b1b;
}

body {
    color: #ccc;
}

.baba_main_right h1 {
    color: #fff;
}

.baba_main_right strong {
    color: #fff;
}

.baba_main a {
    color: #eee;
}

.copy_main {
    background: #424242;
}

.copy_main_right a {
    color: #ccc;
}

.copy_main_left {
    background: #5d5c5c;
}

.copy_main_left p {
    color: #fff;
}


.row1 td {
    background: #141414;
}

.row2 td {
    background: #14141452;
}

.row1ac td {
    background-color: #000!important;
}

.row2ac td {
    background-color: #000!important;
}

#subtable .row1:hover td, #listtable .row1:hover td, #subtable .row1:hover + tr td {
    background: #000;
}

#subtable .row1:hover td, #listtable .row1:hover td, #subtable .row1:hover+tr td {
    background color: #000;
}

#subtable .row2:hover td, #listtable .row2:hover td, #subtable .row2:hover + tr td {
    background: #000;
}

#subtable .row2:hover td, #listtable .row2:hover td, #subtable .row2:hover+tr td {
    background color: #000;
}

.selected_sub td {
    background-color: #000!important;
}

#subtable a {
    color: #7f9bb5;
}

.sub_checked {
    color: green;
    text-shadow: 1px 1px 1px #000;
}

.sub_checked_orange {
    color: #ffa500;
    text-shadow: 1px 1px 1px #000;
}

.sub_checked_red {
    color: red;
    text-shadow: 1px 1px 1px #000;
}

.sub_checked_blue {
    color: #00f;
    text-shadow: 1px 1px 1px #000;
}

.star_color_3 {
    color: green;
    text-shadow: 1px 1px 1px #000;
}

.star_color_2 {
    color: #ffa500;
    text-shadow: 1px 1px 1px #000;
}

.star_color_1 {
    color: #349bf9;
    text-shadow: 1px 1px 1px #000;
}

.download-btn {
    color: #9c9c9c!important;
}

[data-user-liked~="no"][data-liketype~="icon"] {
    color: #9c9c9c!important;
}

[data-toggle="calendar"]>.row>.weekend {
    background-color: #101010;
}

.alpa_main_top h1 {
    color: #ccc;
}

.alpa_main {
    background: #1b1b1b;
}

.alpa_main_bott p {
    color: #ccc;
}

.alpa_main_bott h2 {
    color: #ccc;
}

.alpa_main_top ul li a {
    color: #ccc;
}

.alpa_main_top ul li a:hover {
    background: #1f1f1f;
}

.alpa_main_bott span {
    color: #ffffff;
}

.wysibb {
    border: 1px solid #656565;
    background: #1f1f1f;
}

.wysibb .wysibb-toolbar .wysibb-toolbar-container .wysibb-toolbar-btn .fonticon {
    color: #fff;
    text-shadow: 0 1px 0 #000;
}


.wysibb .wysibb-toolbar {
    border-bottom: 1px solid #656565;
}

.wysibb .wysibb-toolbar .wysibb-toolbar-container {
    border-right: 1px solid #656565;
}

.bottom-resize-line:hover, .bottom-resize-line.drag {
    background: #656565;
}

.img-thumbnail {
    background-color: #ccc;
    border: 1px solid #ccc;
}

.video_main h1 {
    color: #ccc;
}

.video_main {
    background: #1b1b1b;
}

.white-popup-block {
    background: #1b1a1a;
}

.form-control {
    background-color: #212121;
    border: 1px solid #000;
    color: #fff;
}

.content {
    background: #1b1b1b;
}

.mv-list h6 {
    color: #ccc;
}

.mv-listn h6 {
    color: #ccc;
}

.flexslider {
    background: #ccc;
    border: 4px solid #000;
}

.movie_list_top_left .ui-tabs-active .ui-tabs-anchor {
    background: #0e0e0e;
}

.list_main {
    background: #0e0e0e;
}

.movie_list_top_left li a {
    color: #fff;
    background: #1b1b1b;
}

div #new_sub_tab .ui-tabs-active .ui-tabs-anchor {
    background-color: #1b1b1b!important;
    color: #ff6d00!important;
}

.movie_list_top_right {
    background: #1b1b1b;
}

.movie_list_top {
    background: #1b1b1b;
}

.movie_list {
    background: #1b1b1b;
}

.list ul li a figure figcaption h4 {
    color: #fff;
}

.list ul li a figure figcaption span {
    color: #ccc;
}

.ha {
    color: #fff!important;
}

.blog_list-right p {
    color: #ccc;
}

.blog_list-right ul {
    border: dotted 1px #ccc;
}

.blog_list-right h4 {
    color: #ffff;
    border-bottom: dotted 1px #ccc;
}

.blog_list-right a i {
    color: #ccc;
}

.blog_list-right a {
    color: #fff;
}

.blog li a {
    background-color: #3d3d3d;
    color: #fff;
}

.trans-loading-one .progress {
    background: #96969646;
}

.progress__label {
    color: #ccc;
}

.video-sec {
    background: #1b1b1b;
}

.sec-three {
    background: #1b1b1b;
}

.video-loop h4 a {
    color: #fff;
}

.video-loop p {
    color: #cccc;
}

.video-loop figure {
    border: solid 1px #464646;
}

.sec-four {
    background: #1b1b1b;
}

.site-link ul li a {
    border-bottom: solid 1px #1b1b1b;
}

.bcumb a {
    color: #fff;
}

.blog-sec h3, .blog-articla2 {
    color: #fff;
    border-color: #3a3a3a!important;
}

.blog-articla {

    border-bottom: solid 1px #3a3a3a;
}

.blog-sec h5 {
    color: #fff;
}

.all_text p {
    color: #ccc;
}

.read-btn a {
    border: dotted 1px #ccc;
}

.pagination>li>a, .pagination>li>span {
    border: 1px solid #525252;
    background-color: #000000;
}

.pagein .pagination>li>a, .pagination>li>span {
    border: solid 1px #525252;
    color: #fff;
}

.pagination>.disabled>a, .pagination>.disabled>a:focus, .pagination>.disabled>a:hover, .pagination>.disabled>span, .pagination>.disabled>span:focus, .pagination>.disabled>span:hover {
    background-color: #676666;
}

.pagein2 .pagination>li>a, .pagination>li>span {
    background: #000000;
    color: #ffffff!important;
}

.yorum_main h5 {
    color: #ccc;
    border-bottom: solid 1px #4c4c4c;
}

.yorum_inp_msg {
    background-color: #171717;
    border: solid 1px #6f6e6e;
    color: #ccc;
}

.comment-form {
    border: solid 1px #4c4c4c;
}


.murat {
    border-bottom: solid 1px #4c4c4c;
}

.Toplam2 {
    color: #ccc;
    background-color: #383838;
}

.Toplam {
    color: #ccc;
    background-color: #383838;
}

.search_sub {
    background-color: #383838;
}

.subtitle1 a {
    color: #ccc!important;
}

.translate_list-right h4 {
    color: #fff;
}

.translate_list-right p {
    color: #ccc;
}

.input-group-addon {
    color: #fff;
    background-color: #151515;
    border: 1px solid #000
}

select.input-sm {
    color: #ccc;
}

.btn--warning {
    border: solid 1px #1b1b1b;
}

hr {
    border-top: 1px solid #000;
}

.img-thumbnail {
    background-color: #505050;
    border: 1px solid #505050;
}

.modal-header {
    border-bottom: 1px solid #000000;
}

.modal-footer {
    border-top: 1px solid #000000;
}

.modal-content {
    background-color: #141414;
    border: 1px solid #000;
    border: 1px solid rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
    box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
}

.translate_list-right2 h4 {
    color: #fff;
}

.translate_list-right2 p {
    color: #ccc;
}

.table-hover>tbody>tr:hover {
    background-color: #000000;
}

.btn-default {
    color: #ccc!important;
    background-color: #383838!important;
    border-color: #383838!important;
}

.btn-default:hover, .btn-default:focus {
    color: #ccc!important;
    background-color: #565656!important;
    border-color: #000!important;
}

.table>tbody>tr>td, .table>tbody>tr>th, .table>tfoot>tr>td, .table>tfoot>tr>th, .table>thead>tr>td, .table>thead>tr>th {
    border-top: 1px solid #3a3a3a;
    border-bottom: 2px solid #3a3a3a;
}

.table>tbody>tr.active>td, .table>tbody>tr.active>th, .table>tbody>tr>td.active, .table>tbody>tr>th.active, .table>tfoot>tr.active>td, .table>tfoot>tr.active>th, .table>tfoot>tr>td.active, .table>tfoot>tr>th.active, .table>thead>tr.active>td, .table>thead>tr.active>th, .table>thead>tr>td.active, .table>thead>tr>th.active {
    background-color: #000;
}

.nav-tabs>li.active>a, .nav-tabs>li.active>a:focus, .nav-tabs>li.active>a:hover {
    color: #fff;
    background-color: #1b1b1b;
    border: 1px solid #313131;
    border-bottom-color: transparent;
}

.nav-tabs>li>a:hover{
    color: #4697dc;
    border: 1px solid transparent;
    border-bottom-color: #transparent;
}

.nav>li>a:focus, .nav>li>a:hover {
    color: #4697dc;
    text-decoration: none;
    background-color: #3a3a3a;
    border-bottom-color: #transparent;
}

.nav-tabs>li>a {
    border: 1px solid transparent;
}


.well {
    background-color: #151414;
    border: 1px solid #e3e3e300;
}

.nav-tabs {
    border-bottom: 1px solid #313131;
}

.table>tbody>tr.info>td, .table>tbody>tr.info>th, .table>tbody>tr>td.info, .table>tbody>tr>th.info, .table>tfoot>tr.info>td, .table>tfoot>tr.info>th, .table>tfoot>tr>td.info, .table>tfoot>tr>th.info, .table>thead>tr.info>td, .table>thead>tr.info>th, .table>thead>tr>td.info, .table>thead>tr>th.info {
    background-color: #3a3a3a;
}

.form-control[disabled], .form-control[readonly], fieldset[disabled] .form-control {
    background-color: #463030;
    opacity: 1;
}

.plot-table tbody tr:hover {
    background: #000;
    background-color: #000;
}

.plot-table tbody tr:hover, .plot-table tbody tr tr:hover {
    background: #000;
    background-color: #000;
}

.plot-table thead tr:hover {
    background: #000;
    background-color: #000;
}

.plot-table tr:hover, .plot-table tr:nth-child(odd):hover+tr {
    background: #000;
}

.list-table .table-striped > tbody > tr :nth-of-type(n+1) {
    background: #141414;
}

.list-table .table-striped > tbody > tr:hover :nth-of-type(n+1) {
    background: #000;
}

.list-table table tr td {
    color: #fff;
}

.panel-default>.panel-heading {
    color: #fff;
    background-color: #3a3a3a;
    border-color: #000;
}

.panel-body {
    background: #3a3a3a;
}

.panel-default {
    border-color: #000;
}

.alert-info {
    color: #fff;
    background-color: #696969;
    border-color: #000000;
}

.videos-loop h4 a {
    color: #fff;
}

.videos-loop figure {
    border: solid 1px #464646;
}

.search_inp {
    border: solid 1px #464646;
}

.search_inp2 {
    border: solid 1px #464646;
}

.search_inp8 {
    border: solid 1px #464646;
}

.diger_main {
    background: #1b1b1b;
}

.diger_main h1 {
    color: #ccc;
}

.murat_right p {
    color: #ccc;
}

.murat_right h3 span {
    color: #ccc;
}

button, input, select, textarea {
    background-color: #1b1b1b;
}

code {
    background-color: #1f1f1f;
}

.mfp-close-btn-in .mfp-close {
    color: #f00!important;
}

.close {
    color: #f00;
    text-shadow: 0 1px 0 #000;
    filter: alpha(opacity=20);
    opacity: 100;
}

.close:hover {
    color: #940a0a;
    text-shadow: 0 1px 0 #000;
    filter: alpha(opacity=20);
    opacity: 100;
}

.white-popup {
    background: #292929;
}

.commentlistdiv {
    background: #292929;
}

.tt-suggestion {
    background: #292929;
}

.tt-menu {
    background-color: #292929;
}

.social ul {
    border: none!important;
}

.social ul li a {
    background: #101010;
}

.wysibb .wysibb-toolbar .wysibb-toolbar-container .wysibb-toolbar-btn.on, .wysibb .wysibb-toolbar .wysibb-toolbar-container .wysibb-toolbar-btn.on:hover, .wysibb .wysibb-toolbar .wysibb-toolbar-container .wysibb-toolbar-btn:active {
    background: #000000;
    box-shadow: inset 0 0 3px #101010;
    border: 1px solid #000000;
}

.trans-percentage a {
    color: white;
}

.ara_search2 {
    background-color: #0c0c0c;
}

.ara_search2:hover {
    background-color: #000;
}

.search_inp_select {
    border: solid 1px #464646;
    background-color: #1b1b1b;
}

.pagein2 .pagination>li>a:focus, .pagination>li>a:focus, .pagination>li>span:focus, .pagination>li>span:focus {
    background: #ff6d00;
    border: solid 1px #ff6d00;
    color: #fff;
}

div > h1 > a[href="/todaywatchs"] {
    color: white!important;
}

div h3[style*="padding-bottom: 5px;color: darkblue;"] {
    padding-bottom: 5px;
    color: #4b4bee!important;
}

#side-progress > .progress {
    background-color: #0c0d0d!important;
}

#side-progress > .progress > .progress__label {
    color: white!important;
}

.popover-title {
    background-color: #000;
    border-bottom: 1px solid #000;
}

.popover.calendar-event-popover {
    color: #ccc;
    background: #1b1a1a;
}

#subdetailform a[style*="color: black;"], #subdetailform ul.pd > li > a {
    color: #ccc!important;
}

#subdetailform ul.pd > li > a:hover {
    color: rgb(253, 96, 0)!important;
}

.mfp-content > .container {
    background-color: #1b1a1a!important;
}

.list-group-item {
    background-color: #000;
    border: 1px solid #3a3a3a;
}

.panel-default>.panel-heading+.panel-collapse>.panel-body {
    border-top-color: #000;
}

.pagein .pagination>li>a:focus, .pagination>li>a:hover, .pagination>li>span:focus, .pagination>li>span:hover {
    background: #ff6d00;
}

[data-badge]:after {
    background: #eb5663;
    color: #000;
    box-shadow: 0 0 1px #333;
}

.pd li, .pd2 li, .pd4 li, .pd5 li, .pd6 li, .pd7 li {
    color: #ccc;
}

.pd li.active, .pd2 li.active, .pd4 li.active, .pd5 li.active {
    color: #1b1b1b;
}

.custom-table-style-gbr tbody tr td:last-child {
    border-right: 3px solid #313131!important;
}

.custom-table-style-gbr tbody td {
    border: 3px solid #313131!important;
}

.custom-table-style-gbr tbody tr:nth-child(3n) {
    border-bottom: 3px solid #313131!important;
}

.custom-table-style-gbr th {
    border: 3px solid #313131!important;
    background-color: #000!important;
}

.custom-table-style-gbr tbody tr td:first-child {
    border-left: 3px solid #313131!important;
}

.custom-table-style-gbr tbody tr td:first-child {
    border: 3px solid #313131!important;
}

.custom-table-style-gbr tbody tr:nth-child(2n) {
    border-bottom: 3px solid #313131!important;
}

table.custom-table-style-gbr td b[style="color:black"] {
    color: #ccc!important;
}

.custom-table-style-plot th {
    border: 3px solid #313131!important;
    background-color: #000!important;
}

.custom-table-style-plot tbody tr td:last-child {
    border-right: 3px solid #313131!important;
}

.custom-table-style-plot tbody tr td:first-child {
    border: 3px solid #313131!important;
}

.custom-table-style-plot tbody td {
    border: 3px solid #313131!important;
}

.fa-times-circle:before {
    background: #f60;
}

table.custom-table-style-gbr td b[style="color:black"] {
    color: white!important;
}

div.mfp-content .row {
    background: #1b1a1a!important;
}

.tooltip.bottom .tooltip-arrow {
    border-bottom-color: rgb(86, 85, 100);
}

.custom-table-style th {
    border: 3px solid #313131!important;
}

.custom-table-style tbody tr td:first-child {
    border-left: 3px solid #313131!important;
}

.custom-table-style tbody tr:nth-child(odd) {
    border-top: 3px solid #313131!important;
}

.custom-table-style tbody tr td:last-child {
    border-right: 3px solid #313131!important;
}

.custom-table-style tbody td {
    border: 3px solid #444444!important;
}

.calendar-current {
    background: #000000;
}

blockquote {
border-left: 5px solid #3f51b5;
}

.custom-table-style-art th {
    border: 3px solid #313131!important;
    background-color: #000!important;
}

.custom-table-style-art tbody td {
    border: 3px solid #313131!important;
}

.custom-table-style-art tbody tr:nth-child(n) td:first-child {
    border-left: 3px solid #313131!important;
}

.custom-table-style-art tbody tr td:last-child {
    border-right: 3px solid #313131!important;
}

.custom-table-style-art tbody tr td:first-child {
    border: 3px solid #313131!important;
}

table.custom-table-style-art tbody tr td[style*="background: #d9edf7;"] {
    background: #3a3a3a!important;
}

.copy_main {
    background: #424242!important;
}

.mfp-container.mfp-ajax-holder.mfp-s-ready .mfp-content .row .text-right a[style*="float:left; color:black"] {
    float:left;
    color:#ccc!important;
}

table.custom-table-style-gbr tbody tr td b[style*="color:black;"] {
    color: #ccc!important;
}

input#form_metaurl:-internal-autofill-selected {
background-color: rgb(232, 240, 254) !important;
background-image: none !important;
color: rgb(0, 0, 0) !important;
}

`

//================================================

    // JAVASCRIPT

    var pageUrl = window.location.href;

    // Dark tema için pasif bir stylesheet oluştur.
    document.querySelector('head').insertAdjacentHTML( 'beforeend', '<style id="dpDarkThemeByGdr">' + styles + '</style>' );
    var darkStylesheet = document.querySelector( 'style#dpDarkThemeByGdr' );
    darkStylesheet.disabled = true;

    // Eski tercihi kontrol et, tercih yoksa dark kabul et.
    if ( GM_getValue("darkSwitch") || GM_getValue("darkSwitch") == null || GM_getValue("darkSwitch") == undefined ) {
        darkStylesheet.disabled = false;
    }

    // Açma/Kapama butonu oluştur.
    GM_addStyle(`
        .darkToogle {position: absolute; top: 8px; margin-left: 25px; border: solid 1px #323232; border-radius: 8px; height: 40px; width: 75px; background: url(https://images2.imgbox.com/86/c1/51ibbvMz_o.png) no-repeat;}
        .darkToogle_dark {background-color: #000; background-position: 37px -1px; transition: .3s ease-out;}
        .darkToogle_light {background-color: #000; background-position: -96px -1px; transition: .3s ease-out;}
    `);
    var loginButtonSelector = 'form#srcform a[href="http://forum.planetdp.org/index.php?/register/"]';
    var selector = ( document.querySelector( loginButtonSelector ) == null ) ? 'form#srcform div.user-drop' : loginButtonSelector;
    document.querySelector( selector ).insertAdjacentHTML( 'beforeend', '<a href="#" id="darkToogle" class="darkToogle darkToogle_' + ((darkStylesheet.disabled) ? 'light' : 'dark') + '"></a>' );
    document.querySelector( 'form#srcform a#darkToogle' ).onclick = function() {
        if (otherTabEffect) {
            GM_setValue("darkSwitch", !GM_getValue("darkSwitch") );
        }
        else {
            darkToogleFunc();
        }
    };

    // Tercihi değiştirilince açık olan her sekmede gece teması baştan çalışsın.
    GM_addValueChangeListener("darkSwitch", function(name, old_value, new_value, remote)
    {
        if (otherTabEffect) {
            darkToogleFunc();
        }
    });

    // Varsayılan afişi saydam arkaplanlı ile değiştir.
    waitForKeyElements( 'img[src="https://planetdp.org//themes/newtheme/images/default.png"], img[src="https://www.planetdp.org//themes/newtheme/images/xdefault.png.pagespeed.ic.4q79YiUNwg.webp"]', function() {
        var defaultPosters = document.querySelectorAll('img[src="https://planetdp.org//themes/newtheme/images/default.png"], img[src="https://www.planetdp.org//themes/newtheme/images/xdefault.png.pagespeed.ic.4q79YiUNwg.webp"]');
        if ( defaultPosters.length > 0 ) {
            for ( var x = 0; x < defaultPosters.length; x++ )
            {
                defaultPosters[x].src = "https://images2.imgbox.com/df/9b/yABfQiII_o.png"
            }
        }
    });

    if (!darkStylesheet.disabled) {
        // İframe (Haber düzenleme sayfası) css'lerini değiştir.
        waitForKeyElements( 'iframe', function() {
            $('iframe').contents().find('body').css("background-color","#212121").css("color","#fff");
        });

        // Kartın altındaki siyah ikonları değiştir.
        if (pageUrl.search( /planetdp\.org\/title/ ) >= 0) {
            waitForKeyElements( 'div.abd_main', function() {setTimeout(function() {
                document.querySelector( '.one .abd_ticon img' ).src = "https://images2.imgbox.com/a4/4c/ipGbwJRR_o.png";
                document.querySelector( '.two .abd_ticon img' ).src = "https://images2.imgbox.com/9d/db/74HXU0pP_o.png";
                document.querySelector( '.three .abd_ticon img' ).src = "https://images2.imgbox.com/ed/17/Dw1tIQEE_o.png";
                document.querySelector( '.four .abd_ticon img' ).src = "https://images2.imgbox.com/3c/1b/XYj6fHYn_o.png";
                document.querySelector( '.five .abd_ticon img' ).src = "https://images2.imgbox.com/d5/66/YBUUmq16_o.png";
            }, 10); });
        }
    }

//    // Yumuşak geçiş efekti için bir stylesheet oluştur.
//    var transionEffect = styles.replace( /\{(\n)*([^\{\}](\n)*)+\}/g, `{transition: background-color .3s , color .3s , border-color .3s;}` );
//    document.querySelector('head').insertAdjacentHTML( 'beforeend', '<style id="dpDarkThemeByGdr_TransionEffect">' + transionEffect + '</style>' );

//================================================

    // FONKSİYONLAR

    function darkToogleFunc() {
        var button = document.querySelector('form#srcform a#darkToogle');
        button.classList.toggle('darkToogle_light');
        button.classList.toggle('darkToogle_dark')
        if (darkStylesheet.disabled){
            // GECE
            darkStylesheet.disabled = false;
            $('iframe').contents().find('body').css("background-color","#212121").css("color","#fff");
            if (pageUrl.search( /planetdp\.org\/title/ ) >= 0)
            {
                document.querySelector( '.one .abd_ticon img' ).src = "https://images2.imgbox.com/a4/4c/ipGbwJRR_o.png";
                document.querySelector( '.two .abd_ticon img' ).src = "https://images2.imgbox.com/9d/db/74HXU0pP_o.png";
                document.querySelector( '.three .abd_ticon img' ).src = "https://images2.imgbox.com/ed/17/Dw1tIQEE_o.png";
                document.querySelector( '.four .abd_ticon img' ).src = "https://images2.imgbox.com/3c/1b/XYj6fHYn_o.png";
                document.querySelector( '.five .abd_ticon img' ).src = "https://images2.imgbox.com/d5/66/YBUUmq16_o.png";
            }
        }
        else {
            // GÜNDÜZ
            darkStylesheet.disabled = true;
            $('iframe').contents().find('body').css("background-color","#fff").css("color","#333");
            if (pageUrl.search( /planetdp\.org\/title/ ) >= 0)
            {
                document.querySelector( '.one .abd_ticon img' ).src = "/v2/image/xmap_location.png.pagespeed.ic.iF8Fq5HIwy.webp";
                document.querySelector( '.two .abd_ticon img' ).src = "/v2/image/xlod.png.pagespeed.ic.fIG3awGLdX.webp";
                document.querySelector( '.three .abd_ticon img' ).src = "/v2/image/xtur.png.pagespeed.ic.EWCFD-wYPR.webp";
                document.querySelector( '.four .abd_ticon img' ).src = "/v2/image/xwatch.png.pagespeed.ic.k9sfvsWgdf.webp";
                document.querySelector( '.five .abd_ticon img' ).src = "/v2/image/xstar.png.pagespeed.ic.AbMF-IaEO8.webp";
            }
        }
    }


    function waitForKeyElements (
        selectorTxt,    /* Required: The jQuery selector string that
                            specifies the desired element(s).
                        */
        actionFunction, /* Required: The code to run when elements are
                            found. It is passed a jNode to the matched
                            element.
                        */
        bWaitOnce,      /* Optional: If false, will continue to scan for
                            new elements even after the first match is
                            found.
                        */
        iframeSelector  /* Optional: If set, identifies the iframe to
                            search.
                        */
    ) {
        var targetNodes, btargetsFound;

        if (typeof iframeSelector == "undefined")
            targetNodes     = $(selectorTxt);
        else
            targetNodes     = $(iframeSelector).contents ()
                                               .find (selectorTxt);

        if (targetNodes  &&  targetNodes.length > 0) {
            btargetsFound   = true;
            /*--- Found target node(s).  Go through each and act if they
                are new.
            */
            targetNodes.each ( function () {
                var jThis        = $(this);
                var alreadyFound = jThis.data ('alreadyFound')  ||  false;

                if (!alreadyFound) {
                    //--- Call the payload function.
                    var cancelFound     = actionFunction (jThis);
                    if (cancelFound)
                        btargetsFound   = false;
                    else
                        jThis.data ('alreadyFound', true);
                }
            } );
        }
        else {
            btargetsFound   = false;
        }

        //--- Get the timer-control variable for this selector.
        var controlObj      = waitForKeyElements.controlObj  ||  {};
        var controlKey      = selectorTxt.replace (/[^\w]/g, "_");
        var timeControl     = controlObj [controlKey];

        //--- Now set or clear the timer as appropriate.
        if (btargetsFound  &&  bWaitOnce  &&  timeControl) {
            //--- The only condition where we need to clear the timer.
            clearInterval (timeControl);
            delete controlObj [controlKey]
        }
        else {
            //--- Set a timer, if needed.
            if ( ! timeControl) {
                timeControl = setInterval ( function () {
                        waitForKeyElements (    selectorTxt,
                                                actionFunction,
                                                bWaitOnce,
                                                iframeSelector
                                            );
                    },
                    300
                );
                controlObj [controlKey] = timeControl;
            }
        }
        waitForKeyElements.controlObj   = controlObj;
    }

})();