instagram code snippet
option to block reels
'puf' font by
middlepot
make a new code snippet, and paste the following:
function addStyleString(str) { var node = document.createElement('style'); node.innerHTML = str; document.body.appendChild(node); } if(window.location.host.includes('instagram.com')){ var link = document.querySelectorAll("link[rel*='icon']") || document.createElement('link'); for(var i = 0; i < link.length; ++i){ link[i].type = 'image/x-icon'; link[i].rel = 'icon'; link[i].href = 'https://i.imgur.com/2HrmsdW.png'; document.getElementsByTagName('head')[0].appendChild(link[i]) document.title = '𝑖𝑛𝑠𝑡𝑎𝑔𝑟𝑎𝑚' } var c = ` @font-face { font-family: 'puf'; font-weight: normal; font-style: normal; src: url('https://dl.dropbox.com/scl/fi/awsz4bomi7ro2p29etl9n/puf-2.otf?rlkey=ygxizoa1fk93pxhioc9z50l4n&dl=0') format('opentype'); } .x1roi4f4 { color: #fff0f4; } .x5n08af { color: #ffc6d3; } .x2b8uid, .xeuugli, ._aad6 { font-family: 'puf'; color: #af8f8b; text-transform: lowercase; } ._aad7{ font-family: 'puf'; color: #cbb0ad; } ._acao._acat, a._acao._acat, a._acao._acat:visited { color: #af8f8b; } .xwib8y2 { color: #ffc6d3; } ._a6hd._a6hd { font-family: 'puf'; color: #ffc6d3; -moz-transition: all 0.3s ease-out; /* FF3.7+ */ -o-transition: all 0.3s ease-out; /* Opera 10.5 */ -webkit-transition: all 0.3s ease-out; /* Saf3.2+, Chrome */ transition: all 0.3s ease-out; } ._a6hd._a6hd:hover{ font-family: 'puf'; color: #ffc6d3; letter-spacing:1px; -moz-transition: all 0.3s ease-out; /* FF3.7+ */ -o-transition: all 0.3s ease-out; /* Opera 10.5 */ -webkit-transition: all 0.3s ease-out; /* Saf3.2+, Chrome */ transition: all 0.3s ease-out;; } ._aa4c { --barcelona-logo: 0, 0, 0; --barcelona-primary-button: 0, 0, 0; --barcelona-secondary-text: 153, 153, 153; --base-unit: 4px; --blue-0: #6A329F; --blue-1: #6A329F; --blue-2: #6A329F; --blue-3: #6A329F; --blue-4: #6A329F; --blue-5: #6A329F; --blue-6: #6A329F; --blue-7: #6A329F; --blue-8: #6A329F; --blue-9: #6A329F; --challenge-link: 54, 54, 54; --creation-header-height: 43px; --creation-min-padding-x: 32px; --creation-modal-max-height: 898px; --creation-modal-min-height: 391px; --creation-padding-x: 64px; --creation-padding-y: 112px; --creation-settings-width: 340px; --cyan-5: 39, 196, 245; --desktop-grid-item-margin: 28px; --desktop-grid-item-margin-slim: 4px; --desktop-in-feed-story-item-height: 208px; --desktop-in-feed-story-item-width: 116px; --direct-attachment-image-grid-item-size: 78px; --direct-attachment-story-height: 150px; --direct-attachment-story-large-height: 256px; --direct-attachment-story-large-width: 164px; --direct-attachment-story-width: 84px; --direct-message-max-width: 236px; --fb-signup-page-profile-pic-size: 88px; --feed-sidebar-padding: 32px; --feed-sidebar-padding-familiar: 64px; --feed-sidebar-width: 319px; --font-family-system: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; --font-family-system-prism: 'Instagram Sans UI', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; --font-weight-system-bold: 700; --font-weight-system-extra-bold: 800; --font-weight-system-extra-light: 200; --font-weight-system-light: 300; --font-weight-system-medium: 500; --font-weight-system-regular: 400; --font-weight-system-semibold: 600; --gradient-lavender: #ffc6d3; --gradient-orange: #ffc6d3; --gradient-pink: #ffc6d3; --gradient-purple: #ffc6d3; --gradient-red: #ffc6d3; --gradient-yellow: #ffc6d3; --green-4: 120, 222, 69; --green-5: 88, 195, 34; --green-6: 55, 166, 0; --grey-0: #ffc6d3; --grey-1: #ffc6d3; --grey-2: #ffc6d3; --grey-3: #ffc6d3; --grey-4: #ffc6d3; --grey-5: #ffc6d3; --grey-6: #ffc6d3; --grey-7: #ffc6d3; --grey-8: #ffc6d3; --grey-9: #ffc6d3; --grey-10: #ffc6d3; --ig-badge: #ffc6d3; --ig-banner-background: 255, 255, 255; --ig-close-friends-refreshed: 28, 209, 79; --ig-disabled-action-text: 169, 219, 255; --ig-elevated-background: 255, 255, 255; --ig-elevated-highlight-background: 239 239 239; --ig-elevated-separator: 219, 219, 219; --ig-error-or-destructive: 237, 73, 86; --ig-facebook-blue: 53, 121, 234; --ig-focus-stroke: 168, 168, 168; --ig-highlight-background: 239, 239, 239; --ig-hover-overlay: 0, 0, 0, .05; --ig-link: 255,198,211; --ig-live-badge: 255, 1, 105; --ig-primary-background: 255, 255, 255; --ig-primary-button: 0, 149, 246; --ig-primary-button-hover: transparent; --ig-primary-icon: #ffc6d3; --ig-primary-icon-hover: #ffc6d3; --ig-primary-text: #af8f8b; --ig-secondary-background: 250, 250, 250; --ig-secondary-button: #af8f8b; --ig-secondary-button-background: 255,198,211; --ig-secondary-button-hover: transparent; --ig-tertiary-button-background: 255, 255, 255; --ig-tertiary-button-border: 219, 219, 219; --ig-tertiary-button-hover: transparent; --ig-tertiary-button-text: 38, 38, 38; --ig-secondary-icon: 142, 142, 142; --ig-secondary-text: 115, 115, 115; --ig-separator: 219, 219, 219; --ig-stroke: 219, 219, 219; --ig-stroke-on-media: 255, 255, 255; --ig-subscribers-only: 118, 56, 250; --ig-success: 88, 195, 34; --ig-temporary-highlight: 245, 251, 255; --ig-tertiary-icon: 199, 199, 199; --ig-tertiary-text: 199, 199, 199; --ig-text-input-border-prism: 219, 223, 228; --ig-text-input-border-hover-prism: 15, 20, 25; --ig-text-on-color: 255, 255, 255; --ig-text-on-media: 255, 255, 255; --ig-toggle-background-on-prism: 15, 20, 25; --ig-toggle-background-off-prism: 219, 223, 228; --ig-toggle-background-disabled-on-prism: 162, 170, 180; --ig-toggle-background-disabled-off-prism: 233, 237, 240; --ig-toggle-outline-prism: 219, 223, 228; --ig-toggle-outline-disabled-prism: 243, 245, 247; --ig-stroke-prism: 255, 255, 255; --ig-stroke-disabled-on-prism: 233, 237, 240; --ig-stroke-disabled-off-prism: 248, 249, 249; --in-feed-story-item-height: 240px; --in-feed-story-item-width: 135px; --input-border-radius: 6px; --large-layout-min: 1500px; --live-video-border-radius: 4px; --media-info: 335px; --medium-layout-max: 1499px; --medium-layout-min: 1080px; --mobile-grid-item-margin: 2px; --mobile-nav-height: 45px; --modal-backdrop-dark: rgb(0 0 0 / 85%); --modal-backdrop-default: rgba(0, 0, 0, .65); --modal-border-radius: 12px; --modal-padding: 16px; --modal-z-index: 100; --nav-narrow-width: 72px; --nav-medium-width: 244px; --nav-wide-width: 335px; --orange-5: 253, 141, 50; --photo: 600px; --pink-5: 209, 8, 105; --post-separator: 239, 239, 239; --purple-5: 163, 7, 186; --red-4: 255, 104, 116; --red-5: 237, 73, 86; --red-6: 198, 35, 48; --red-7: 167, 3, 17; --refinement-section-height: 50px; --revamp-nav-bottom-toolbar-height: 50px; --revamp-feed-card-max-height: 835x; --revamp-feed-card-min-height: 835px; --revamp-feed-card-media-min-width: 390px; --revamp-feed-card-dense-padding: 16px; --revamp-feed-horizontal-padding-small-screen: 24px; --revamp-feed-horizontal-padding-large-screen: 32px; --revamp-feed-vertical-padding: 32px; --right-rail-width: 352px; --nav-wide-screen-min: 1920px; --scrollable-content-header-height-med: 49px; --scrollable-content-header-height: 44px; --search-box-height: 40px; --search-modal-height-expanded: 450px; --search-modal-height: 362px; --search-modal-top-offset: 12px; --search-result-height: 50px; --search-result-inline-top-offset: 60px; --search-result-list-width: 375px; --small-layout-max: 1079px; --small-layout-min: 800px; --story-gallery-preview-scale-correction: 2.5; --story-progressbar-update-tick: .1s; --story-swap-animation-duration: 350ms; --system-10-font-size: 10px; --system-10-line-height: 12px; --system-11-font-size: 11px; --system-11-line-height: 13px; --system-12-font-size: 12px; --system-12-line-height: 16px; --system-13-font-size: 12px; --system-14-font-size: 14px; --system-14-line-height: 18px; --system-15-font-size: 15px; --system-16-font-size: 16px; --system-16-line-height: 24px; --system-18-font-size: 18px; --system-18-line-height: 24px; --system-20-line-height: 25px; --system-22-font-size: 22px; --system-22-line-height: 26px; --system-24-font-size: 24px; --system-24-line-height: 27px; --system-26-font-size: 26px; --system-26-line-height: 28px; --system-28-font-size: 28px; --system-28-line-height: 32px; --system-32-font-size: 32px; --system-32-line-height: 40px; --tos-box-shadow: 0, 0, 0; --web-always-black: 0, 0, 0; --web-always-white: 255, 255, 255; --web-overlay-on-media: 38, 38, 38; --web-secondary-action: 224, 241, 255; --yellow-5: 253, 203, 92; color-scheme: light; } ::-webkit-scrollbar { width: 6px; height: 10px; background: transparent; } ::-webkit-scrollbar-thumb { background-color: #ffeff3; -webkit-border-radius: 5ex; border: 1px solid #e3cccc; } ::selection {text-shadow: 0 0 2px #cec1bb;color:#cec1bb; background: transparent;} ::-moz-selection {text-shadow: 0 0 2px #cec1bb;color:#cec1bb} input:-webkit-autofill {-webkit-box-shadow: 0 0 0px 1000px #e3cccc inset!important;-webkit-animation-name: autofill;-webkit-animation-fill-mode: both;border-color: #9F918E !important;} @-webkit-keyframes autofill {to {color: #e3cccc;border-color: #9F918E !important;}} `; addStyleString(c); }
copy text
if you want to block reels, paste the following somewhere in your code above 'var c ='
if(window.location.href.includes('instagram.com/reels')){ var link = location.href="https://www.instagram.com/home";}
copy text