Jump to content

Instagram İçin Karanlık Mod


Kill Master
 Share

Recommended Posts


  • Member ID:  138
  • Followers:  0
  • Content Count:  6,214
  • Content Per Day:  3.02
  • Reputation:   2,486
  • Days Won:  115
  • With Us For:  2,061 Days
  • Status:  Offline
  • Last Seen:  
  • Device:  Windows

İnternette Instagram için bir script buldum ama çok fazla eksiği vardı ve yazarı güncelleme bırakmıştı. Ben de onu alıp tamamladım. Tabii gözümden kaçan yerler olabilir. Bu konuya yazarsanız düzeltip güncellerim.

 

insta dark.jpg

 

JS Dosyası:

 

Instagram Dark Mode.user.js

 

Kod:

Spoiler

// ==UserScript==
// @name         Instagram Dark Mode
// @namespace http://tampermonkey.net/
// @version      0.3 by Kill Master
// @description  A dark mode for Instagram
// @author       Amenly (& Kill Master)


// @match     https://www.instagram.com/*
// @match     https://instagram.com/*

//@icon          data:image/webp;base64,UklGRqwdAABXRUJQVlA4TKAdAAAv/8F/EP/HKpJkJ138498OMnCS4eUggVHbSJKs+Q9/OgNjmOy9YdQ2kiRr/sOfzsAYJntvHEaSrFS4O4RC/gGQhjt81+HUtm3DIGVqss+AEkrd1tKP49C/79P//9ev6xIAAALobYRKoUOHHkrrUMBsAeDXl5CWORTQoYcSCE4ITkgTiWHUZ0gAAD2GOnoEeNeXsAOAFpJiIKaNMU8oDTpGALAAAHCtyRsF+PUv4VGkhAJRtqzYFarGjmsoPxR4hHL+/wfv+75Z51yXMUDZeLnvXRnHaMAk7P+zAbVZI2ICcEWGgU8qHkm2bVtNrJfgUv+OSzzA+y+g79YtCd2S5loR/Z8Af9i2LXOabd95TXRICMGd2kNdkJvi2gI1XCvUkSIVHAqF4t5z4sSIEEiw4l7cC21xaVMsLXCHQDxo57H3ncl+Xtc5x/z1HET0fwLE//lffwPgXe0AoXoH2mpNvQEttQ6c1Wa1ARzULnBV92pPvag7oK+egC3w9hpO9N1xsad7r3Y52KDp2Totb9Rseye0w7sBf1lG0N0qderu392w8/bXWmxZnZEcHzH4qQ4dOWbClJlzFyyJj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J3Q3s3i5Wm+36AsNJHO0zn/5nYtFG/l54bX7vqrOuZFebfKvtoy4m+Oy723Hu1CwcbND1bp+WNmm3vhHZ4N+BHYhSUub2g/J/Xfp/6y/CBfd/ckihNeqQhrNX4xqTMcejIMUyYMnPugiWRsYkPUzKe5haWrFizeQmwAkqgUHP1qWZACjyqiRqrkboEFsBcnalTYAKMqyN1qA6+19hawnpPRGvLr3z538KK/1jsPWhXVljz/M3egt0Fwqr9dngF4o4LCzeeiqK/5hWEtT9YTX2vFAirL9OL9BJPCQ00xkbSXZtQoYf3mxFd5IhCoYuBX4ZTXMtsoZMPN5Jb5HOFQi8L9jlorfE9oZ+zmxJa1CGb0NFHdROorFNFoatld5HY+umG0Njfm5NX4phAobe2camkFdb/stBf/xEJdPV2ttDjvH0xNLV1miG0OaReOD21mGIXWl3SP4aWOp41hHbfPphER51nCT3PPbqKhBy9Hwh9t9XZRj6J/S8Kza8wOIVytk3yFR6gz8mfiCZtyB3hMWY9v4lcwrqdLhSe5Z9fbyCUsA6jQ4QHamR/uZVEYht+Fyw819DxDYtoI+3TGgHC0y2cdaCVgyZiOg77xyk85Pxq37yaSAtpvZ7+J1B42M67E+s3XkgBjk2fPV5iCE/dXv70czs2R3pq0c36fv39/QBBgIUl55/4+qPtqyM9JUda804fj56eZRfkaA++WGnaE0eGfta3e6c32jbZsGpp2sY1K0oKc59mkPIwMTZyyYK5M6dMGDNy6A/l0cJFS1Ztbd52W6d/7Xhp1G9n/y5rE6Qd8G6H0Dtta95oWeesTRsc7HJ1b8+LO/qe2PIGcAL66g64qD11r16rXeCgNoCmelbrQEu9ATW1rd6BUO0A79UA+Pd/nwQ=

// @require   https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js
// @require   https://gist.github.com/raw/2625891/waitForKeyElements.js
// @grant        none
// ==/UserScript==

function addGlobalStyle(css) {
    var head, style;
    head = document.getElementsByTagName('head')[0];
    if (!head) { return; }
    style = document.createElement('style');
    style.type = 'text/css';
    style.innerHTML = css;
    head.appendChild(style);
}

addGlobalStyle('html, .YFq-A,.m82CD, .vwCYki, .eebAO {color: #dddddd !important;}');
addGlobalStyle('._3Laht, .o64aR, .t30g8, ._8UZ6e { background-color: #26282b !important; } ');/*main background */
addGlobalStyle('._lz6s, .N9abW, .S-mcP { background-color: #353941 !important; }'); /*gray header */
addGlobalStyle('.Di7vw { background: #21303b !important; } ');/*search bar background */
addGlobalStyle('.Di7vw, .pV7Qt { border: solid 1px #21303b !important; } ');/*search bar border */
addGlobalStyle('.pbgfb { color: #dddddd !important; }'); /*'Search' text */
addGlobalStyle('.x3qfX { background-color: #21303b !important; }'); /*search bar background after clicking */
addGlobalStyle('.XTCLo { border: solid 1px #21303b !important; color: #f0f0f0 !important;} ');/*search bar border after clicking /*search bar text color */
addGlobalStyle('.drKGC { border: solid 1px #37454f !important;} ');/*search list border */
addGlobalStyle('.drKGC::after { border-color: transparent transparent #21303b transparent !important;}'); /*search list after */
addGlobalStyle('.fuqBx { background-color: #21303b !important; }'); /*search results background after clicking */
addGlobalStyle('._6FEQj { background: #21303b !important; }'); /*search result */
addGlobalStyle('.JvDyy { background: #37454f !important; } ');/*search result during mouse hover */
addGlobalStyle('.yCE8d { border-bottom: solid 1px #37454f !important;}');
addGlobalStyle('.Ap253 { color: #dddddd !important; }'); /*handle text color in search result */
addGlobalStyle('.Fy4o8 { color: #dddddd !important; } ');/*username text color in search result */
addGlobalStyle('a.tdiEy, a.tdiEy:visited { color: #dddddd !important; }'); /*'Sign Up' */
addGlobalStyle('.-fzfL { border-color: #21303b !important; } ');/*'Following' border color */
addGlobalStyle('.-fzfL { color: #21303b !important; }'); /*'Following' text color */
addGlobalStyle('.KV-D4 { color: #f0f0f0 !important; }'); /*handle color */
addGlobalStyle('.g47SY { color: #90b8f8 !important; } ');/*#posts, #followers, #following */
addGlobalStyle('.-nal3, .-nal3:active, .-nal3:hover, .-nal3:visited { color: #5F85DB !important; } ');/*posts, followers, following */
addGlobalStyle('._32eiM, ._32eiM:visited { color: #5f85db !important; } ');/*'Followed by ____ + x more' */
addGlobalStyle('.zwlfE { color: #5f85db !important; }'); /*username color */
addGlobalStyle('a.T-jvg, a.T-jvg:visited { color: #21303b !important; }'); /*'POSTS' */
addGlobalStyle('a, a:visited { color: #cecece !important; }'); /*'TAGGED' */
addGlobalStyle('.T-jvg { border-top: 1px solid #89afeb !important; }'); /* line above 'POSTS' */
addGlobalStyle('._3G4x7 { color: #21303b !important; } ');/*'LANGUAGES'*/
addGlobalStyle('.DINPA { color: #90b8f8 !important; } ');/*'INSTAGRAM FROM FACEBOOK'*/
addGlobalStyle('.eXle2 { color: #90b8f8 !important; }'); /*text color of highlight names */

/*for pages with 'Requested'*/

addGlobalStyle ('._8A5w5, a._8A5w5, a._8A5w5:visited {color: #f0f0f0 !important; } ');/*'Requested' border and 'Requested' text color */
addGlobalStyle('._4Kbb_ { border: 1px solid #21303b !important; } ');/*blank space border */
addGlobalStyle('._4Kbb_ { background-color: #353941 !important; } ');/*blank space */
addGlobalStyle('.tHaIX { background-color: #26282b !important; } ');/*lower blank space */
addGlobalStyle('._41KYi { background: #353941 !important; } ');/*profile blank space */
addGlobalStyle('._41KYi { border: 1px solid #21303b !important; }'); /*profile space border */
addGlobalStyle('.Qj3-a, .Qj3-a:visited { color: #cecece !important; }'); /*profile space--handle color */
addGlobalStyle('._7cyhW { color: #90b8f8 !important; }'); /*profile space--username color */
addGlobalStyle('.L3NKy, a.L3NKy, a.L3NKy:visited { background-color: #21303b !important; color: #e8e8e8 !important; border: 0 !important;} ');/*profile space--follow button background and text color */
addGlobalStyle('.Rebts { color: #5F85DB !important; } ');/*'Suggestions For You' */
addGlobalStyle('.VIsJD, .rkEop { color: #5F85DB !important; }'); /*'This Account is Private' */
addGlobalStyle('.pbNvD { background-color: #353941 !important; }'); /*Profile settings */
addGlobalStyle('.HoLwm { color: #cecece !important; } ');/*Profile settings list text color */
addGlobalStyle('.Nm9Fw { color: #8e8e8e !important; }'); /*Likes text color */
addGlobalStyle('._4l6NB { background-image: -webkit-linear-gradient(left,rgb(53, 57, 65),#21303b) !important; background-image: linear-gradient(to right,rgba(53, 57, 65),#21303b)); border-radius: 4px;'); /*Likes text color */
addGlobalStyle('.W4P49 {background-color: #353941 !important;}'); /* photo page hr color*/
addGlobalStyle('._0T_XJ::before { background-image: linear-gradient(to left,rgba(250,250,250,0),#353941 100%) !important;} ');/* explore suggestions before */
addGlobalStyle('._0T_XJ::after { background-image: linear-gradient(to right,rgba(250,250,250,0),#353941 100%) !important;} ');/* explore suggestions after */

/*annoying white line*/
addGlobalStyle('.Nd_Rl, .fx7hk { border-top: 1px solid #21303b !important; }'); /* annoying white line */

/*for pages you have neither followed nor requested to follow */

addGlobalStyle('.jIbKX, .m4t9r.jIbKX {background: #21303b !important; color: #e8e8e8 !important; }'); /*'Follow' + Drop down */
addGlobalStyle('.jIbKX, .m4t9r.jIbKX {border-color: #21303b !important; }'); /*border color of Follow and drop down */


/*for pages that result in 'Sorry, this page isn't available */


addGlobalStyle('.-cx-PRIVATE-NavBar__root__ { background-color: #353941 !important; border-bottom: 1px solid #353941 !important; } ');/*gray header */
addGlobalStyle('.-cx-PRIVATE-NavBar__username__ { color: #90b8f8 !important; }'); /*username color */

/*fixes to 'Sorry, this...' */
addGlobalStyle('h2 { color: #90b8f8 !important; }'); /*'Sorry, this page isn't available' text color */

addGlobalStyle('.-cx-PRIVATE-ErrorPage__errorContainer__ { background-color: #26282b !important; padding: 100px 40px 0; } ');/*upper background */
addGlobalStyle('.-cx-PRIVATE-Page__main__ { background-color: #26282b !important; }'); /*background color */

addGlobalStyle('body { background-color: #26282b !important; } ');/*full background */
addGlobalStyle('.-cx-PRIVATE-Footer__copyright__ { color: #90b8f8 !important; } ');/*2019 Instagram */

/*for individual posts */
addGlobalStyle('.ltEKP .QBXjJ { border: 1px solid #26282b !important; } ');/*border color */
addGlobalStyle('.ltEKP .QBXjJ { background-color: #353941 !important; } ');/*main background color */
addGlobalStyle('.JyscU.ePUX4 .UE9AK { border-left: 1px solid #353941 !important }'); /*upper box--left border */
addGlobalStyle('.JyscU.ePUX4 .eo2As { border-left: 1px solid #353941 !important } ');/*mid box-left border */
addGlobalStyle('.JyscU .UE9AK { border-bottom: 1px solid #999999 !important } ');/*upper box-bottom border */
addGlobalStyle('.JyscU .Slqrh { border-top: 1px solid #999999 !important } ');/*mid bottom box-top border */
addGlobalStyle('.sH9wk { border-top: 1px solid #999999 !important } ');/*bottom box-top border */
addGlobalStyle('span {color: #dddddd !important;} ');/*text color in comment sections */

/*for opening posts on an IG page */
addGlobalStyle('.JyscU.ePUX4 .UE9AK { background-color: #353941 !important; border-bottom: 1px solid #8e8e8e;}'); /*upper box color border bottom color */

addGlobalStyle('.JyscU.ePUX4 .eo2As { background-color: #353941 !important; } ');/*general background color */

/*Main page*/
addGlobalStyle('.M9sTE { background-color: #353941 !important; }');
addGlobalStyle('article._8Rm4L.M9sTE.L_LMM.SgTZ1.ePUX4 { border: 1px solid #8e8e8e !important; }');

addGlobalStyle('.DPiy6 { background-color: #353941 !important; }');
addGlobalStyle('.b2rUF { border: 1px solid #999999 !important; }');

/*suggestions */
addGlobalStyle('.NP414.ccgHY.GZkEI { background-color: #26282b !important; border: #26282b !important; } ');/*background of suggestions pop up */

/*profile page */
addGlobalStyle('.JLbVX { background-color: #26282b !important; } ');/*background to 'start capturing moments' */
addGlobalStyle('.BvMHM.EzUlV { background-color: #26282b !important; }'); /*profile settings background */
addGlobalStyle('.BvMHM { border: 1px solid #999999 !important; } ');/*border color of settings */
addGlobalStyle('label { color: #84B3CD !important; }'); /*text color */
addGlobalStyle('h1.nsKSz { color: #637CDF !important; } ');/*text color of header */
addGlobalStyle('a.h-aRd.fuQUr { background-color: #353942 !important; } ');/*background color when highlighted */
addGlobalStyle('.JLJ-B, .p7vTm { color: #72ABFC !important; }'); /*text in boxes */
addGlobalStyle('.RO68f { background-color: #21303b !important; } ');/*boxes background */
addGlobalStyle('.JLJ-B, .p7vTm, .F0B8Y {border: 1px solid #353941 !important;}');
addGlobalStyle('.j_2Hd { border: #4B718E !important; color: #999999 !important; }'); /*password color */
addGlobalStyle('._lz6s { border-bottom: 1px solid #353942 !important; } ');/*bottom border of header */

/*buttons and inputs */

addGlobalStyle('svg { fill: #dddddd !important; }');
addGlobalStyle('.z79H6 {background-color: #353941 !important; border: 2px solid #8e8e8e !important;}');
addGlobalStyle('.z79H6:checked {border: 5px solid #5f85db !important;}');
addGlobalStyle('.PVkFi {color: #cecece !important;}');
addGlobalStyle('.-qQT3:hover{background-color: #26282b !important;}');
addGlobalStyle('.iXT5c {background-color: #353942;}');
addGlobalStyle('.X3a-9 textarea {color: #f0f0f0 !important;}');
addGlobalStyle('.QOqBd {background-color: #26282b !important;}');
addGlobalStyle('._8-yf5 {fill: #ed4956 !important;} ');/* liked button color=red */
addGlobalStyle('.Y7SkM {background-image: linear-gradient(to right,#0b4d7d,#0b66a9) !important}; ');/* Voice message back color */
addGlobalStyle('.sT4hC {background-color: #364d5f !important;}'); /* Listened voice message back color */
addGlobalStyle('.m7ETg {color: #e8e8e8 !important;}'); /* Direct message page name */
addGlobalStyle('.Kf8kP, .LA45P {background-color: rgba(232, 232, 232, 0.6) !important; border-radius: 50% !important;}');
addGlobalStyle('.Ypffh {color: #e8e8e8 !important;} ');/* comment text color */

/* Login page */
addGlobalStyle('._2hvTZ, ._9GP1n {background: #26282b !important; color: #e8e8e8 !important;}'); /* input colors */
addGlobalStyle('.coreSpriteLoggedOutWordmark, .coreSpriteMobileNavDirect {background-position: 0 !important; background-image: url(https://i.ibb.co/jk7mGG6/login-logo.png) !important;} ');/* logo */
addGlobalStyle('.gr27e {background-color: #353941 !important;} ');/* login div bg color */
addGlobalStyle('.izU2O, .izU2O {color: #e8e8e8 !important;}'); /* div font color */

//Things
addGlobalStyle('.tlZCJ:checked~.mwD2G::before {border-bottom: 2px solid #dbdbdb !important; border-left: 2px solid #dbdbdb !important;');
addGlobalStyle('.vJRqr {background: #26282b !important; border-color: #e8e8e8!important;}');
addGlobalStyle('.t3fjj {border-color: #26282b transparent transparent transparent !important;}');
addGlobalStyle('._690y5 {background: #e8e8e8 !important;}');
addGlobalStyle('.glyphsSpriteAdd__outline__24__blue_5, .glyphsSpriteAdd__outline__24__grey_9, .glyphsSpriteAdd_friend__outline__96, .glyphsSpriteApp_Icon_28, .glyphsSpriteApp_Icon_30, .glyphsSpriteApp_Icon_36, .glyphsSpriteApp_Icon_45, .glyphsSpriteApp_Icon_60, .glyphsSpriteApp_Icon_IGTV_44, .glyphsSpriteApp_instagram__outline__24__grey_9, .glyphsSpriteApp_messenger__outline__24__grey_9, .glyphsSpriteApp_twitter__outline__24__grey_9, .glyphsSpriteApp_whatsapp__outline__24__grey_9, .glyphsSpriteBirthday_cake, .glyphsSpriteBrowser_Icon_Chrome_28, .glyphsSpriteBrowser_Icon_Firefox_28, .glyphsSpriteBrowser_Icon_Generic_28, .glyphsSpriteBrowser_Icon_Safari_28, .glyphsSpriteCall__outline__24__grey_9, .glyphsSpriteCamera__outline__24__grey_9, .glyphsSpriteChevron_circle_shadow_left, .glyphsSpriteChevron_circle_shadow_right, .glyphsSpriteChevron_down__outline__24__grey_5, .glyphsSpriteChevron_down__outline__24__grey_9, .glyphsSpriteChevron_left__outline__24__grey_9, .glyphsSpriteChevron_right__outline__24__grey_5, .glyphsSpriteChevron_up__outline__24__grey_5, .glyphsSpriteChevron_up__outline__24__grey_9, .glyphsSpriteCircle__outline__24__grey_2, .glyphsSpriteCircle_add__outline__24__grey_5, .glyphsSpriteCircle_add__outline__24__grey_9, .glyphsSpriteCircle_check__filled__24__blue_5, .glyphsSpriteCircle_check__filled__24__green_5, .glyphsSpriteCircle_check__outline__24__blue_5, .glyphsSpriteComment__filled__16__white, .glyphsSpriteComment__outline__24__grey_9, .glyphsSpriteContact_import, .glyphsSpriteContact_import_sm, .glyphsSpriteDelete__outline__24__grey_0, .glyphsSpriteDirect__outline__24__grey_0, .glyphsSpriteDirect__outline__24__grey_9, .glyphsSpriteDirect__outline__96, .glyphsSpriteDownload_2FAC, .glyphsSpriteEmail_confirm, .glyphsSpriteError__outline__24__grey_9, .glyphsSpriteError__outline__96, .glyphsSpriteError_glyph_grey, .glyphsSpriteFB_Logo, .glyphsSpriteFacebook_circle__outline__24__grey_9, .glyphsSpriteFacebook_circle_filled_24, .glyphsSpriteFb_brand_center_grey, .glyphsSpriteForward__outline__24__grey_9, .glyphsSpriteFriend_Follow, .glyphsSpriteGlyph_chevron_right, .glyphsSpriteGlyph_circle_star, .glyphsSpriteGlyph_eye_off, .glyphsSpriteGlyph_volume_off, .glyphsSpriteGlyph_warning, .glyphsSpriteGrey_Close, .glyphsSpriteHalf_star_black, .glyphsSpriteHalf_star_white, .glyphsSpriteHashtag__outline__24__grey_9, .glyphsSpriteHeart__filled__16__grey_9, .glyphsSpriteHeart__filled__16__white, .glyphsSpriteHeart__filled__24__grey_9, .glyphsSpriteHeart__filled__24__red_5, .glyphsSpriteHeart__outline__24__grey_9, .glyphsSpriteHome__filled__24__grey_9, .glyphsSpriteHome__outline__24__grey_9, .glyphsSpriteIG_Lite_Direct_Variant_01, .glyphsSpriteIgtv__outline__24__blue_5, .glyphsSpriteIgtv__outline__24__grey_5, .glyphsSpriteInfo__filled__16__grey_9, .glyphsSpriteInput_clear, .glyphsSpriteLink__outline__24__grey_9, .glyphsSpriteLite_app_icon, .glyphsSpriteLocation__outline__24__grey_9, .glyphsSpriteLock__outline__24__grey_9, .glyphsSpriteLock__outline__96, .glyphsSpriteLogged_Out_QP_Glyph, .glyphsSpriteMail__outline__24__grey_9, .glyphsSpriteMenu__outline__24__grey_9, .glyphsSpriteMore_horizontal__filled__24__grey_0, .glyphsSpriteMore_horizontal__outline__16__grey_5, .glyphsSpriteMore_horizontal__outline__24__grey_5, .glyphsSpriteMore_horizontal__outline__24__grey_9, .glyphsSpriteNew_feed_activity, .glyphsSpriteNew_post__outline__24__grey_9, .glyphsSpriteNews_off_outline, .glyphsSpriteNews_off_outline_red, .glyphsSpritePaging_chevron, .glyphsSpritePhone_confirm, .glyphsSpritePhoto_grid__outline__24__blue_5, .glyphsSpritePhoto_grid__outline__24__grey_5, .glyphsSpritePhoto_list__outline__24__blue_5, .glyphsSpritePhoto_list__outline__24__grey_5, .glyphsSpritePlay__filled__16__grey_9, .glyphsSpriteSave__filled__24__grey_9, .glyphsSpriteSave__outline__24__blue_5, .glyphsSpriteSave__outline__24__grey_5, .glyphsSpriteSave__outline__24__grey_9, .glyphsSpriteSearch, .glyphsSpriteSearch__filled__24__grey_9, .glyphsSpriteSearch__outline__24__grey_9, .glyphsSpriteSettings__outline__24__grey_9, .glyphsSpriteShare__outline__24__grey_9, .glyphsSpriteStar_black, .glyphsSpriteStar_filled_24, .glyphsSpriteStar_filled_white_24, .glyphsSpriteStar_half_filled_24, .glyphsSpriteStar_half_filled_24_white, .glyphsSpriteStar_white, .glyphsSpriteStory__outline__24__grey_9, .glyphsSpriteTag_up__filled__16__white, .glyphsSpriteTag_up__outline__24__blue_5, .glyphsSpriteTag_up__outline__24__grey_5, .glyphsSpriteUser__filled__16__white, .glyphsSpriteUser__filled__24__grey_0, .glyphsSpriteUser__filled__24__grey_9, .glyphsSpriteUser__outline__24__grey_9, .glyphsSpriteUser_follow__filled__24__grey_9, .glyphsSpriteUser_follow__outline__24__grey_9, .glyphsSpriteUsers__outline__24__grey_9, .glyphsSpriteVerified_small, .glyphsSpriteVideo_chat__outline__24__grey_9, .glyphsSpriteVolume__outline__44, .glyphsSpriteVolume_off__filled__44, .glyphsSpriteWhite_Close, .glyphsSpriteX__filled__12__white, .glyphsSpriteX__outline__24__grey_9 {background-image: url(https://i.ibb.co/dMPqNs2/c14ffe44a4f6.png) !important;}');
addGlobalStyle('.coreSpriteActivityHeart, .coreSpriteAddText, .coreSpriteAppIcon, .coreSpriteAppStoreButton, .coreSpriteBoomerang, .coreSpriteCall, .coreSpriteCheck, .coreSpriteChevronDark, .coreSpriteChevronDownGrey, .coreSpriteChevronRight, .coreSpriteChevronRightBlue, .coreSpriteChevronRightBlue-3x, .coreSpriteChevronRightBlue-4x, .coreSpriteCi, .coreSpriteClose, .coreSpriteCloseLight, .coreSpriteDesktopNavDirect, .coreSpriteDesktopPhotoGrid, .coreSpriteDesktopPhotoGridActive, .coreSpriteDesktopProfileIGTV, .coreSpriteDesktopProfileIGTVActive, .coreSpriteDesktopProfileSave, .coreSpriteDesktopProfileSaveActive, .coreSpriteDesktopProfileTagged, .coreSpriteDesktopProfileTaggedActive, .coreSpriteDirectHeart, .coreSpriteDismissLarge, .coreSpriteDismissSmall, .coreSpriteDownload, .coreSpriteDropdownArrowBlue5, .coreSpriteDropdownArrowBlue6, .coreSpriteDropdownArrowGrey9, .coreSpriteDropdownArrowWhite, .coreSpriteFacebookIcon, .coreSpriteFacebookIconInverted, .coreSpriteGallery, .coreSpriteGlyphGradient, .coreSpriteGlyphWhite, .coreSpriteGooglePlayButton, .coreSpriteHashtag, .coreSpriteHeartSmall, .coreSpriteHyperlapse, .coreSpriteIgLiteHalfsheetInstagramLogo, .coreSpriteInfo, .coreSpriteInputAccepted, .coreSpriteInputError, .coreSpriteInputRefresh, .coreSpriteKeyhole, .coreSpriteLeftChevron, .coreSpriteLeftPaginationArrow, .coreSpriteLikeAnimationHeart, .coreSpriteLocation, .coreSpriteLocationActive, .coreSpriteLock, .coreSpriteLockSmall, .coreSpriteLoggedOutGenericUpsell,  .coreSpriteMobileNavDirect, .coreSpriteMobileNavTypeLogo, .coreSpriteNavBack, .coreSpriteNotificationLeftChevron, .coreSpriteNotificationRightChevron, .coreSpriteOptionsEllipsis, .coreSpriteOptionsEllipsisLight, .coreSpritePagingChevron, .coreSpritePlayIconSmall, .coreSpritePrivateLock, .coreSpriteProfileCamera, .coreSpriteReload, .coreSpriteRightChevron, .coreSpriteRightPaginationArrow, .coreSpriteSaveNull, .coreSpriteSaveStory, .coreSpriteSearchClear, .coreSpriteSearchIcon, .coreSpriteSensitivityIcon, .coreSpriteSensitivityIconSmall, .coreSpriteSpeechBubbleSmall, .coreSpriteSpinsta, .coreSpriteSpinstaNux, .coreSpriteSpinstaStory, .coreSpriteStar, .coreSpriteStoryCreation, .coreSpriteStoryCreationAlt, .coreSpriteStoryRing, .coreSpriteStoryViewCount, .coreSpriteTaggedNull, .coreSpriteUnreadComments, .coreSpriteUnreadLikes, .coreSpriteUnreadRelationships, .coreSpriteUnreadUsertags, .coreSpriteVerifiedBadge, .coreSpriteVerifiedBadgeSmall, .coreSpriteVideoNux, .coreSpriteViewCount, .coreSpriteWindowsStoreButton {background-image: url(https://i.ibb.co/NyY8RVJ/32f0a4f27407.png) !important;}');
addGlobalStyle('.TOh1s.m82CD {color: #cecece !important;}');
addGlobalStyle('._01UL2, .AvhYw {background: #1c2127 !important; border: 0 !important;}');//notification div back
addGlobalStyle('.TOh1s {background: linear-gradient(to bottom,transparent 0%,#1c2127 100%) !important;}');
addGlobalStyle('.YFq-A {color: #8e8e8e !important;}');
addGlobalStyle('.mOBkM {border-color: #26282b !important;}');
addGlobalStyle('._6xe7A {background: #353941 !important;}');
addGlobalStyle('.d-Vzv {border: 1.5px solid #cecece !important;}');
addGlobalStyle('.eShHj {background-color: #26282b !important;}');
addGlobalStyle('.P1TbB {border: 1px solid #cecece; background-color: #26282b !important; color: #cecece !important;}');
addGlobalStyle('.VideM {background: #353941 !important; border: 1px solid #c7c7c7 !important;}');
addGlobalStyle('.AHCwU {background: #353941 !important; border: 1px solid #c7c7c7 !important;}');

// Likes
addGlobalStyle('._1XyCr {background: #353941 !important;}');


waitForKeyElements( 'img.s4Iyt', function() {
  var x = document.getElementsByClassName("s4Iyt");
  x[0].src = "https://i.ibb.co/dWw1hSr/insta-script-logo.png";
} );

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;
}

 

  • Like 1
Link to comment
Share on other sites


  • Member ID:  100
  • Followers:  9
  • Content Count:  5,537
  • Content Per Day:  2.69
  • Reputation:   1,478
  • Days Won:  42
  • With Us For:  2,061 Days
  • Status:  Offline
  • Last Seen:  
  • Device:  Windows

Yaş ilerlediği içinmidir nedir, eskiden hiç kullanmadığım  karanlık temaları cep telefonum dahil her şeyde kullanmaya başladım.

Link to comment
Share on other sites

  • Admin

  • Member ID:  93
  • Followers:  48
  • Content Count:  19,271
  • Content Per Day:  9.35
  • Reputation:   3,048
  • Days Won:  162
  • With Us For:  2,061 Days
  • Status:  Offline
  • Last Seen:  
  • Device:  Windows

Link to comment
Share on other sites


  • Member ID:  305
  • Followers:  0
  • Content Count:  35
  • Content Per Day:  0.02
  • Reputation:   19
  • Days Won:  0
  • With Us For:  2,061 Days
  • Status:  Offline
  • Last Seen:  
  • Device:  Windows

Firefox kullanıyorsanız Dark Reader her siteyi karanlık tema ile gösterebiliyor. Tavsiye ederim.

  • Like 1
Link to comment
Share on other sites


  • Member ID:  739
  • Followers:  17
  • Content Count:  1,483
  • Content Per Day:  0.72
  • Reputation:   772
  • Days Won:  11
  • With Us For:  2,061 Days
  • Status:  Offline
  • Last Seen:  
  • Device:  Android

tyler78, şöyle yazmıştı: (43 dk önce)

Firefox kullanıyorsanız Dark Reader her siteyi karanlık tema ile gösterebiliyor. Tavsiye ederim.

Aynı eklenti Chrome'da da varmış. Elle ayarlanmış tema kadar düzgün olmayabilir ama bazı sitelerde ürettiği sonuç gayet iyi. Ayrıca elle özel CSS girebileceğimiz modülü de varmış. Öneri için teşekkürler :good:

  • Like 1
Link to comment
Share on other sites


  • Member ID:  138
  • Followers:  0
  • Content Count:  6,214
  • Content Per Day:  3.02
  • Reputation:   2,486
  • Days Won:  115
  • With Us For:  2,061 Days
  • Status:  Offline
  • Last Seen:  
  • Device:  Windows

Güncellendi.

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...