It looks like this is a web page, not a feed. I looked for a feed associated with this page, but couldn't find one. Please enter the address of your feed to validate.

Source: http://tvtropes.org/pmwiki/no_outbounds.php?o=http%3A//stomatolgoldstein.ru/lechenie-zubov-v-spb/

  1. <!DOCTYPE html>
  2. <html>
  3. <head lang="en">
  4.                        <link rel="preload" href="/images/loading-graphic.png" as="image">
  5.  
  6.            <!-- Google tag (gtag.js) -->
  7.            <script async src="https://www.googletagmanager.com/gtag/js?id=G-XPPLXMRF6Z"></script>
  8.            <script>
  9.                var pbjs = pbjs || {};
  10.  
  11.                // Used for Video players on Tropes
  12.                var tropes_videos_commands = tropes_videos_commands || [];
  13.  
  14.                window.dataLayer = window.dataLayer || [];
  15.                function gtag(){dataLayer.push(arguments);}
  16.                gtag('js', new Date());
  17.                gtag('config', 'G-XPPLXMRF6Z');
  18.  
  19.                window.googletag = window.googletag || {cmd: []};
  20.            </script>
  21.  
  22.                        <script>
  23.                function object(objectId) {
  24.                    if (document.getElementById && document.getElementById(objectId)) {
  25.                        return document.getElementById(objectId);
  26.                    } else if (document.all && document.all(objectId)) {
  27.                        return document.all(objectId);
  28.                    } else if (document.layers && document.layers[objectId]) {
  29.                        return document.layers[objectId];
  30.                    } else {
  31.                        return false;
  32.                    }
  33.                }
  34.  
  35.                // JAVASCRIPT COOKIES CODE: for getting and setting user viewing preferences
  36.                var cookies = {
  37.                    create: function (name, value, days2expire, path) {
  38.                        var date = new Date();
  39.                        date.setTime(date.getTime() + (days2expire * 24 * 60 * 60 * 1000));
  40.                        var expires = date.toUTCString();
  41.                        document.cookie = name + '=' + value + ';' + 'expires=' + expires + ';domain=.tvtropes.org;' + 'path=' + path + ';';
  42.                    },
  43. createWithExpire: function(name, value, expires, path) {
  44. document.cookie = name + '=' + value + ';' + 'expires=' + expires + ';domain=.tvtropes.org;' + 'path=' + path + ';';
  45. },
  46.                    read: function (name) {
  47.                        var cookie_value = "",
  48.                            current_cookie = "",
  49.                            name_expr = name + "=",
  50.                            all_cookies = document.cookie.split(';'),
  51.                            n = all_cookies.length;
  52.  
  53.                        for (var i = 0; i < n; i++) {
  54.                            current_cookie = all_cookies[i].trim();
  55.                            if (current_cookie.indexOf(name_expr) === 0) {
  56.                                cookie_value = current_cookie.substring(name_expr.length, current_cookie.length);
  57.                                break;
  58.                            }
  59.                        }
  60.                        return cookie_value;
  61.                    },
  62.                    update: function (name, val) {
  63.                        this.create(name, val, 300, "/");
  64.                    },
  65.                    remove: function (name) {
  66.                        //delete cookie with and without domain setting
  67.                        document.cookie = name + "=; expires=Thu, 01 Jan 1970 00:00:00 GMT; domain=.tvtropes.org; path=/;";
  68.                        document.cookie = name + "=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/;";
  69.                    }
  70.                };
  71.  
  72.                function updateUserPrefs() {
  73.                    //GENERAL: detect and set browser, if not cookied (will be treated like a user-preference and added to the #user-pref element)
  74.                    if( !cookies.read('user-browser') ){
  75.                        var broswer = '';
  76.  
  77.                        if(navigator.userAgent.match(/iPhone/i) || navigator.userAgent.match(/iPod/i) ){
  78.                            browser = 'iOS';
  79.                        } else if (/Opera[\/\s](\d+\.\d+)/.test(navigator.userAgent)) {
  80.                            browser = 'opera';
  81.                        } else if (/MSIE (\d+\.\d+);/.test(navigator.userAgent)) {
  82.                            browser = 'MSIE';
  83.                        } else if (/Navigator[\/\s](\d+\.\d+)/.test(navigator.userAgent)) {
  84.                            browser = 'netscape';
  85.                        } else if (/Chrome[\/\s](\d+\.\d+)/.test(navigator.userAgent)) {
  86.                            browser = 'chrome';
  87.                        } else if (/Safari[\/\s](\d+\.\d+)/.test(navigator.userAgent)) {
  88.                            browser = 'safari';
  89.                            /Version[\/\s](\d+\.\d+)/.test(navigator.userAgent);
  90.                            browserVersion = new Number(RegExp.$1);
  91.                        } else if (/Firefox[\/\s](\d+\.\d+)/.test(navigator.userAgent)) {
  92.                            browser = 'firefox';
  93.                        } else {
  94.                            browser = 'internet_explorer';
  95.                        }
  96.                        cookies.create('user-browser',browser,1,'/');
  97.                        document.getElementById('user-prefs').classList.add('browser-' + browser);
  98.                    } else {
  99.                        document.getElementById('user-prefs').classList.add('browser-' + cookies.read('user-browser'));
  100.                    }
  101.                    //update user preference settings
  102.                    if (cookies.read('wide-load') !== '') document.getElementById('user-prefs').classList.add('wide-load');
  103.                    if (cookies.read('mono-font') !== '') document.getElementById('user-prefs').classList.add('mono-font');
  104.                    if (cookies.read('night-vision') !== '') document.getElementById('user-prefs').classList.add('night-vision');
  105.                    if (cookies.read('sticky-header') !== '') document.getElementById('user-prefs').classList.add('sticky-header');
  106.                    if (cookies.read('show-spoilers') !== '') document.getElementById('user-prefs').classList.add('show-spoilers');
  107.                    if (cookies.read('tvtropes-editor-on') !== '') document.getElementById('user-prefs').classList.add('tvtropes-editor-on');
  108.                    if (cookies.read('folders-open') !== '') document.getElementById('user-prefs').classList.add('folders-open');
  109.                    if (cookies.read('lefthand-sidebar') !== '') document.getElementById('user-prefs').classList.add('lefthand-sidebar');
  110.                    if (cookies.read('highlight-links') !== '') document.getElementById('user-prefs').classList.add('highlight-links');
  111.                    if (cookies.read('forum-gingerbread') !== '') document.getElementById('user-prefs').classList.add('forum-gingerbread');
  112.                    //if the user is logged in, update cookies based on their database settings
  113.                                        //updates element
  114.                    if(cookies.read('shared-avatars') !== '') document.getElementById('user-prefs').classList.add('shared-avatars');
  115.                    if(cookies.read('new-search') !== '') document.getElementById('user-prefs').classList.add('new-search');
  116.                    if(cookies.read('stop-auto-play-video') !== '') document.getElementById('user-prefs').classList.add('stop-auto-play-video');
  117.                    //desktop view on mobile
  118.                    if (cookies.read('desktop-on-mobile') !== ''){
  119.                        document.getElementById('user-prefs').classList.add('desktop-on-mobile');
  120.  
  121.                        var viewport = document.querySelector("meta[name=viewport]");
  122.                        viewport.setAttribute('content', 'width=1000');
  123.                    }
  124.  
  125.                }
  126.  
  127.                function updateDesktopPrefs() {
  128.                    if (cookies.read('wide-load') !== '') document.getElementById('sidebar-toggle-wideload').classList.add('active');
  129.                    if (cookies.read('night-vision') !== '') document.getElementById('sidebar-toggle-nightvision').classList.add('active');
  130.                    if (cookies.read('sticky-header') !== '') document.getElementById('sidebar-toggle-stickyheader').classList.add('active');
  131.                    if (cookies.read('show-spoilers') !== '') document.getElementById('sidebar-toggle-showspoilers').classList.add('active');
  132.  
  133.                }
  134.  
  135.                function updateMobilePrefs() {
  136.                    if (cookies.read('show-spoilers') !== '') document.getElementById('mobile-toggle-showspoilers').classList.add('active');
  137.                    if (cookies.read('night-vision') !== '') document.getElementById('mobile-toggle-nightvision').classList.add('active');
  138.                    if (cookies.read('sticky-header') !== '') document.getElementById('mobile-toggle-stickyheader').classList.add('active');
  139.                    if (cookies.read('highlight-links') !== '') document.getElementById('mobile-toggle-highlightlinks').classList.add('active');
  140.  
  141.                }
  142.  
  143.                function is_mobile() {
  144.                if(document.body.clientWidth && document.body.clientWidth<=768) return true;
  145.                else return false;
  146.                }
  147.  
  148.            </script>
  149. <script type="text/javascript">
  150.                // Create 50/50 variable for split testing ads
  151.                var split_testing = Math.random() < 0.5 ? "control" : "test";
  152.  
  153.                // Check to see if `split_version` is a GET variable, if so and the value is `test`, change the split_testing variable to `test`
  154.                var urlParams = new URLSearchParams(window.location.search);
  155.                if(urlParams.has('split_version') && urlParams.get('split_version') == "test") split_testing = "test";
  156.                else if(urlParams.has('split_version') && urlParams.get('split_version') == "control") split_testing = "control";
  157.  
  158.                // var split_testing = "control";
  159.                console.log("Split Testing: " + split_testing);
  160.                
  161.                var country_code_list = ['AT','BE','BG','CH','CY','CZ','DE','DK','EE','ES','FI','FR','GB','GF','GP','GR','HR','HU','IC','IE','IS','IT','LI','LT','LU','LV','MF','MQ','MT','NL','NO','PL','PT','RE','RO','SE','SI','SK','SX','YT'];
  162.                
  163.                var site_htl_settings = {
  164.                        "adx"              : "yes", // yes/no if we should include adx on page
  165.                        "groupname"        : "Unknown", // track groupname in htl/gam
  166.                        "has_folders"      : "unknown", // track folder pages in htl/gam
  167.                        "user_type"        : "guest", // track member/guest in htl/gam
  168.                        "is_testing"       : "no", // yes/no if in testing mode
  169.                        "split_testing"    : "1", // 0/1, 0=control, 1=test, for a/b testing
  170.                        "send_reports"     : "1", // true/false if reports should be sent for logging in DataBricks
  171.                        "report_url"       : "https://analytics.tvtropes.org/analytics-data/tvtropes/", // Endpoint for logging (data stream)
  172.                        "logging_turned_on": "1", // true/false if console logging should be turned on
  173.                        "site_name"        : "tvtropes", // Site name for display in logging
  174.                        "sticky_slot_names": ["tvtropes_dt_sticky", "tvtropes_m_sticky"], // Possible slot names for the sticky slot
  175.                }
  176. </script>
  177.  
  178.            
  179. <script>
  180. // Create the ad project
  181. var ads_project = (function(sent_in_settings){
  182.    var is_mobile = (document.innerWidth <= 768) ? true : false;
  183.  
  184.    //default settings
  185.    var setting_defaults = {
  186.        "adx"              : "yes",
  187.        "groupname"        : "",
  188.        "has_folders"      : "unknown",
  189.        "user_type"        : "guest",
  190.        "is_testing"       : "no",
  191.        "split_testing"    : "0",
  192.        "send_reports"     : "0",
  193.        "logging_turned_on": "false",
  194.        "site_name"        : "site_name",
  195.        "report_url"       : "",
  196.        "page_template"    : "",
  197.        "sticky_slot_names": []
  198.    }
  199.  
  200.    // Combine defaults with sent in parameters
  201.    var project_settings = {...setting_defaults, ...sent_in_settings};
  202.  
  203.    /***************************************
  204.    --------------- AD CODE ---------------
  205.    ***************************************/
  206.    
  207.    // Variables for refresh logic (sticky)
  208.    var refresh = true;
  209.    var sticky_refresh_counter = 1;
  210.    var refresh_timer;
  211.    var global_ad_slot_name = "";
  212.    var global_bidder_name = "";
  213.    var last_refresh_time = "";
  214.    var unfilled_count = 0;
  215.    
  216.    if(split_testing == "control"){
  217.        window.htlbid = window.htlbid || {};
  218.        htlbid.cmd = htlbid.cmd || [];
  219.    }
  220.    else{
  221.        window.BCLighthouseTag = window.BCLighthouseTag || {};
  222.        window.BCLighthouseTag.cmd = window.BCLighthouseTag.cmd || [];
  223.    }
  224.  
  225.    // If user type is a member
  226.    if(project_settings.user_type == "member"){
  227.        // Check for UID2 cookie
  228.        var uid2_cookie = cookies.read('uid2_identity');
  229.        var json_cookie = (uid2_cookie) ? JSON.parse(uid2_cookie) : "";
  230.        
  231.        // If UID2 cookie exists and it's not in the banned country list, set UID2
  232.        if(!uid2_cookie || (json_cookie && json_cookie.response)){
  233.            var request = new XMLHttpRequest();
  234.        
  235.            request.open("post", "/ajax/uid2_creation.php", 1);
  236.  
  237.            request.setRequestHeader("Content-Type", "application/json; charset=UTF-8")
  238.  
  239.            request.onload = function(){
  240.                if(request.status == 200){
  241.                    var json = JSON.parse(request.responseText);
  242.                    // Create cookie with response from request
  243.                    cookies.create('uid2_identity', json.response, 7, '/');
  244.  
  245.                    output_logging("UID2 cookie created");
  246.  
  247.                    // Refresh specific modules
  248.                    pbjs.refreshUserIds({ submoduleNames: ['uid2'] });
  249.                }
  250.                else output_logging("Failed to create UID2 cookie");
  251.            }
  252.  
  253.            request.send();
  254.        }
  255.    }
  256.  
  257.    if(split_testing == "control"){
  258.        htlbid.cmd.push(function() {
  259.            htlbid.layout('universal');
  260.            
  261.            // Only set these if given in settings
  262.            if(project_settings.groupname != "") htlbid.setTargeting("groupname", project_settings.groupname);
  263.            if(project_settings.page_template != "") htlbid.setTargeting("page_template", project_settings.page_template);
  264.  
  265.            htlbid.setTargeting("adx", project_settings.adx);
  266.            htlbid.setTargeting('website', project_settings.site_name);
  267.            htlbid.setTargeting('user_type', project_settings.user_type);
  268.            htlbid.setTargeting('has_folders', project_settings.has_folders);
  269.  
  270.            // On slot rendering (or unfilled)
  271.            googletag.cmd.push(function() {
  272.                googletag.pubads().addEventListener('slotRenderEnded', function(event){
  273.                    var slot_targeting = event.slot.getTargetingMap();
  274.                    
  275.                    var bidder_name, size = 0;
  276.                    
  277.                    // If it's empty, no bids?
  278.                    var cpm = (slot_targeting["hb_pb"]) ? slot_targeting["hb_pb"][0] : 0;
  279.                    
  280.                    // In case there is no size from anywhere
  281.                    if(event.size && event.size.length > 0) size = event.size[0]+"x"+event.size[1];
  282.                    
  283.                    // Either Amazon/ADX or Unfilled
  284.                    if(event.advertiserId != 5363417171){
  285.                        if(event.advertiserId == 4430894621){
  286.                            bidder_name = "adx";
  287.                            
  288.                            if(cpm == 0) cpm = 0.11;
  289.                        }
  290.                        else if(event.advertiserId == 4470907880){
  291.                            bidder_name = "amazon";
  292.                            
  293.                            if(cpm == 0) cpm = 0.11;
  294.                        }
  295.                        else if(event.advertiserId == 4440668109) bidder_name = "house";
  296.                        else if(!event.advertiserId || event.isEmpty) bidder_name = "unfilled";
  297.                        else bidder_name = "unknown";
  298.                        
  299.                        if(bidder_name != "unknown" && bidder_name != "unfilled") output_logging("ADX/Amazon bid report");
  300.                        else output_logging("unknown/unfilled bid report");
  301.                    }
  302.                    // Bidder won the auction
  303.                    else{
  304.                        output_logging("Bidders bid report");
  305.                        
  306.                        bidder_name = (slot_targeting["hb_bidder"]) ? slot_targeting["hb_bidder"][0] : "unknown";
  307.                    }
  308.                    
  309.                    var slot = {
  310.                        "slotName"  : validate_value(event.slot.getAdUnitPath().replace("/1005222/", ""), "string", 50),
  311.                        "cpm"       : validate_value(parseFloat(cpm), "number"),
  312.                        "bidder"    : validate_value(bidder_name, "string", 50),
  313.                        "size"      : validate_value(size, "string", 50),
  314.                        "adUnitCode": validate_value(event.slot.getSlotId().getDomId(), "string", 50),
  315.                        "empty"     : validate_value(event.isEmpty, "boolean")
  316.                    };
  317.  
  318.                    var slot_tracking = Object.assign({}, {ad_unit: ""});
  319.                    
  320.                    // Override ad-unit with this ad unit to send reporting data
  321.                    slot_tracking.ad_unit = slot;
  322.                    
  323.                    // Loggin out bid report
  324.                    output_logging(slot_tracking);
  325.                    output_logging(slot_tracking.ad_unit.slotName + " "+ slot_tracking.ad_unit.bidder + ", "+ slot_tracking.ad_unit.cpm);
  326.                    
  327.                    if(project_settings.send_reports == "1"){
  328.                        try{
  329.                            // Send actual bid report
  330.                            send_bid_report(slot_tracking);
  331.                        }
  332.                        catch(e){
  333.                            output_logging("Bid report error");
  334.                        }
  335.                    }
  336.                    
  337.                    // Sticky changes
  338.                    if(project_settings.sticky_slot_names.includes(slot_tracking.ad_unit.slotName)){
  339.                        // Check if the bidder is one of these bidders, if so, hide the sticky container
  340.                        if(["gumgum", "kargo", "unknown", "unfilled"].includes(bidder_name)){
  341.                            document.getElementById("outer_sticky").style.display = "none";
  342.                        }
  343.                        // All other bidders use our sticky container, show it
  344.                        else{
  345.                            document.getElementById("outer_sticky").style.display = "";
  346.                        }
  347.  
  348.                        // Unfilled slot
  349.                        if(bidder_name == "unfilled"){
  350.                            unfilled_count++;
  351.                            
  352.                            // Stop refreshing after 3 unfilled impressions
  353.                            // if(unfilled_count >= 5){
  354.                            //     refresh = false;
  355.                                
  356.                            //     console.log("Refreshed turned off after 5 unfilled impressions");
  357.                            // }
  358.                        }
  359.                        // Reset unfilled count if it's not in a row
  360.                        else if(bidder_name != "house") unfilled_count = 0;
  361.                        
  362.                        // Start refresh check after every sticky ad has been filled (refreshed)
  363.                        start_refresh(slot_tracking.ad_unit.adUnitCode, bidder_name);
  364.                    }
  365.                });
  366.            });
  367.        });
  368.    }
  369.    else{
  370.        BCLighthouseTag.cmd.push(function() {
  371.            // Only set these if given in settings
  372.            if(project_settings.groupname != "") BCLighthouseTag.setTargeting("groupname", project_settings.groupname);
  373.            if(project_settings.page_template != "") BCLighthouseTag.setTargeting("page_template", project_settings.page_template);
  374.  
  375.            BCLighthouseTag.setTargeting("adx", project_settings.adx);
  376.            BCLighthouseTag.setTargeting('website', project_settings.site_name);
  377.            BCLighthouseTag.setTargeting('user_type', project_settings.user_type);
  378.            BCLighthouseTag.setTargeting('has_folders', project_settings.has_folders);
  379.        });
  380.    }
  381.    
  382.    // Functions for Refresh
  383.    function start_refresh(ad_slot_name, bidder_name){
  384.        // Remove old listener before adding a new one
  385.        document.removeEventListener("visibilitychange", visibility_change_logic);
  386.        
  387.        // Stop here if we don't need to refresh the sticky (or max number of refreshes has been reached)
  388.        if(!refresh){
  389.            output_logging("no timer needed");
  390.            refresh = false;
  391.            return;
  392.        }
  393.        
  394.        global_ad_slot_name = ad_slot_name;
  395.        global_bidder_name = bidder_name;
  396.        
  397.        document.addEventListener("visibilitychange", visibility_change_logic);
  398.        
  399.        output_logging('refresh timer started');
  400.  
  401.        // Use 35 second tracker on mobile, 40 on desktop
  402.        if(is_mobile) refresh_timer = refresh_timer_tracker(35, refresh_sticky);
  403.        else refresh_timer = refresh_timer_tracker(40, refresh_sticky);
  404.    }
  405.    // Logic for visibility change
  406.    function visibility_change_logic(){
  407.        // Pause refresh timer
  408.        if(document.hidden){
  409.            refresh_timer.pause()
  410.        }
  411.        // Start refresh timer
  412.        else if(refresh){
  413.            refresh_timer.resume();
  414.        }
  415.    }
  416.    // Timer ended, do refresh
  417.    function refresh_sticky(){
  418.        // If you aren't supposed to refresh
  419.        output_logging('refresh timer ended');
  420.        refresh_timer.delete();
  421.        
  422.        // Kargo
  423.        if(global_bidder_name == "kargo"){
  424.            //close if Kargo container exists, otherwise don't refresh (must have been manually closed)
  425.            if(window.Kargo){
  426.                try {
  427.                    Kargo.CreativeRegister.getCreativesOfType('Hover')[0].destroy();
  428.                } catch (error) {
  429.                    console.log("Kargo Creative not found to delete");
  430.                }
  431.            }
  432.            else refresh = false;
  433.        }
  434.        // Gumgum
  435.        else if(global_bidder_name == "gumgum") {
  436.            //close if GumGum container exists, otherwise don't refresh (must have been manually closed)
  437.            if(document.getElementById("GG_PXS") && document.getElementById("GG_PXS").parentNode){
  438.                document.getElementById("GG_PXS").parentNode.remove();
  439.            }
  440.            else refresh = false;
  441.        }
  442.        // Ogury
  443.        else if(global_bidder_name == "ogury"){
  444.            if(document.getElementById("ogy-ad-slot")){
  445.                window.top.dispatchEvent(new Event('ogy_hide'));
  446.  
  447.                if(document.getElementById("ogy-ad-slot")) document.getElementById("ogy-ad-slot").remove();
  448.            }
  449.            else refresh=false;
  450.        }
  451.        
  452.        // Refresh slot (if container wasn't manually closed)
  453.        if(refresh){
  454.            sticky_refresh_counter++;
  455.            
  456.            //safeguards (max refresh check, minimum time between refreshes)
  457.            if(sticky_refresh_counter > 12){
  458.                refresh = false;
  459.                refresh_timer.delete();
  460.                document.removeEventListener("visibilitychange", visibility_change_logic);
  461.                
  462.                return;
  463.            }
  464.            
  465.            if(last_refresh_time != ""){
  466.                var current_time = new Date().getTime();
  467.                var diff_time = current_time - last_refresh_time;
  468.                
  469.                if(diff_time<(30*1000)){
  470.                    output_logging(diff_time + " less than 30 seconds since last refresh, something wrong with timer");
  471.                    refresh = false;
  472.                    
  473.                    refresh_timer.delete();
  474.                    document.removeEventListener("visibilitychange", visibility_change_logic);
  475.                    
  476.                    return;
  477.                }
  478.            }
  479.  
  480.            last_refresh_time = new Date().getTime();
  481.            output_logging("slot "+global_ad_slot_name+" refreshed");
  482.  
  483.            var sticky_refresh_counter_display = (sticky_refresh_counter < 10) ? "0"+sticky_refresh_counter : sticky_refresh_counter;
  484.            
  485.            if(document.getElementById('sticky_ad_container')) document.getElementById('sticky_ad_container').dataset.targeting="{\"sticky_refresh\":\""+sticky_refresh_counter_display+"\"}";
  486.  
  487.            if(split_testing == "control"){
  488.                htlbid.forceRefresh([global_ad_slot_name]);
  489.            }
  490.            else{
  491.                BCLighthouseTag.forceRefresh([global_ad_slot_name]);
  492.            }
  493.        }
  494.        else{
  495.            output_logging('no refresh - container must have been closed')
  496.        }
  497.    }
  498.    // Force close sticky area
  499.    function close_sticky(){
  500.        document.getElementById('outer_sticky').remove();
  501.        refresh = false;
  502.        
  503.        output_logging('refresh timer ended');
  504.        refresh_timer.delete();
  505.    }
  506.    
  507.    // Logging
  508.    function output_logging(content){
  509.        if(project_settings.logging_turned_on){
  510.            if(typeof content == "string") console.log(project_settings.site_name + " Ads: " + content);
  511.            else console.log(content);
  512.        }
  513.    }
  514.    // Validate any value benig sent in reporting
  515.    function validate_value(value, type, max_length = 255){
  516.        // Validate string logic
  517.        if(type == "string"){
  518.            // Convert number to string
  519.            if(typeof value === 'number') value = value.toString();
  520.            
  521.            // If it's not a string, make it empty by default
  522.            if(typeof value !== 'string') value = "";
  523.            
  524.            // Trim max length
  525.            if(value.length > max_length) value = value.substring(0, max_length);
  526.        }
  527.        // Validate number logic
  528.        else if(type == "number"){
  529.            // Convert string to number
  530.            if(typeof value === 'string') value = value.toString();
  531.            
  532.            // If it's not a number, make it 0 by default
  533.            if(typeof value !== 'number') value = 0;
  534.        }
  535.        // Validate boolean logic
  536.        else if(type == "boolean"){
  537.            // Convert string to boolean
  538.            if(typeof value === 'string'){
  539.                if(['false', '0'].includes(value)) value = false;
  540.                else if(['true', '1'].includes(value)) value = true;
  541.            }
  542.            // Convert number to boolean
  543.            else if(typeof value === 'number'){
  544.                if(value == 0) value = false;
  545.                else if(value == 1) value = true;
  546.            }
  547.            
  548.            // If it's not a boolean, make it false by default
  549.            if(typeof value !== 'boolean') value = false;
  550.        }
  551.        
  552.        return value;
  553.    }
  554.    // Function to send Requests for data logging
  555.    function send_bid_report(data){
  556.        return; // Turn off analytics for now, it's not used anymore
  557.  
  558.        // // If there is no report endpoint
  559.        // if(project_settings.report_url == "") return;
  560.        
  561.        // var request = new XMLHttpRequest();
  562.        
  563.        // request.open("post", project_settings.report_url, 1);
  564.  
  565.        // request.setRequestHeader("Content-Type", "application/json; charset=UTF-8")
  566.  
  567.        // request.onload = function(){
  568.        //     if(request.status == 200) output_logging("Bid Report sent");
  569.        //     else output_logging("Failed to send bid report");
  570.        // }
  571.  
  572.        // request.send(JSON.stringify(data));
  573.    }
  574.    // Timer for leaving the page and pausing refresh
  575.    function refresh_timer_tracker(seconds, oncomplete){
  576.        console.log('refresh_timer_tracker: called');
  577.        var timerId, start, remaining = parseInt(seconds)*1000;
  578.  
  579.        this.pause = function() {
  580.            window.clearTimeout(timerId);
  581.            timerId = null;
  582.            remaining -= Date.now() - start;
  583.            output_logging('refresh_timer_tracker: pause = '+remaining);
  584.        };
  585.  
  586.        this.resume = function() {
  587.            if (timerId) return;
  588.  
  589.            start = Date.now();
  590.            timerId = window.setTimeout(oncomplete, remaining);
  591.            output_logging('refresh_timer_tracker: resume = '+remaining);
  592.        };
  593.  
  594.        this.delete = function(){
  595.            if (!timerId) return;
  596.            clearInterval(timerId);
  597.            output_logging('refresh_timer_tracker: delete');
  598.        }
  599.  
  600.  
  601.        this.resume();
  602.  
  603.        return this;
  604.    }
  605.    
  606.    return {
  607.        close_sticky: close_sticky
  608.    };
  609. })(site_htl_settings); </script>
  610.  
  611.                                <script>
  612.                    if(split_testing == "control"){
  613.                        htlbid.cmd.push(function() {
  614.                            var split_testing_ga = (split_testing == "control" ? 0 : 1);
  615.                            
  616.                            htlbid.setTargeting('article_outstream', split_testing_ga);
  617.                        });
  618.                    }
  619.                    else{
  620.                        BCLighthouseTag.cmd.push(function() {
  621.                            var split_testing_ga = (split_testing == "control" ? 0 : 1);
  622.                            
  623.                            BCLighthouseTag.setTargeting('article_outstream', split_testing_ga);
  624.                        });
  625.                    }
  626.  
  627.                    // Add second script to the head
  628.                    var htl_script = document.createElement('script');
  629.                    htl_script.async = "async";
  630.  
  631.                    if(split_testing == "control"){
  632.                        //pull separate HTL version for browsi
  633.                        if(typeof tropes_browsi!="undefined" && tropes_browsi==1) htl_script.src = "https://htlbid.com/stage/v3/tvtropes.org/htlbid.js";
  634.                        else htl_script.src = "https://htlbid.com/v3/tvtropes.org/htlbid.js";
  635.                    }
  636.                    else{
  637.                        // Add the fundingchoices script to the head
  638.                        var script = document.createElement('script');
  639.                            script.src = "https://fundingchoicesmessages.google.com/i/pub-6608306193529351?ers=1";
  640.                            script.async = true;
  641.                            script.nonce = "rczD8qB5ececf2fL1Vj9XQ";
  642.                        
  643.                        // Add second script to the head
  644.                        var script2 = document.createElement('script');
  645.                            script2.nonce = "rczD8qB5ececf2fL1Vj9XQ";
  646.                            script2.innerHTML = "(function() {function signalGooglefcPresent() {if (!window.frames['googlefcPresent']) {if (document.body) {const iframe = document.createElement('iframe'); iframe.style = 'width: 0; height: 0; border: none; z-index: -1000; left: -1000px; top: -1000px;'; iframe.style.display = 'none'; iframe.name = 'googlefcPresent'; document.body.appendChild(iframe);} else {setTimeout(signalGooglefcPresent, 0);}}}signalGooglefcPresent();})();";
  647.                        
  648.                        // Add both scripts to head
  649.                        document.head.appendChild(script);
  650.                        document.head.appendChild(script2);
  651.                        
  652.                        htl_script.src = "https://dev-lh.bigcrunch.com/main.js";
  653.                        htl_script.id = "bigcrunchtag";
  654.                        htl_script.setAttribute('data-property-id', '34a5ddec-697b-424e-81d2-e6bb46a1b83e');
  655.                    }
  656.                                        
  657.                    // Add both scripts to head
  658.                    document.head.appendChild(htl_script);
  659.                </script>
  660.                                    <script>
  661.                        if(split_testing == "control"){
  662.                            // If this script fails to load, load funding choices
  663.                            htl_script.onerror = function() {
  664.                                // Add the fundingchoices script to the head
  665.                                var script = document.createElement('script');
  666.                                    script.src = "https://fundingchoicesmessages.google.com/i/pub-6608306193529351?ers=1";
  667.                                    script.async = true;
  668.                                    script.nonce = "rczD8qB5ececf2fL1Vj9XQ";
  669.                                
  670.                                // Add second script to the head
  671.                                var script2 = document.createElement('script');
  672.                                    script2.nonce = "rczD8qB5ececf2fL1Vj9XQ";
  673.                                    script2.innerHTML = "(function() {function signalGooglefcPresent() {if (!window.frames['googlefcPresent']) {if (document.body) {const iframe = document.createElement('iframe'); iframe.style = 'width: 0; height: 0; border: none; z-index: -1000; left: -1000px; top: -1000px;'; iframe.style.display = 'none'; iframe.name = 'googlefcPresent'; document.body.appendChild(iframe);} else {setTimeout(signalGooglefcPresent, 0);}}}signalGooglefcPresent();})();";
  674.                                
  675.                                // Add both scripts to head
  676.                                document.head.appendChild(script);
  677.                                document.head.appendChild(script2);
  678.                            }
  679.                        }
  680.                    </script>
  681.                
  682.                                <script>
  683.                    // Add HTL script to head
  684.                    document.head.appendChild(htl_script);
  685.                </script>
  686. <script>(function(){/*
  687. Copyright The Closure Library Authors.
  688. SPDX-License-Identifier: Apache-2.0
  689. */
  690. 'use strict';var aa=function(a){var b=0;return function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}}},ba="function"==typeof Object.create?Object.create:function(a){var b=function(){};b.prototype=a;return new b},k;if("function"==typeof Object.setPrototypeOf)k=Object.setPrototypeOf;else{var m;a:{var ca={a:!0},n={};try{n.__proto__=ca;m=n.a;break a}catch(a){}m=!1}k=m?function(a,b){a.__proto__=b;if(a.__proto__!==b)throw new TypeError(a+" is not extensible");return a}:null}
  691. var p=k,q=function(a,b){a.prototype=ba(b.prototype);a.prototype.constructor=a;if(p)p(a,b);else for(var c in b)if("prototype"!=c)if(Object.defineProperties){var d=Object.getOwnPropertyDescriptor(b,c);d&&Object.defineProperty(a,c,d)}else a[c]=b[c];a.v=b.prototype},r=this||self,da=function(){},t=function(a){return a};var u;var w=function(a,b){this.g=b===v?a:""};w.prototype.toString=function(){return this.g+""};var v={},x=function(a){if(void 0===u){var b=null;var c=r.trustedTypes;if(c&&c.createPolicy){try{b=c.createPolicy("goog#html",{createHTML:t,createScript:t,createScriptURL:t})}catch(d){r.console&&r.console.error(d.message)}u=b}else u=b}a=(b=u)?b.createScriptURL(a):a;return new w(a,v)};var A=function(){return Math.floor(2147483648*Math.random()).toString(36)+Math.abs(Math.floor(2147483648*Math.random())^Date.now()).toString(36)};var B={},C=null;var D="function"===typeof Uint8Array;function E(a,b,c){return"object"===typeof a?D&&!Array.isArray(a)&&a instanceof Uint8Array?c(a):F(a,b,c):b(a)}function F(a,b,c){if(Array.isArray(a)){for(var d=Array(a.length),e=0;e<a.length;e++){var f=a[e];null!=f&&(d[e]=E(f,b,c))}Array.isArray(a)&&a.s&&G(d);return d}d={};for(e in a)Object.prototype.hasOwnProperty.call(a,e)&&(f=a[e],null!=f&&(d[e]=E(f,b,c)));return d}
  692. function ea(a){return F(a,function(b){return"number"===typeof b?isFinite(b)?b:String(b):b},function(b){var c;void 0===c&&(c=0);if(!C){C={};for(var d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),e=["+/=","+/","-_=","-_.","-_"],f=0;5>f;f++){var h=d.concat(e[f].split(""));B[f]=h;for(var g=0;g<h.length;g++){var l=h[g];void 0===C[l]&&(C[l]=g)}}}c=B[c];d=Array(Math.floor(b.length/3));e=c[64]||"";for(f=h=0;h<b.length-2;h+=3){var y=b[h],z=b[h+1];l=b[h+2];g=c[y>>2];y=c[(y&3)<<
  693. 4|z>>4];z=c[(z&15)<<2|l>>6];l=c[l&63];d[f++]=""+g+y+z+l}g=0;l=e;switch(b.length-h){case 2:g=b[h+1],l=c[(g&15)<<2]||e;case 1:b=b[h],d[f]=""+c[b>>2]+c[(b&3)<<4|g>>4]+l+e}return d.join("")})}var fa={s:{value:!0,configurable:!0}},G=function(a){Array.isArray(a)&&!Object.isFrozen(a)&&Object.defineProperties(a,fa);return a};var H;var J=function(a,b,c){var d=H;H=null;a||(a=d);d=this.constructor.u;a||(a=d?[d]:[]);this.j=d?0:-1;this.h=null;this.g=a;a:{d=this.g.length;a=d-1;if(d&&(d=this.g[a],!(null===d||"object"!=typeof d||Array.isArray(d)||D&&d instanceof Uint8Array))){this.l=a-this.j;this.i=d;break a}void 0!==b&&-1<b?(this.l=Math.max(b,a+1-this.j),this.i=null):this.l=Number.MAX_VALUE}if(c)for(b=0;b<c.length;b++)a=c[b],a<this.l?(a+=this.j,(d=this.g[a])?G(d):this.g[a]=I):(d=this.l+this.j,this.g[d]||(this.i=this.g[d]={}),(d=this.i[a])?
  694. G(d):this.i[a]=I)},I=Object.freeze(G([])),K=function(a,b){if(-1===b)return null;if(b<a.l){b+=a.j;var c=a.g[b];return c!==I?c:a.g[b]=G([])}if(a.i)return c=a.i[b],c!==I?c:a.i[b]=G([])},M=function(a,b){var c=L;if(-1===b)return null;a.h||(a.h={});if(!a.h[b]){var d=K(a,b);d&&(a.h[b]=new c(d))}return a.h[b]};J.prototype.toJSON=function(){var a=N(this,!1);return ea(a)};
  695. var N=function(a,b){if(a.h)for(var c in a.h)if(Object.prototype.hasOwnProperty.call(a.h,c)){var d=a.h[c];if(Array.isArray(d))for(var e=0;e<d.length;e++)d[e]&&N(d[e],b);else d&&N(d,b)}return a.g},O=function(a,b){H=b=b?JSON.parse(b):null;a=new a(b);H=null;return a};J.prototype.toString=function(){return N(this,!1).toString()};var P=function(a){J.call(this,a)};q(P,J);function ha(a){var b,c=(a.ownerDocument&&a.ownerDocument.defaultView||window).document,d=null===(b=c.querySelector)||void 0===b?void 0:b.call(c,"script[nonce]");(b=d?d.nonce||d.getAttribute("nonce")||"":"")&&a.setAttribute("nonce",b)};var Q=function(a,b){b=String(b);"application/xhtml+xml"===a.contentType&&(b=b.toLowerCase());return a.createElement(b)},R=function(a){this.g=a||r.document||document};R.prototype.appendChild=function(a,b){a.appendChild(b)};var S=function(a,b,c,d,e,f){try{var h=a.g,g=Q(a.g,"SCRIPT");g.async=!0;g.src=b instanceof w&&b.constructor===w?b.g:"type_error:TrustedResourceUrl";ha(g);h.head.appendChild(g);g.addEventListener("load",function(){e();d&&h.head.removeChild(g)});g.addEventListener("error",function(){0<c?S(a,b,c-1,d,e,f):(d&&h.head.removeChild(g),f())})}catch(l){f()}};var ia=r.atob("aHR0cHM6Ly93d3cuZ3N0YXRpYy5jb20vaW1hZ2VzL2ljb25zL21hdGVyaWFsL3N5c3RlbS8xeC93YXJuaW5nX2FtYmVyXzI0ZHAucG5n"),ja=r.atob("WW91IGFyZSBzZWVpbmcgdGhpcyBtZXNzYWdlIGJlY2F1c2UgYWQgb3Igc2NyaXB0IGJsb2NraW5nIHNvZnR3YXJlIGlzIGludGVyZmVyaW5nIHdpdGggdGhpcyBwYWdlLg=="),ka=r.atob("RGlzYWJsZSBhbnkgYWQgb3Igc2NyaXB0IGJsb2NraW5nIHNvZnR3YXJlLCB0aGVuIHJlbG9hZCB0aGlzIHBhZ2Uu"),la=function(a,b,c){this.h=a;this.j=new R(this.h);this.g=null;this.i=[];this.l=!1;this.o=b;this.m=c},V=function(a){if(a.h.body&&!a.l){var b=
  696. function(){T(a);r.setTimeout(function(){return U(a,3)},50)};S(a.j,a.o,2,!0,function(){r[a.m]||b()},b);a.l=!0}},T=function(a){for(var b=W(1,5),c=0;c<b;c++){var d=X(a);a.h.body.appendChild(d);a.i.push(d)}b=X(a);b.style.bottom="0";b.style.left="0";b.style.position="fixed";b.style.width=W(100,110).toString()+"%";b.style.zIndex=W(2147483544,2147483644).toString();b.style["background-color"]=ma(249,259,242,252,219,229);b.style["box-shadow"]="0 0 12px #888";b.style.color=ma(0,10,0,10,0,10);b.style.display=
  697. "flex";b.style["justify-content"]="center";b.style["font-family"]="Roboto, Arial";c=X(a);c.style.width=W(80,85).toString()+"%";c.style.maxWidth=W(750,775).toString()+"px";c.style.margin="24px";c.style.display="flex";c.style["align-items"]="flex-start";c.style["justify-content"]="center";d=Q(a.j.g,"IMG");d.className=A();d.src=ia;d.style.height="24px";d.style.width="24px";d.style["padding-right"]="16px";var e=X(a),f=X(a);f.style["font-weight"]="bold";f.textContent=ja;var h=X(a);h.textContent=ka;Y(a,
  698. e,f);Y(a,e,h);Y(a,c,d);Y(a,c,e);Y(a,b,c);a.g=b;a.h.body.appendChild(a.g);b=W(1,5);for(c=0;c<b;c++)d=X(a),a.h.body.appendChild(d),a.i.push(d)},Y=function(a,b,c){for(var d=W(1,5),e=0;e<d;e++){var f=X(a);b.appendChild(f)}b.appendChild(c);c=W(1,5);for(d=0;d<c;d++)e=X(a),b.appendChild(e)},W=function(a,b){return Math.floor(a+Math.random()*(b-a))},ma=function(a,b,c,d,e,f){return"rgb("+W(Math.max(a,0),Math.min(b,255)).toString()+","+W(Math.max(c,0),Math.min(d,255)).toString()+","+W(Math.max(e,0),Math.min(f,
  699. 255)).toString()+")"},X=function(a){a=Q(a.j.g,"DIV");a.className=A();return a},U=function(a,b){0>=b||null!=a.g&&0!=a.g.offsetHeight&&0!=a.g.offsetWidth||(na(a),T(a),r.setTimeout(function(){return U(a,b-1)},50))},na=function(a){var b=a.i;var c="undefined"!=typeof Symbol&&Symbol.iterator&&b[Symbol.iterator];b=c?c.call(b):{next:aa(b)};for(c=b.next();!c.done;c=b.next())(c=c.value)&&c.parentNode&&c.parentNode.removeChild(c);a.i=[];(b=a.g)&&b.parentNode&&b.parentNode.removeChild(b);a.g=null};var pa=function(a,b,c,d,e){var f=oa(c),h=function(l){l.appendChild(f);r.setTimeout(function(){f?(0!==f.offsetHeight&&0!==f.offsetWidth?b():a(),f.parentNode&&f.parentNode.removeChild(f)):a()},d)},g=function(l){document.body?h(document.body):0<l?r.setTimeout(function(){g(l-1)},e):b()};g(3)},oa=function(a){var b=document.createElement("div");b.className=a;b.style.width="1px";b.style.height="1px";b.style.position="absolute";b.style.left="-10000px";b.style.top="-10000px";b.style.zIndex="-10000";return b};var L=function(a){J.call(this,a)};q(L,J);var qa=function(a){J.call(this,a)};q(qa,J);var ra=function(a,b){this.l=a;this.m=new R(a.document);this.g=b;this.i=K(this.g,1);b=M(this.g,2);this.o=x(K(b,4)||"");this.h=!1;b=M(this.g,13);b=x(K(b,4)||"");this.j=new la(a.document,b,K(this.g,12))};ra.prototype.start=function(){sa(this)};
  700. var sa=function(a){ta(a);S(a.m,a.o,3,!1,function(){a:{var b=a.i;var c=r.btoa(b);if(c=r[c]){try{var d=O(P,r.atob(c))}catch(e){b=!1;break a}b=b===K(d,1)}else b=!1}b?Z(a,K(a.g,14)):(Z(a,K(a.g,8)),V(a.j))},function(){pa(function(){Z(a,K(a.g,7));V(a.j)},function(){return Z(a,K(a.g,6))},K(a.g,9),K(a.g,10),K(a.g,11))})},Z=function(a,b){a.h||(a.h=!0,a=new a.l.XMLHttpRequest,a.open("GET",b,!0),a.send())},ta=function(a){var b=r.btoa(a.i);a.l[b]&&Z(a,K(a.g,5))};(function(a,b){r[a]=function(c){for(var d=[],e=0;e<arguments.length;++e)d[e-0]=arguments[e];r[a]=da;b.apply(null,d)}})("__h82AlnkH6D91__",function(a){"function"===typeof window.atob&&(new ra(window,O(qa,window.atob(a)))).start()});}).call(this);
  701.  
  702. window.__h82AlnkH6D91__("WyJwdWItMjU3NTc4ODY5MDc5ODI4MiIsW251bGwsbnVsbCxudWxsLCJodHRwczovL2Z1bmRpbmdjaG9pY2VzbWVzc2FnZXMuZ29vZ2xlLmNvbS9iL3B1Yi0yNTc1Nzg4NjkwNzk4MjgyIl0sbnVsbCxudWxsLCJodHRwczovL2Z1bmRpbmdjaG9pY2VzbWVzc2FnZXMuZ29vZ2xlLmNvbS9lbC9BR1NLV3hWV0tMOXhFeS1ZVk1sOTdzcC10MW5mbkxvWmZweWVjaGRJdUxJU244LXpjbUwxM1R5Mlhhb2RoQTJFU3VNS3ljQm1kVHgxSUNlMVBrX2hIeUxHa1ZZNHJ3XHUwMDNkXHUwMDNkP3RlXHUwMDNkVE9LRU5fRVhQT1NFRCIsImh0dHBzOi8vZnVuZGluZ2Nob2ljZXNtZXNzYWdlcy5nb29nbGUuY29tL2VsL0FHU0tXeFZCeVhDdDlWajY1eXNrMWFHVW9LUUpLdktrTlh4WVdlRDBhYnhmS3RVUi00eDZfRTNWOXpqSm5vYkFfVzIxeGNDb3F3M1RmN1dYRmxXZFZaazVMMFlQQ2dcdTAwM2RcdTAwM2Q/YWJcdTAwM2QxXHUwMDI2c2JmXHUwMDNkMSIsImh0dHBzOi8vZnVuZGluZ2Nob2ljZXNtZXNzYWdlcy5nb29nbGUuY29tL2VsL0FHU0tXeFV4bEsxQ0dxcEpGY3lvcXZXZ0ZnWWRBRjhMMzBOU0Y1ci1paGZSd1VRNzV4YmF6NGxydWVfRUhoWmU1ai00UUhRYXc4MUVZREFkQ2pBN21Tb1BxUUsxaFFcdTAwM2RcdTAwM2Q/YWJcdTAwM2QyXHUwMDI2c2JmXHUwMDNkMSIsImh0dHBzOi8vZnVuZGluZ2Nob2ljZXNtZXNzYWdlcy5nb29nbGUuY29tL2VsL0FHU0tXeFZJUWxpOV9jN0NuWWlHWkU3S2xIV2JWVi10NlpYQ2hQTnlHVTRobGhmSjdLQnJnNjllSFhHYm9aSXRqRm42MDViNWpuaG5KYkxCcU1ySURyY2lLVEk0VmdcdTAwM2RcdTAwM2Q/c2JmXHUwMDNkMiIsImRpdi1ncHQtYWQiLDIwLDEwMCwiY0hWaUxUSTFOelUzT0RnMk9UQTNPVGd5T0RJXHUwMDNkIixbbnVsbCxudWxsLG51bGwsImh0dHBzOi8vd3d3LmdzdGF0aWMuY29tLzBlbW4vZi9wL3B1Yi0yNTc1Nzg4NjkwNzk4MjgyLmpzP3VzcXBcdTAwM2RDQkEiXSwiaHR0cHM6Ly9mdW5kaW5nY2hvaWNlc21lc3NhZ2VzLmdvb2dsZS5jb20vZWwvQUdTS1d4V1hNUEJXZjVaNURyT1VGdDZwVVR5eGh1YzBFNlVGQnJJZUhuUUNCMVlUOWVtYlJTbGxYQ3F6NDV5ODdqT3RVWC1SX3JkcmdudFdjejdtazA2WkZYWDQyd1x1MDAzZFx1MDAzZCJd");
  703. </script>
  704. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  705. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  706.  
  707. <title>Outbound Link Message - TV Tropes</title>
  708.            <meta name="description" content="" />
  709.            
  710.  
  711.                        <link rel="shortcut icon" href="https://assets.tvtropes.org/img/icons/favicon.ico" type="image/x-icon" />
  712.  
  713.                        <meta name="twitter:card" content="summary_large_image" />
  714.            <meta name="twitter:site" content="@tvtropes" />
  715.            <meta name="twitter:owner" content="@tvtropes" />
  716.            <meta name="twitter:title" content="Outbound Link Message - TV Tropes" />
  717.            <meta name="twitter:description" content="" />
  718.             <meta name="twitter:image:src" content="https://static.tvtropes.org/logo_blue_small.png" />
  719.        
  720.                        <meta property="og:site_name" content="TV Tropes" />
  721.            <meta property="og:locale" content="en_US" />
  722.            <meta property="article:publisher" content="https://www.facebook.com/tvtropes" />
  723. <meta property="og:title" content="Outbound Link Message" />
  724. <meta property="og:type" content="" />
  725. <meta property="og:url" content="https://tvtropes.org/pmwiki/no_outbounds.php?o=http://stomatolgoldstein.ru/lechenie-zubov-v-spb/" />
  726. <meta property="og:image" content="https://static.tvtropes.org/logo_blue_small.png" />
  727. <meta property="og:description" content="" />
  728.  
  729.  
  730.            <link rel="apple-touch-icon" sizes="57x57" href="https://assets.tvtropes.org/img/icons/apple-icon-57x57.png" type="image/png">
  731.            <link rel="apple-touch-icon" sizes="60x60" href="https://assets.tvtropes.org/img/icons/apple-icon-60x60.png" type="image/png">
  732.            <link rel="apple-touch-icon" sizes="72x72" href="https://assets.tvtropes.org/img/icons/apple-icon-72x72.png" type="image/png">
  733.            <link rel="apple-touch-icon" sizes="76x76" href="https://assets.tvtropes.org/img/icons/apple-icon-76x76.png" type="image/png">
  734.            <link rel="apple-touch-icon" sizes="114x114" href="https://assets.tvtropes.org/img/icons/apple-icon-114x114.png" type="image/png">
  735.            <link rel="apple-touch-icon" sizes="120x120" href="https://assets.tvtropes.org/img/icons/apple-icon-120x120.png" type="image/png">
  736.            <link rel="apple-touch-icon" sizes="144x144" href="https://assets.tvtropes.org/img/icons/apple-icon-144x144.png" type="image/png">
  737.            <link rel="apple-touch-icon" sizes="152x152" href="https://assets.tvtropes.org/img/icons/apple-icon-152x152.png" type="image/png">
  738.            <link rel="apple-touch-icon" sizes="180x180" href="https://assets.tvtropes.org/img/icons/apple-icon-180x180.png" type="image/png">
  739.            <link rel="icon" sizes="16x16" href="https://assets.tvtropes.org/img/icons/favicon-16x16.png" type="image/png">
  740.            <link rel="icon" sizes="32x32" href="https://assets.tvtropes.org/img/icons/favicon-32x32.png" type="image/png">
  741.            <link rel="icon" sizes="96x96" href="https://assets.tvtropes.org/img/icons/favicon-96x96.png" type="image/png">
  742.            <link rel="icon" sizes="192x192" href="https://assets.tvtropes.org/img/icons/favicon-192x192.png" type="image/png">
  743.  
  744.                        
  745.  
  746. <meta id="viewport" name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
  747.                        <link rel="stylesheet" href="https://assets.tvtropes.org/design/assets/bundle.css?rev=0a61405691a61a193a0d0879d7fef20278a2289a" />
  748.  
  749.                                                
  750.                        
  751.                        
  752.                        
  753.                        <script type="text/javascript">
  754.  
  755.                var tvtropes_config = {
  756.                    asteri_stream_enabled : "1",
  757.                    is_logged_in         : "",
  758.                    handle               : "",
  759.                    troper_email         : "",
  760.                    get_asteri_stream     : "",
  761.                    revnum               : "0a61405691a61a193a0d0879d7fef20278a2289a",
  762.                    img_domain           : "https://static.tvtropes.org",
  763.                    adblock              : "1",
  764.                    adblock_url          : "propermessage.io",
  765.                    universal_page_type  : "Misc",
  766.                    pause_editing        : "0",
  767.                    pause_editing_msg    : "",
  768.                    pause_site_changes   : "0",
  769.                    assets_domain        : "https://assets.tvtropes.org"
  770.                };
  771.  
  772.                // This will track the total number of ads inserted over time
  773.                var globalAdInsertionCount = 0;
  774.            </script>
  775.                        
  776. <script type="text/javascript">
  777.  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  778.  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  779.  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  780.  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
  781.  
  782.  ga('create', 'UA-3821842-1', 'auto');
  783.  ga('send', 'pageview');
  784. </script>
  785.  
  786.        </head>
  787. <body class="">
  788.  
  789.        <i id="user-prefs"></i>
  790.    <script>updateUserPrefs();</script>
  791.  
  792.    <div id="fb-root"></div>
  793.  
  794.    <div id="modal-box">
  795.        <div class="modal-loading-graphic"></div>
  796.    </div>
  797.    <style>
  798.        @keyframes rotate-forever {
  799.            0% { transform: rotate(0deg); }
  800.            100% { transform: rotate(360deg); }
  801.        }
  802.  
  803.        #modal-box > .modal-loading-graphic {
  804.            display: none; /* Hidden by default */
  805.  
  806.            background: no-repeat center url('/images/loading-graphic.png');
  807.            background-size: 80px 80px;
  808.  
  809.            width: 80px;
  810.            height: 80px;
  811.  
  812.            border-radius: 50%;
  813.  
  814.            position: absolute;
  815.            top: calc(30% - 40px);
  816.            left: calc(50% - 40px);
  817.            z-index: 2;
  818.  
  819.            animation: rotate-forever 0.34s linear infinite;
  820.  
  821.        }
  822.        #modal-box.active > .modal-loading-graphic {
  823.            display: block; /* Show only when modal is active */
  824.        }
  825.    </style>
  826.    <header id="main-header-bar" class="headroom-element ">
  827.        <div id="main-header-bar-inner">
  828.  
  829.            <span id="header-spacer-left" class="header-spacer"></span>
  830.  
  831.            <a href="#mobile-menu" id="main-mobile-toggle" class="mobile-menu-toggle-button tablet-on"><span></span><span></span><span></span></a>
  832.  
  833.            <a href="/" id="main-header-logoButton" class="no-dev"></a>
  834.  
  835.            <span id="header-spacer-right" class="header-spacer"></span>
  836.  
  837.            <nav id="main-header-nav" class="tablet-off">
  838.                <a href="/pmwiki/pmwiki.php/Main/Tropes">Tropes</a>
  839.                <a href="/pmwiki/pmwiki.php/Main/Media">Media</a>
  840.                <a href="/pmwiki/browse.php" class="nav-browse">Browse</a>
  841.                <a href="/pmwiki/index_report.php">Indexes</a>
  842.                <a href="/pmwiki/topics.php">Forums</a>
  843.                <a href="/pmwiki/recent_videos.php" class="nav-browse">Videos</a>
  844.            </nav>
  845.  
  846.            <div id="main-header-bar-right">
  847.                                <div id="signup-login-box" class="font-xs mobile-off">
  848.                    <a href="#" class="hover-underline bold" data-modal-target="signup">Join</a>
  849.                    <a href="#" class="hover-underline bold" data-modal-target="login">Login</a>
  850.                </div>
  851.                
  852.                                <div id="signup-login-mobileToggle" class="mobile-on inline">
  853.                    <a href="#" data-modal-target="login"><i class="fa fa-user"></i></a>
  854.                </div>
  855.                
  856.                <div id="search-box">
  857.                    <form class="search" action="/pmwiki/search_result.php">
  858.                        <input type="text" name="q" class="search-box" placeholder="Search" value="" required>
  859.                        <input type="submit" class="submit-button" value="&#xf002;" />
  860.                                                <input type="hidden" name="search_type" value="article">
  861.                        <input type="hidden" name="page_type" value="all">
  862.                                                <input type="hidden" name="cx" value="partner-pub-6610802604051523:amzitfn8e7v">
  863.                        <input type="hidden" name="cof" value="FORID:10">
  864.                        <input type="hidden" name="ie" value="ISO-8859-1">
  865.                        <input name="siteurl" type="hidden" value="">
  866.                        <input name="ref" type="hidden" value="">
  867.                        <input name="ss" type="hidden" value="">
  868.                    </form>
  869.                    <a href="#close-search" class="mobile-on mobile-search-toggle close-x"><i class="fa fa-close"></i></a>
  870.                </div>
  871.  
  872.                <div id="random-box">
  873.                    <a href="/pmwiki/pmwiki.php/Main/AHouseDivided" class="button-random-trope" rel="nofollow" onclick="ga('send', 'event', 'button', 'click', 'random trope');"></a>
  874.                    <a href="/pmwiki/pmwiki.php/Fanfic/RocketToInsanity" class="button-random-media" rel="nofollow" onclick="ga('send', 'event', 'button', 'click', 'random media');"></a>
  875.                </div>
  876.  
  877.            </div>
  878.  
  879.        </div>
  880.  
  881.        <div id="mobile-menu" class="tablet-on"><div class="mobile-menu-options">
  882.  
  883.    <div class="nav-wrapper">
  884.        <a href="/pmwiki/pmwiki.php/Main/Tropes" class="xl">Tropes</a>
  885.        <a href="/pmwiki/pmwiki.php/Main/Media" class="xl">Media</a>
  886.        <a href="/pmwiki/browse.php" class="xl">Browse</a>
  887.        <a href="/pmwiki/index_report.php" class="xl">Indexes</a>
  888.        <a href="/pmwiki/topics.php" class="xl">Forums</a>
  889.        <a href="/pmwiki/recent_videos.php" class="xl">Videos</a>
  890.  
  891.        <a href="/pmwiki/query.php?type=att">Ask The Tropers</a>
  892.        <a href="/pmwiki/query.php?type=tf">Trope Finder</a>
  893.        <a href="/pmwiki/query.php?type=ykts">Media Finder</a>
  894.        <a href="/pmwiki/tlp_activity.php">Trope Launch Pad</a>
  895.        <a href="/pmwiki/query.php?type=wl">Tech Wishlist</a>
  896.        <a href="/pmwiki/review_activity.php">Reviews</a>
  897.        
  898.        <a href="#tools" data-click-toggle="active">Tools <i class="fa fa-chevron-down"></i></a>
  899.        <div class="tools-dropdown mobile-dropdown-linkList">
  900.            <a href="/pmwiki/cutlist.php">Cut List</a>
  901.            <a href="/pmwiki/changes.php">New Edits</a>
  902.            <a href="/pmwiki/recent_edit_reasons.php">Edit Reasons</a>
  903.            <a href="/pmwiki/launches.php">Launches</a>
  904.            <a href="/pmwiki/img_list.php">Images List</a>
  905.            <a href="/pmwiki/crown_activity.php">Crowner Activity</a>
  906.            <a href="/pmwiki/no_types.php">Un-typed Pages</a>
  907.            <a href="/pmwiki/page_type_audit.php">Recent Page Type Changes</a>
  908.            <a href="/pmwiki/changelog.php">Changelog</a>
  909.        </div>
  910.  
  911.        <a href="#tips" data-click-toggle="active">Tips <i class="fa fa-chevron-down"></i></a>
  912.        <div class="tips-dropdown mobile-dropdown-linkList">
  913.                <a href="/pmwiki/pmwiki.php/Administrivia/CreatingNewRedirects">Creating New Redirects</a>
  914.                <a href="/pmwiki/pmwiki.php/Administrivia/Crosswicking">Cross Wicking</a>
  915.                <a href="/pmwiki/pmwiki.php/Administrivia/TipsForEditing">Tips for Editing</a>
  916.                <a href="/pmwiki/pmwiki.php/Administrivia/TextFormattingRules">Text Formatting Rules</a>
  917.                <a href="/pmwiki/pmwiki.php/Administrivia/TVTropesGlossary?from=Main.TVTropesGlossary">Glossary</a>
  918.                <a href="/pmwiki/pmwiki.php/Administrivia/EditReasonsAndWhyYouShouldUseThem">Edit Reasons</a>
  919.                <a href="/pmwiki/pmwiki.php/Administrivia/HandlingSpoilers">Handling Spoilers</a>
  920.                <a href="/pmwiki/pmwiki.php/Main/WordCruft">Word Cruft</a>
  921.                <a href="/pmwiki/pmwiki.php/Main/Administrivia">Administrivia</a>
  922.                <a href="/pmwiki/pmwiki.php/Main/FAQ">FAQ</a>
  923.        </div>
  924.        
  925.        <a href="#hq" data-click-toggle="active">Tropes HQ <i class="fa fa-chevron-down"></i></a>
  926.  
  927.        <div class="tools-dropdown mobile-dropdown-linkList">
  928.            <a href="/pmwiki/about.php">About Us</a>
  929.            <a href="/pmwiki/contact.php">Contact Us</a>
  930.            <a href="mailto:advertising@proper.io">Advertise</a>
  931.            <a href="/pmwiki/dmca.php">DMCA Notice</a>
  932.            <a href="/pmwiki/privacypolicy.php">Privacy Policy</a>
  933.            <a href="/pmwiki/query.php?type=bug">Report Bug</a>
  934.        </div>
  935.  
  936.        <a href="/pmwiki/ad-free-subscribe.php">Go Ad-Free</a>
  937.        <a href="/pmwiki/changelog.php">Changelog</a></li>
  938.  
  939.        <div class="toggle-switches">
  940.            <ul class="mobile-menu display-toggles">
  941.                <li>Show Spoilers <div id="mobile-toggle-showspoilers" class="display-toggle show-spoilers"></div></li>
  942.                <li>Night Vision <div id="mobile-toggle-nightvision" class="display-toggle night-vision"></div></li>
  943.                <li>Sticky Header <div id="mobile-toggle-stickyheader" class="display-toggle sticky-header"></div></li>
  944.                <li>Highlight Links <div id="mobile-toggle-highlightlinks" class="display-toggle highlight-links"></div></li>
  945.            </ul>
  946.            <script>updateMobilePrefs();</script>
  947.        </div>
  948.  
  949.    </div>
  950.  
  951. </div>
  952. </div>
  953.  
  954.    </header>
  955.  
  956.    <div id="homepage-introBox-mobile" class="mobile-on">
  957.                  <a href="/"><img src="/images/logo-white-big.png" class="logo-small" /></a>
  958.        
  959.        <form class="search" action="/pmwiki/search_result.php" style="margin:10px -5px -6px -5px;">
  960.            <input type="text" name="q" class="search-box" placeholder="Search" value="" required>
  961.            <input type="submit" class="submit-button" value="&#xf002;" />
  962.                        <input type="hidden" name="search_type" value="article">
  963.            <input type="hidden" name="page_type" value="all">
  964.                        <input type="hidden" name="cx" value="partner-pub-6610802604051523:amzitfn8e7v">
  965.            <input type="hidden" name="cof" value="FORID:10">
  966.            <input type="hidden" name="ie" value="ISO-8859-1">
  967.            <input name="siteurl" type="hidden" value="">
  968.            <input name="ref" type="hidden" value="">
  969.            <input name="ss" type="hidden" value="">
  970.        </form>
  971.  
  972.            </div>
  973.  
  974.    <script>
  975.                // Get device type
  976. function get_device_type(){
  977.    var ua = navigator.userAgent.toLowerCase();
  978.    var device_type = "";
  979.    
  980.    // This is usually "tablet", but for this case we are going to call it mobile
  981.    if(/(ipad|tablet|(android(?!.*mobile))|(windows(?!.*phone)(.*touch))|kindle|playbook|silk|(puffin(?!.*(IP|AP|WP))))/.test(ua)) device_type = "mobile";
  982.    // This is mobile
  983.    else if(/(mobi|ipod|phone|blackberry|opera mini|fennec|minimo|symbian|psp|nintendo ds|archos|skyfire|puffin|blazer|bolt|gobrowser|iris|maemo|semc|teashark|uzard)/.test(ua)) device_type = "mobile";
  984.    // Otherwise desktop
  985.    else device_type = "desktop";
  986.  
  987.    return device_type;
  988. }
  989.  
  990. //// MOBILE MENU TOGGLE FUNCTIONS ////
  991. function show_modal(type, message, confirmation_url, call_back, fb_token, groupname, title, video_id) {
  992.    console.log("showing modal " + type);
  993.    
  994.    const modalBox = document.getElementById('modal-box');
  995.    const childDivs = modalBox.querySelectorAll(':scope > div');
  996.  
  997.    // Check if there are more than one child divs in the modal box, indicating a modal is already there
  998.    if (childDivs.length > 1) {
  999.        kill_modal();
  1000.    }
  1001.    // Show the modal and the loading graphic
  1002.    modalBox.classList.add('active');
  1003.  
  1004.    let alert = '';
  1005.    if (typeof message === 'object' && message !== null) {
  1006.        Object.keys(message).forEach(function(key) {
  1007.            alert += '&' + key + '=' + encodeURIComponent(message[key]);
  1008.        });
  1009.    } else {
  1010.        alert = '&message=' + encodeURIComponent(message);
  1011.    }
  1012.  
  1013.    // Construct the URL with parameters
  1014.    const url = '/design/parts/component-modalBox.php?window=' + type + alert +
  1015.                (confirmation_url ? '&curl=' + encodeURIComponent(confirmation_url) : "") +
  1016.                (fb_token ? '&fb_token=' + encodeURIComponent(fb_token) : "") +
  1017.                (video_id ? '&video_id=' + encodeURIComponent(video_id) : "");
  1018.  
  1019.    fetch(url)
  1020.        .then(response => response.text())
  1021.        .then(html => {
  1022.            modalBox.innerHTML = html;
  1023.  
  1024.            // Find and execute scripts
  1025.            const scripts = modalBox.querySelectorAll('script');
  1026.            scripts.forEach(script => {
  1027.                const newScript = document.createElement('script');
  1028.                newScript.type = 'text/javascript';
  1029.                
  1030.                if (script.src) {
  1031.                    newScript.src = script.src;
  1032.  
  1033.                    // Wait for Dropzone.js to load before adding the imguploader.js
  1034.                    if(newScript.src.includes('/design/js/dropzone.js')) {
  1035.                        newScript.onload = function() {
  1036.                            
  1037.                            // Now load the imguploader.js script
  1038.                            const img_uploader_script = document.createElement('script');
  1039.                            img_uploader_script.type = 'text/javascript';
  1040.                            img_uploader_script.src = "/design/js/imguploader.js";
  1041.  
  1042.                            img_uploader_script.onload = function (){
  1043.                                myAwesomeDropzone = new Dropzone("#myAwesomeDropzone", { url: "/ajax/uploadImg.php" });
  1044.                            }
  1045.                            document.body.appendChild(img_uploader_script);
  1046.                        }
  1047.                    }
  1048.                } else {
  1049.                    newScript.textContent = script.textContent;
  1050.                }
  1051.  
  1052.                // Remove the old script and add the new one
  1053.                script.parentNode.removeChild(script);
  1054.                modalBox.appendChild(newScript);
  1055.            });
  1056.  
  1057.            if(call_back) {
  1058.                call_back();
  1059.            }
  1060.        });
  1061.  
  1062.    // Kill modal if blackout is clicked
  1063.    modalBox.addEventListener('click', function(e) {
  1064.        if (e.target === e.currentTarget) {
  1065.            kill_modal();
  1066.        }
  1067.    });
  1068. }
  1069.  
  1070. // Modal kill function
  1071. function kill_modal() {
  1072.    console.log("killing modal");
  1073.    const modalBox = document.getElementById('modal-box');
  1074.    modalBox.classList.remove('active');
  1075.  
  1076.    // Replace the content directly with the new loading graphic
  1077.    modalBox.innerHTML = '<div class="modal-loading-graphic"></div>';
  1078. }
  1079.  
  1080. // Modal "loading" mode, without killing
  1081. function pause_modal() {
  1082.    var modal = document.querySelector('#modal-box > div.modal');
  1083.    if(!modal) modal = document.querySelector('#modal-box');
  1084.    modal.classList.add('hidden');
  1085.  
  1086.    const modalBox = document.getElementById('modal-box');
  1087.    modalBox.classList.add('paused');
  1088.  
  1089.    const loadingGraphic = document.createElement('div');
  1090.    loadingGraphic.className = 'modal-loading-graphic';
  1091.    modalBox.appendChild(loadingGraphic);
  1092. }
  1093.  
  1094. function unpause_modal() {
  1095.    const modalBox = document.getElementById('modal-box');
  1096.    modalBox.classList.remove('paused');
  1097.  
  1098.    var modal = document.querySelector('#modal-box > div.modal');
  1099.    if(!modal) modal = document.querySelector('#modal-box');
  1100.    modal.classList.remove('hidden');
  1101.  
  1102.    const loadingGraphic = document.querySelector('#modal-box > div.modal-loading-graphic');
  1103.    if (loadingGraphic) {
  1104.        modalBox.removeChild(loadingGraphic);
  1105.    }
  1106. }
  1107.  
  1108. // COMPONENT: LOAD GRAPHIC
  1109. function show_loader() {
  1110.    console.log("Showing loader");
  1111.    kill_modal();
  1112.    const modalBox = document.getElementById('modal-box');
  1113.    modalBox.classList.add('active');
  1114.  
  1115.    const loadingGraphic = document.createElement('div');
  1116.    loadingGraphic.className = 'modal-loading-graphic';
  1117.    modalBox.appendChild(loadingGraphic);
  1118. }
  1119. // TOGGLE NOTES
  1120. function togglenote(id){
  1121.    var ele=object(id);
  1122.    var state = ele.style.display;
  1123.    if(state=='none') ele.style.display='inline';
  1124.    if(state=='inline')ele.style.display='none';
  1125. }
  1126. // Toggle more menu
  1127. function toggle_more_menu(position){
  1128.    var more_menu = document.getElementById(position+"_more_list");
  1129.  
  1130.    more_menu.classList.toggle("hidden_more_list");
  1131.    more_menu.classList.toggle("display");
  1132.  
  1133.    var menu_button = document.getElementById(position+"_more_button");
  1134.  
  1135.    menu_button.classList.toggle("is-open");
  1136. }
  1137.  
  1138. // FOLDER BUTTONS (unused) - declared to prevent console errors.
  1139. function toggleAllFolders() {}
  1140. function togglefolder(id) {}
  1141.  
  1142. var device_type = get_device_type();
  1143.  
  1144. const mobile_menu_button = document.querySelector('.mobile-menu-toggle-button');
  1145.  
  1146. if (mobile_menu_button) {
  1147.    mobile_menu_button.addEventListener('click', function(e) {
  1148.        e.preventDefault();
  1149.        const header = document.querySelector('header#main-header-bar');
  1150.        if (header.classList.contains('mobile-menu-active')) {
  1151.            header.classList.remove('mobile-menu-active');
  1152.        } else {
  1153.            header.classList.add('mobile-menu-active');
  1154.        }
  1155.    });
  1156. }
  1157.  
  1158. // MODAL - FOLDER - SPOILER BUTTONS
  1159. document.body.addEventListener('click', function(e) {
  1160.    // WATCH / FOLLOW BUTTONS
  1161.    const target = e.target.closest('.watch-button');
  1162.    const loggedInElement = document.getElementById('logged_in');
  1163.    const loggedIn = loggedInElement ? loggedInElement.value : null;
  1164.  
  1165.    //special code for the desktop-on-mobile-toggle cookie link
  1166.    if (e.target.closest('#desktop-on-mobile-toggle > a')) {
  1167.        e.preventDefault();
  1168.        var body_class = "desktop-on-mobile";
  1169.        var userPrefs = document.getElementById('user-prefs');
  1170.  
  1171.        if (userPrefs.classList.contains(body_class)) {
  1172.            cookies.remove(body_class);
  1173.        } else {
  1174.            cookies.create(body_class, 'true', 300, '/');
  1175.        }
  1176.  
  1177.        location.reload();
  1178.    }
  1179.  
  1180.    // Display toggle buttons for user preferences
  1181.    if (e.target.closest('.display-toggles > li')) {
  1182.        var toggle = e.target;
  1183.        if(toggle.tagName.toLowerCase() === 'li') toggle = toggle.children[0];
  1184.  
  1185.        var body_class = '';
  1186.        var pref = '';
  1187.        var val = 0;
  1188.  
  1189.        // SIDEBAR AND MOBILE MENU OPTIONS
  1190.        if (toggle.classList.contains('wide-load')) {
  1191.            body_class = "wide-load";
  1192.        } else if (toggle.classList.contains('sticky-header')) {
  1193.            body_class = "sticky-header";
  1194.        } else if (toggle.classList.contains('night-vision')) {
  1195.            body_class = "night-vision";
  1196.        } else if (toggle.classList.contains('show-spoilers')) {
  1197.            body_class = "show-spoilers";
  1198.        } else if (toggle.classList.contains('tvtropes-editor-on')) {
  1199.            body_class = "tvtropes-editor-on";
  1200.        }
  1201.  
  1202.        // PROFILE PAGE OPTIONS
  1203.        else if (toggle.classList.contains('folders-open')) {
  1204.            body_class = "folders-open";
  1205.        } else if (toggle.classList.contains('wysiwyg-toggle')) {
  1206.            body_class = "wysiwyg-toggle";
  1207.        } else if (toggle.classList.contains('mono-font')) {
  1208.            body_class = "mono-font";
  1209.        } else if (toggle.classList.contains('lefthand-sidebar')) {
  1210.            body_class = "lefthand-sidebar";
  1211.        } else if (toggle.classList.contains('highlight-links')) {
  1212.            body_class = "highlight-links";
  1213.        } else if (toggle.classList.contains('forum-gingerbread')) {
  1214.            body_class = "forum-gingerbread";
  1215.        } else if (toggle.classList.contains('shared-avatars')) {
  1216.            body_class = "shared-avatars";
  1217.            pref = 'accept_share';
  1218.            val = toggle.classList.contains('active') ? 0 : 1;
  1219.        } else if (toggle.classList.contains('new-search')) {
  1220.            body_class = "new-search";
  1221.            pref = 'new_search';
  1222.            val = toggle.classList.contains('active') ? 0 : 1;
  1223.        } else if (toggle.classList.contains('stop-auto-play-video')) {
  1224.            body_class = "stop-auto-play-video";
  1225.            pref = 'stop_auto_play_video';
  1226.            val = toggle.classList.contains('active') ? 0 : 1;
  1227.        } else if (toggle.classList.contains('notification-pm')) {
  1228.            body_class = 'notification-pm';
  1229.            pref = 'toggle_notification_pm';
  1230.            val = toggle.classList.contains('active') ? 0 : 1;
  1231.        } else if (toggle.classList.contains('notification-video')) {
  1232.            body_class = 'notification-video';
  1233.            pref = 'toggle_notification_video';
  1234.            val = toggle.classList.contains('active') ? 0 : 1;
  1235.        } else if (toggle.classList.contains('notification-query')) {
  1236.            body_class = 'notification-query';
  1237.            pref = 'toggle_notification_query';
  1238.            val = toggle.classList.contains('active') ? 0 : 1;
  1239.        }
  1240.  
  1241.        if (pref === 'accept_share' || pref === 'new_search' || pref === 'stop_auto_play_video' || pref === 'toggle_notification_query' || pref === 'toggle_notification_pm' || pref === 'toggle_notification_video') {
  1242.            if (pref === 'new_search' && document.querySelector('#new-search-toggle')) show_loader();
  1243.        
  1244.            fetch('/ajax/toggle_user_prefs.php', {
  1245.                method: 'POST',
  1246.                headers: {
  1247.                    'Content-Type': 'application/x-www-form-urlencoded',
  1248.                },
  1249.                body: 'pref=' + encodeURIComponent(pref) + '&value=' + encodeURIComponent(val)
  1250.            })
  1251.            .then(response => response.json())
  1252.            .then(json => {
  1253.                if (pref === 'new_search') {
  1254.                    const newSearchToggle = document.querySelector('#new-search-toggle');
  1255.                    const searchInput = document.getElementById('srch-term').value;
  1256.                    const pageType = document.getElementsByName('page_type')[0].value;
  1257.                    if (newSearchToggle && newSearchToggle.classList.contains('active')) {
  1258.                        kill_modal();
  1259.                        window.location.href = '/pmwiki/elastic_search_result.php?new_search=true&q=' + encodeURIComponent(searchInput) + '&page_type=' + encodeURIComponent(pageType);
  1260.                    } else if (newSearchToggle) {
  1261.                        kill_modal();
  1262.                        window.location.href = '/pmwiki/search_result.php?new_search=false&q=' + encodeURIComponent(searchInput);
  1263.                    }
  1264.                }
  1265.            })
  1266.            .catch(error => {
  1267.                console.error('Error:', error);
  1268.            });
  1269.        
  1270.            document.querySelector('form.search').addEventListener('submit', function(e) {
  1271.                if (cookies.read('new-search') === 'true') {
  1272.                    e.preventDefault();
  1273.                    this.setAttribute('action', "/pmwiki/elastic_search_result.php");
  1274.                }
  1275.            });
  1276.        }
  1277.  
  1278.        // Toggle 'active' class based on body_class
  1279.        var displayToggles = document.querySelectorAll('.display-toggle.' + body_class);
  1280.        displayToggles.forEach(item_to_toggle => {
  1281.            item_to_toggle.classList.toggle('active');
  1282.        });
  1283.        
  1284.        var userPrefs = document.getElementById('user-prefs');
  1285.        userPrefs.classList.toggle(body_class);
  1286.  
  1287.        console.log('BODY CLASS:',body_class);
  1288.  
  1289.        if (userPrefs.classList.contains(body_class)) {
  1290.            cookies.create(body_class, 'true', 300, '/');
  1291.        } else {
  1292.            cookies.remove(body_class);
  1293.    
  1294.            // Specific logic for 'show-spoilers' class
  1295.            if (body_class === "show-spoilers") {
  1296.                document.querySelectorAll('.spoiler').forEach(spoiler => {
  1297.                    spoiler.classList.remove('off');
  1298.                });
  1299.            }
  1300.        }
  1301.    }
  1302.  
  1303.    if (target && loggedIn !== null) {
  1304.        e.preventDefault();
  1305.  
  1306.        if (loggedIn === 'true') {
  1307.            target.classList.add('processing');
  1308.        }
  1309.  
  1310.        // Article
  1311.        if (target.getAttribute('data-watch-info')) {
  1312.            var data = target.dataset.watchInfo.split(',');
  1313.  
  1314.            if (!data.length) return;
  1315.  
  1316.            var addOrDrop = target.classList.contains('watching') || target.parentElement.classList.contains('watching') ? 'drop' : 'add';
  1317.  
  1318.            handleWatchItem(addOrDrop, data[0], data[1], target);
  1319.  
  1320.        // Discussion page
  1321.        } else if (target.getAttribute('data-watch-discussion-info')) {
  1322.            var data = target.dataset.watchDiscussionInfo.split(',');
  1323.  
  1324.            if (!data.length) return;
  1325.  
  1326.            var addOrDrop = target.classList.contains('watching') || target.parentElement.classList.contains('watching') ? 'drop' : 'add';
  1327.            var pageType = 'Discussion';
  1328.  
  1329.            handleWatchItem(addOrDrop, data[0], data[1], target, pageType);
  1330.  
  1331.        // Forum thread
  1332.        } else if (target.getAttribute('data-watch-thread-id')) {
  1333.            var threadId = target.getAttribute('data-watch-thread-id');
  1334.            var url = target.classList.contains('watching') || target.parentElement.classList.contains('watching') ? '/pmwiki/thread_watch_drop.php?thread=' : '/pmwiki/setthreadwatch.php?d_id=';
  1335.            url += threadId;
  1336.  
  1337.            handleWatchThread(url, target);
  1338.        }
  1339.    }
  1340.    // Check for kill modal button click
  1341.    if (e.target.classList.contains('kill-modal-button')) {
  1342.        e.preventDefault();
  1343.        kill_modal();
  1344.    }
  1345.  
  1346.    // Check for data-click-toggle without data-click-toggle-target
  1347.    const targetWithoutToggleTarget = e.target.closest('*[data-click-toggle]:not([data-click-toggle-target])');
  1348.    if (targetWithoutToggleTarget) {
  1349.        e.preventDefault();
  1350.        const toggleClass = targetWithoutToggleTarget.getAttribute('data-click-toggle');
  1351.        targetWithoutToggleTarget.classList.toggle(toggleClass);
  1352.    }
  1353.  
  1354.    // Check for data-click-toggle with data-click-toggle-target
  1355.    const targetWithToggleTarget = e.target.closest('*[data-click-toggle][data-click-toggle-target]');
  1356.    if (targetWithToggleTarget) {
  1357.        e.preventDefault();
  1358.        e.stopPropagation();
  1359.        const toggleTarget = targetWithToggleTarget.getAttribute('data-click-toggle-target');
  1360.        const toggleClass = targetWithToggleTarget.getAttribute('data-click-toggle');
  1361.        if (toggleTarget.indexOf(',') > -1) {
  1362.            const targets = toggleTarget.split(",");
  1363.            targets.forEach(t => {
  1364.                document.querySelectorAll('#' + t).forEach(el => {
  1365.                    el.classList.toggle(toggleClass);
  1366.                });
  1367.            });
  1368.        } else {
  1369.            document.querySelectorAll('#' + toggleTarget).forEach(el => {
  1370.                el.classList.toggle(toggleClass);
  1371.            });
  1372.        }
  1373.    }
  1374.    // initiate all modals
  1375.    const modalTarget = e.target.closest('*[data-modal-target]');
  1376.    if(modalTarget) {
  1377.        if (!modalTarget) {
  1378.            return; // Skip, if no target found with the specified attribute
  1379.        }
  1380.  
  1381.        // Get modal details
  1382.        let modal = modalTarget.getAttribute('data-modal-target');
  1383.        let msg = modalTarget.getAttribute('data-modal-vars');
  1384.        let url = modalTarget.getAttribute('data-modal-confirmation-url');
  1385.  
  1386.        // Skip modal and go straight to the link
  1387.        if (modal === "allow") return;
  1388.  
  1389.        // Don't allow link since we are showing a modal instead
  1390.        e.preventDefault();
  1391.  
  1392.        // Add support for alert tags
  1393.        if (modal.substring(0, 6) === "alert-") {
  1394.            // Message array
  1395.            const msgArr = {
  1396.                "alert-banned": "Your permissions for this area have been suspended. Please visit <a href='/pmwiki/pmwiki.php/Administrivia/WhatToDoIfYouAreSuspended'>this page</a> for more details.",
  1397.                "alert-bounced": "This account has committed severe or repeated violations of our rules and is permanently denied access to many of the account features of the site. If you feel that this may be an error, please <a href=\"/pmwiki/contact.php\">contact the mods</a>.",
  1398.                "alert-denied": "Your account was denied by a moderator. If you believe this was done in error please <a href=\"/pmwiki/contact.php\">contact the mods</a>.",
  1399.                "alert-verify": "You must verify your email address before doing this. Check your email for a link.",
  1400.                "alert-approval": "Your account must be approved by a moderator before you can do this. If you still have this problem in a couple hours try <a href=\"/pmwiki/contact.php\">contacting the mods</a>.",
  1401.                "alert-age": "Your account is not old enough. Give it a little more time.",
  1402.                "alert-mod": "This page is only for moderators. Try something else.",
  1403.                "alert-db": "We are currently updating our database systems to UTF-8MB4. Please try again in 10-12 hours."
  1404.            };
  1405.  
  1406.            if (modal in msgArr) {
  1407.                msg = msgArr[modal];
  1408.            } else {
  1409.                msg = "Unknown error. Please <a href=\"/pmwiki/contact.php\">Contact us</a> if the problem persists.";
  1410.            }
  1411.  
  1412.            modal = "alert";
  1413.        }
  1414.  
  1415.        // Bring up modal now
  1416.        show_modal(modal, msg, url);
  1417.    }
  1418.  
  1419.    // SPOILERS
  1420.    const spoilers = e.target.closest('.spoiler');
  1421.    if (spoilers) {
  1422.        spoilers.classList.toggle('off');
  1423.    }
  1424.    
  1425.    // OPEN INDIVIDUAL FOLDERS
  1426.    const folders = e.target.closest('.folderlabel');
  1427.    if (folders && e.target.getAttribute('onclick') !== "toggleAllFolders();") {
  1428.        e.preventDefault();
  1429.  
  1430.        folders.classList.toggle('is-open');
  1431.        let folder = folders.nextElementSibling;
  1432.  
  1433.        if (folders.classList.contains('is-open')) {
  1434.            gtag('event', 'folder_click', {'device_type': device_type});
  1435.        }
  1436.  
  1437.        if (folder && folders.classList.contains('is-open') && live_ads == 1 && (document.body.clientWidth && document.body.clientWidth<=768)
  1438.        && tvtropes_config.universal_page_type == 'Article') {
  1439.            if (folder.querySelectorAll('.tvtropes-ad-unit').length === 0) {
  1440.                insert_ads_in_content(folder, globalAdInsertionCount);
  1441.            }
  1442.        }
  1443.    }
  1444.  
  1445.    // OPEN ALL FOLDERS
  1446.    const allFolders = e.target.closest('div[onclick*="toggleAllFolders()"]');
  1447.    
  1448.    if (allFolders) {
  1449.        let parentElement = allFolders.parentNode;
  1450.        // If the button is inside an H2, select the parent div of it
  1451.        if (parentElement.tagName === 'H2') parentElement = parentElement.parentNode;
  1452.        let isCurrentlyOpen = e.target.classList.contains('is-open');
  1453.        // Select only folder labels that are inside the same parent div as the clicked button
  1454.        let foldersAndButtons = parentElement.querySelectorAll('.folderlabel, .toggle-all-folders-button');
  1455.  
  1456.        foldersAndButtons.forEach(function(element) {
  1457.            if (isCurrentlyOpen) {
  1458.                element.classList.remove('is-open');
  1459.            } else {
  1460.                element.classList.add('is-open');
  1461.            }
  1462.        });
  1463.  
  1464.        if (!isCurrentlyOpen) {
  1465.            gtag('event', 'all_folders_click', {'device_type': device_type});
  1466.            // Also target only .folder elements within the same parent div
  1467.            parentElement.querySelectorAll('.folder').forEach(function(folder) {
  1468.                if (!folder.querySelector('.tvtropes-ad-unit') && live_ads == 1 && (document.body.clientWidth && document.body.clientWidth<=768)
  1469.                && tvtropes_config.universal_page_type == 'Article') {
  1470.                    insert_ads_in_content(folder, globalAdInsertionCount);
  1471.                }
  1472.            });
  1473.        }
  1474.    }
  1475.  
  1476. });
  1477. // Add/remove watched article
  1478. var handleWatchItem = function(addOrDrop, groupname, title, obj, pageType = '') {
  1479.    fetch("/ajax/watchlist.php", {
  1480.        method: "POST",
  1481.        headers: {
  1482.            'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8'
  1483.        },
  1484.        body: `groupname=${encodeURIComponent(groupname)}&title=${encodeURIComponent(title)}&type=${encodeURIComponent(addOrDrop)}&json=1&pageType=${encodeURIComponent(pageType)}`
  1485.    })
  1486.    .then(response => response.json())
  1487.    .then(data => {
  1488.        obj.classList.remove('processing');
  1489.  
  1490.        if (obj.classList.contains('tile-watch-button')) {
  1491.            obj.parentNode.classList.toggle('watching');
  1492.        } else {
  1493.            obj.classList.toggle('watching');
  1494.        }
  1495.    })
  1496.    .catch(error => {
  1497.        obj.classList.remove('processing');
  1498.        show_modal('alert-red', 'Whoops, something went wrong. Please try adding again.');
  1499.    });
  1500. }
  1501.  
  1502. // add/remove watched forum thread
  1503. var handleWatchThread = function(url, obj) {
  1504.    fetch(url)
  1505.    .then(response => response.text()) // assuming the server responds with plain text
  1506.    .then(data => {
  1507.        obj.classList.remove('processing');
  1508.  
  1509.        if (obj.classList.contains('tile-watch-button')) {
  1510.            obj.parentNode.classList.toggle('watching');
  1511.        } else {
  1512.            obj.classList.toggle('watching');
  1513.        }
  1514.    })
  1515.    .catch(error => {
  1516.        obj.classList.remove('processing');
  1517.        show_modal('alert-red', 'Whoops, something went wrong. Please try adding again.');
  1518.    });
  1519. }
  1520.    </script>
  1521.    
  1522.                    <script>
  1523.                if(split_testing == "control"){
  1524.                    // CSS is needed, add that first
  1525.  
  1526.                    var css = `#outer_sticky:before {
  1527.                                    content: "";
  1528.                                    background: #a3a3a36e;
  1529.                                    display: block;
  1530.                                    width: 100%;
  1531.                                    height: 93px;
  1532.                                    position: absolute;
  1533.                                    bottom: 0;
  1534.                                    @media (max-width:550px) {
  1535.                                        height: 53px;
  1536.                                    }
  1537.                                }
  1538.  
  1539.                                #outer_sticky{
  1540.                                    position: fixed;
  1541.                                    bottom: 0px;
  1542.                                    display: block;
  1543.                                    z-index: 10000;
  1544.                                    width: 100% !important;
  1545.                                    height: 90px;
  1546.                                    
  1547.                                    #close_sticky{
  1548.                                        align-items: center;
  1549.                                        background: #b8b8b8;
  1550.                                        border-radius: 7px 0 0 0;
  1551.                                        bottom: 93px;
  1552.                                        cursor: pointer;
  1553.                                        display: flex;
  1554.                                        height: 27px;
  1555.                                        justify-content: center;
  1556.                                        position: absolute;
  1557.                                        right: 0px;
  1558.                                        width: 40px;
  1559.                                        z-index: 9999999;
  1560.                                        i.fa{
  1561.                                        margin-right: 1px;
  1562.                                        color: white;
  1563.                                        font-size: 14px;
  1564.                                        }
  1565.                                        @media(max-width:550px){
  1566.                                        width: 25px;
  1567.                                        height: 25px;
  1568.                                        bottom: 53px;
  1569.                                        i.fa{
  1570.                                            font-size: 12px;
  1571.                                            margin-right: -1px;
  1572.                                            margin-top: 1px;
  1573.                                        }
  1574.                                        }
  1575.                                    }
  1576.                                    div[id*='google_ads_iframe_']{
  1577.                                        width: 100% !important;
  1578.                                    }
  1579.                                    @media(max-width:550px){
  1580.                                        height: 50px;
  1581.                                    }
  1582.                                }`;
  1583.                    
  1584.                    var head = document.head;
  1585.                    var style = document.createElement("style");
  1586.  
  1587.                    style.type = "text/css";
  1588.                    if (style.styleSheet){
  1589.                        // This is required for IE8 and below.
  1590.                        style.styleSheet.cssText = css;
  1591.                    }
  1592.                    else{
  1593.                        style.appendChild(document.createTextNode(css));
  1594.                    }
  1595.  
  1596.                    head.appendChild(style);
  1597.  
  1598.                    if(is_mobile()) {
  1599.                        document.write(`<div id="outer_sticky" style="display: none;">
  1600.                                            <div id="close_sticky" onclick="ads_project.close_sticky(); return false;"><i class="fa fa-close"></i></div>
  1601.  
  1602.                                            <div class=\"htlad-tvtropes_m_sticky\"></div>
  1603.                                        </div>`);
  1604.                    }
  1605.                    else {
  1606.                        document.write(`<div id="outer_sticky" style="display: none;">
  1607.                                            <div id="close_sticky" onclick="ads_project.close_sticky(); return false;"><i class="fa fa-close"></i></div>
  1608.  
  1609.                                            <div class=\"htlad-tvtropes_dt_sticky\"></div>
  1610.                                        </div>`);
  1611.                    }
  1612.                }
  1613.                else{
  1614.                    if(is_mobile()) {
  1615.                        document.write("<div class=\"htlad-tvtropes_m_sticky\"></div>");
  1616.                    }
  1617.                    else {
  1618.                        document.write("<div class=\"htlad-tvtropes_dt_sticky\"></div>");
  1619.                    }
  1620.                }
  1621.            </script>
  1622.  
  1623.                <div id="tvtropes_oop_ad_slot" style="display: none;"></div>
  1624.    <div id="header-fad-wrapper" class="fad">
  1625.    <div id="header-fad">
  1626.    <div class="fad-size-970x90" style="height:20px">&nbsp;</div>    </div>
  1627. </div>
  1628.  
  1629. <div id="main-container">
  1630.  
  1631.    
  1632.        <div id="action-bar-top" class="action-bar mobile-off">
  1633.  
  1634.        <div class="action-bar-right">
  1635.            <p>Follow TV Tropes</p>
  1636.            <a href="https://www.facebook.com/TVTropes" class="button-fb">
  1637.                <i class="fa fa-facebook"></i></a>
  1638.            <a href="https://www.twitter.com/TVTropes" class="button-tw">
  1639.                <i class="fa fa-twitter"></i></a>
  1640.        </div>
  1641.  
  1642.                <nav class="actions-wrapper" itemscope itemtype="http://schema.org/SiteNavigationElement">
  1643.            <ul id="top_main_list" class="page-actions">
  1644.            <li class="link-changes"><a href="/pmwiki/cutlist.php">
  1645.                <i class="fa fa-cut"></i> Cutlist</a></li><li class="link-launches"><a href="/pmwiki/changes.php">
  1646.                <i class="fa fa-pencil-square-o"></i> New Edits</a></li><li class="link-discards"><a href="/pmwiki/recent_edit_reasons.php">
  1647.                <i class="fa fa-quote-left"></i> Edit Reasons</a></li><li class="link-cutList"><a href="/pmwiki/crown_activity.php">
  1648.                <i class="fa crowner-icon">&#9819;</i> Crowner Activity</a></li><li class="link-cutList"><a href="/pmwiki/img_list.php">
  1649.                <i class="fa fa-picture-o"></i> Images List</a></li>                </ul>
  1650.                                    <button id="top_more_button" onclick="toggle_more_menu('top');" type="button" class="nav__dropdown-toggle">More</button>
  1651.                            <ul id="top_more_list" class="more_menu hidden_more_list">
  1652.                <li class="link-videos more_list_item"><a href="/pmwiki/recent_videos.php">
  1653.                <i class="fa fa-picture-o"></i> Recent Videos</a></li><li class="link-cutList more_list_item"><a href="/pmwiki/articles_new.php">
  1654.                <i class="fa fa-newspaper-o"></i> New Articles</a></li>            </ul>
  1655.        </nav>
  1656.  
  1657.        <div class="WikiWordModalStub"></div>
  1658.        <div class="ImgUploadModalStub" data-page-type="Misc"></div>
  1659.  
  1660.        <div class="login-alert" style="display: none;">
  1661.            You need to <a href="/pmwiki/login.php" style="color:#21A0E8">login</a> to do this. <a href="/pmwiki/login.php?tab=register_account" style="color:#21A0E8">Get Known</a> if you don't have an account
  1662.        </div>
  1663.  
  1664.    </div>
  1665.    
  1666.    <div id="main-content" class="page-Misc ">
  1667.  
  1668.        
  1669.        
  1670.        <div id="main-entry" class="with-sidebar">
  1671.  
  1672.        
  1673. <!-- HIDDEN INPUTS FOR JS -->
  1674. <input type="hidden" id="groupname-hidden" value=""/>
  1675. <input type="hidden" id="title-hidden" value=""/>
  1676.  
  1677.  
  1678.  
  1679.  
  1680.  
  1681. <h1 itemprop="headline" class="entry-title">Outbound Link Message</h1>
  1682.  
  1683. <a href="#mobile-actions-toggle" id="mobile-actionbar-toggle" class="mobile-actionbar-toggle mobile-on" data-click-toggle="active" >
  1684. <p class="tiny-off">Go To</p><span></span><span></span><span></span><i class="fa fa-pencil"></i></a>
  1685. <nav id="mobile-actions-bar" class="mobile-actions-wrapper mobile-on"></nav>
  1686. <script>
  1687.    //duplicate action bar to the mobile-action-bar holder
  1688.    if (document.getElementById("mobile-actions-bar")) {
  1689.        // Clone the main list
  1690.        var top_main_list = document.getElementById('top_main_list');
  1691.        var top_main_list_cln = top_main_list.cloneNode(true);
  1692.        // Clone the more list
  1693.        var top_more_list = document.getElementById('top_more_list');
  1694.        var top_more_list_cln = top_more_list.cloneNode(true);
  1695.  
  1696.        top_more_list_cln.querySelectorAll("li").forEach(function(child){
  1697.            top_main_list_cln.appendChild(child);
  1698.        });
  1699.  
  1700.        document.getElementById("mobile-actions-bar").appendChild(top_main_list_cln);
  1701.    }
  1702. </script>
  1703. <div id="main-article" class="article-content retro-folders" itemprop="mainContentOfPage">
  1704.  
  1705.    <div id="wikimiddle" style="width:95%;">
  1706. <p>Sorry, but we can no longer support direct outbound links from the wiki articles. Malicious and inappropriate links are sometimes entered faster than we can clean them out.</p><p>If you choose to go to this address be warned that it is not TV Tropes content and may not be consistent with our family-friendly content policy. You can turn off this message on your <a href="http://tvtropes.org/pmwiki/profile.php">profile</a>.<br/><br/>The URL given was: <b><a href="http://stomatolgoldstein.ru/lechenie-zubov-v-spb/">http://stomatolgoldstein.ru/lechenie-zubov-v-spb/</a></b></p>
  1707. </div>
  1708.  
  1709. </div><!-- wikimiddle --></div>
  1710.  
  1711.  
  1712.  
  1713.  
  1714.  
  1715.  
  1716.                
  1717.  
  1718.                
  1719.            </div>
  1720.  
  1721.                
  1722.                        <div id="main-content-sidebar"><div class="sidebar-item display-options">
  1723.  <ul class="sidebar display-toggles">
  1724.    <li>Show Spoilers <div id="sidebar-toggle-showspoilers" class="display-toggle show-spoilers"></div></li>
  1725.    <li>Night Vision <div id="sidebar-toggle-nightvision" class="display-toggle night-vision"></div></li>
  1726.    <li>Sticky Header <div id="sidebar-toggle-stickyheader" class="display-toggle sticky-header"></div></li>
  1727.    <li>Wide Load <div id="sidebar-toggle-wideload" class="display-toggle wide-load"></div></li>
  1728.  </ul>
  1729.  <script>updateDesktopPrefs();</script>
  1730. </div>
  1731.  
  1732.        <div class="sidebar-item quick-links" itemtype="http://schema.org/SiteNavigationElement">
  1733.  
  1734.        <p class="sidebar-item-title" data-title="Important Links">Important Links</p>
  1735.  
  1736.        <div class="padded">
  1737.            <a href="/pmwiki/query.php?type=att">Ask The Tropers</a>
  1738.            <a href="/pmwiki/query.php?type=tf">Trope Finder</a>
  1739.            <a href="/pmwiki/query.php?type=ykts">Media Finder</a>
  1740.            <a href="/pmwiki/tlp_activity.php">Trope Launch Pad</a>
  1741.            <a href="/pmwiki/query.php?type=wl">Tech Wishlist</a></li>
  1742.            <a href="/pmwiki/review_activity.php">Reviews</a>
  1743.            <a href="/pmwiki/ad-free-subscribe.php">Go Ad Free!</a>
  1744.            <div class="crucial_browsing_dropdown">
  1745.                <a href="javascript:void(0);" onclick="double_dropdown(); return false;" id="crucial_browsing_dropdown"><span class="new_blue">Crucial Browsing</span><i class="fa fa-angle-down"></i></a>
  1746.                <ul id="main_dropdown">
  1747.                    <li class="first_dropdown"><a href="javascript:void(0);" data-click-toggle="active">Genre</a>
  1748.                        <ul>
  1749.                            <li><a href='/pmwiki/pmwiki.php/Main/ActionAdventureTropes' title='Main/ActionAdventureTropes'>Action Adventure</a></li>
  1750.                            <li><a href='/pmwiki/pmwiki.php/Main/ComedyTropes' title='Main/ComedyTropes'>Comedy</a></li>
  1751.                            <li><a href='/pmwiki/pmwiki.php/Main/CommercialsTropes' title='Main/CommercialsTropes'>Commercials</a></li>
  1752.                            <li><a href='/pmwiki/pmwiki.php/Main/CrimeAndPunishmentTropes' title='Main/CrimeAndPunishmentTropes'>Crime &amp; Punishment</a></li>
  1753.                            <li><a href='/pmwiki/pmwiki.php/Main/DramaTropes' title='Main/DramaTropes'>Drama</a></li>
  1754.                            <li><a href='/pmwiki/pmwiki.php/Main/HorrorTropes' title='Main/HorrorTropes'>Horror</a></li>
  1755.                            <li><a href='/pmwiki/pmwiki.php/Main/LoveTropes' title='Main/LoveTropes'>Love</a></li>
  1756.                            <li><a href='/pmwiki/pmwiki.php/Main/NewsTropes' title='Main/NewsTropes'>News</a></li>
  1757.                            <li><a href='/pmwiki/pmwiki.php/Main/ProfessionalWrestling' title='Main/ProfessionalWrestling'>Professional Wrestling</a></li>
  1758.                            <li><a href='/pmwiki/pmwiki.php/Main/SpeculativeFictionTropes' title='Main/SpeculativeFictionTropes'>Speculative Fiction</a></li>
  1759.                            <li><a href='/pmwiki/pmwiki.php/Main/SportsStoryTropes' title='Main/SportsStoryTropes'>Sports Story</a></li>
  1760.                            <li><a href='/pmwiki/pmwiki.php/Main/WarTropes' title='Main/WarTropes'>War</a></li>
  1761.                            <li><a href="/pmwiki/lbs.php" data-modal-target="login">Live Blogs</a></li>
  1762.                        </ul>
  1763.                    </li>
  1764.  
  1765.                    <li class="first_dropdown"><a href="javascript:void(0);" data-click-toggle="active">Media</a>
  1766.                        <ul>
  1767.                            <li><a href="/pmwiki/pmwiki.php/Main/Media" title="Main/Media">All Media</a></li>
  1768.                            <li><a href="/pmwiki/pmwiki.php/Main/AnimationTropes" title="Main/AnimationTropes">Animation (Western)</a></li>
  1769.                            <li><a href="/pmwiki/pmwiki.php/Main/Anime" title="Main/Anime">Anime</a></li>
  1770.                            <li><a href="/pmwiki/pmwiki.php/Main/ComicBookTropes" title="Main/ComicBookTropes">Comic Book</a></li>
  1771.                            <li><a href="/pmwiki/pmwiki.php/Main/FanFic" title="FanFic/FanFics">Fan Fics</a></li>
  1772.                            <li><a href="/pmwiki/pmwiki.php/Main/Film" title="Main/Film">Film</a></li>
  1773.                            <li><a href="/pmwiki/pmwiki.php/Main/GameTropes" title="Main/GameTropes">Game</a></li>
  1774.                            <li><a href="/pmwiki/pmwiki.php/Main/Literature" title="Main/Literature">Literature</a></li>
  1775.                            <li><a href="/pmwiki/pmwiki.php/Main/MusicAndSoundEffects" title="Main/MusicAndSoundEffects">Music And Sound Effects</a></li>
  1776.                            <li><a href="/pmwiki/pmwiki.php/Main/NewMediaTropes" title="Main/NewMediaTropes">New Media</a></li>
  1777.                            <li><a href="/pmwiki/pmwiki.php/Main/PrintMediaTropes" title="Main/PrintMediaTropes">Print Media</a></li>
  1778.                            <li><a href="/pmwiki/pmwiki.php/Main/Radio" title="Main/Radio">Radio</a></li>
  1779.                            <li><a href="/pmwiki/pmwiki.php/Main/SequentialArt" title="Main/SequentialArt">Sequential Art</a></li>
  1780.                            <li><a href="/pmwiki/pmwiki.php/Main/TabletopGames" title="Main/TabletopGames">Tabletop Games</a></li>
  1781.                            <li><a href="/pmwiki/pmwiki.php/UsefulNotes/Television" title="Main/Television">Television</a></li>
  1782.                            <li><a href="/pmwiki/pmwiki.php/Main/Theater" title="Main/Theater">Theater</a></li>
  1783.                            <li><a href="/pmwiki/pmwiki.php/Main/VideogameTropes" title="Main/VideogameTropes">Videogame</a></li>
  1784.                            <li><a href="/pmwiki/pmwiki.php/Main/Webcomics" title="Main/Webcomics">Webcomics</a></li>
  1785.                        </ul>
  1786.                    </li>
  1787.  
  1788.                    <li class="first_dropdown"><a href="javascript:void(0);" data-click-toggle="active">Narrative</a>
  1789.                        <ul>
  1790.                            <li><a href="/pmwiki/pmwiki.php/Main/UniversalTropes" title="Main/UniversalTropes">Universal</a></li>
  1791.                            <li><a href="/pmwiki/pmwiki.php/Main/AppliedPhlebotinum" title="Main/AppliedPhlebotinum">Applied Phlebotinum</a></li>
  1792.                            <li><a href="/pmwiki/pmwiki.php/Main/CharacterizationTropes" title="Main/CharacterizationTropes">Characterization</a></li>
  1793.                            <li><a href="/pmwiki/pmwiki.php/Main/Characters" title="Main/Characters">Characters</a></li>
  1794.                            <li><a href="/pmwiki/pmwiki.php/Main/CharactersAsDevice" title="Main/CharactersAsDevice">Characters As Device</a></li>
  1795.                            <li><a href="/pmwiki/pmwiki.php/Main/Dialogue" title="Main/Dialogue">Dialogue</a></li>
  1796.                            <li><a href="/pmwiki/pmwiki.php/Main/Motifs" title="Main/Motifs">Motifs</a></li>
  1797.                            <li><a href="/pmwiki/pmwiki.php/Main/NarrativeDevices" title="Main/NarrativeDevices">Narrative Devices</a></li>
  1798.                            <li><a href="/pmwiki/pmwiki.php/Main/Paratext" title="Main/Paratext">Paratext</a></li>
  1799.                            <li><a href="/pmwiki/pmwiki.php/Main/Plots" title="Main/Plots">Plots</a></li>
  1800.                            <li><a href="/pmwiki/pmwiki.php/Main/Settings" title="Main/Settings">Settings</a></li>
  1801.                            <li><a href="/pmwiki/pmwiki.php/Main/Spectacle" title="Main/Spectacle">Spectacle</a></li>
  1802.                        </ul>
  1803.                    </li>
  1804.  
  1805.                    <li class="first_dropdown"><a href="javascript:void(0);" data-click-toggle="active">Other Categories</a>
  1806.                        <ul>
  1807.                            <li><a href="/pmwiki/pmwiki.php/Main/BritishTellyTropes" title="Main/BritishTellyTropes">British Telly</a></li>
  1808.                            <li><a href="/pmwiki/pmwiki.php/Main/TheContributors" title="Main/TheContributors">The Contributors</a></li>
  1809.                            <li><a href="/pmwiki/pmwiki.php/Main/CreatorSpeak" title="Main/CreatorSpeak">Creator Speak</a></li>
  1810.                            <li><a href="/pmwiki/pmwiki.php/Main/Creators" title="Main/Creators">Creators</a></li>
  1811.                            <li><a href="/pmwiki/pmwiki.php/Main/DerivativeWorks" title="Main/DerivativeWorks">Derivative Works</a></li>
  1812.                            <li><a href="/pmwiki/pmwiki.php/Main/LanguageTropes" title="Main/LanguageTropes">Language</a></li>
  1813.                            <li><a href="/pmwiki/pmwiki.php/Main/LawsAndFormulas" title="Main/LawsAndFormulas">Laws And Formulas</a></li>
  1814.                            <li><a href="/pmwiki/pmwiki.php/Main/ShowBusiness" title="Main/ShowBusiness">Show Business</a></li>
  1815.                            <li><a href="/pmwiki/pmwiki.php/Main/SplitPersonalityTropes" title="Main/SplitPersonalityTropes">Split Personality</a></li>
  1816.                            <li><a href="/pmwiki/pmwiki.php/Main/StockRoom" title="Main/StockRoom">Stock Room</a></li>
  1817.                            <li><a href="/pmwiki/pmwiki.php/Main/TropeTropes" title="Main/TropeTropes">Trope</a></li>
  1818.                            <li><a href="/pmwiki/pmwiki.php/Main/Tropes" title="Main/Tropes">Tropes</a></li>
  1819.                            <li><a href="/pmwiki/pmwiki.php/Main/TruthAndLies" title="Main/TruthAndLies">Truth And Lies</a></li>
  1820.                            <li><a href="/pmwiki/pmwiki.php/Main/TruthInTelevision" title="Main/TruthInTelevision">Truth In Television</a></li>
  1821.                        </ul>
  1822.                    </li>
  1823.  
  1824.                    <li class="first_dropdown"><a href="javascript:void(0);" data-click-toggle="active">Topical Tropes</a>
  1825.                        <ul>
  1826.                            <li><a href="/pmwiki/pmwiki.php/Main/BetrayalTropes" title="Main/BetrayalTropes">Betrayal</a></li>
  1827.                            <li><a href="/pmwiki/pmwiki.php/Main/CensorshipTropes" title="Main/CensorshipTropes">Censorship</a></li>
  1828.                            <li><a href="/pmwiki/pmwiki.php/Main/CombatTropes" title="Main/CombatTropes">Combat</a></li>
  1829.                            <li><a href="/pmwiki/pmwiki.php/Main/DeathTropes" title="Main/DeathTropes">Death</a></li>
  1830.                            <li><a href="/pmwiki/pmwiki.php/Main/FamilyTropes" title="Main/FamilyTropes">Family</a></li>
  1831.                            <li><a href="/pmwiki/pmwiki.php/Main/FateAndProphecyTropes" title="Main/FateAndProphecyTropes">Fate And Prophecy</a></li>
  1832.                            <li><a href="/pmwiki/pmwiki.php/Main/FoodTropes" title="Main/FoodTropes">Food</a></li>
  1833.                            <li><a href="/pmwiki/pmwiki.php/Main/HolidayTropes" title="Main/HolidayTropes">Holiday</a></li>
  1834.                            <li><a href="/pmwiki/pmwiki.php/Main/MemoryTropes" title="Main/MemoryTropes">Memory</a></li>
  1835.                            <li><a href="/pmwiki/pmwiki.php/Main/MoneyTropes" title="Main/MoneyTropes">Money</a></li>
  1836.                            <li><a href="/pmwiki/pmwiki.php/Main/MoralityTropes" title="Main/MoralityTropes">Morality</a></li>
  1837.                            <li><a href="/pmwiki/pmwiki.php/Main/PoliticsTropes" title="Main/PoliticsTropes">Politics</a></li>
  1838.                            <li><a href="/pmwiki/pmwiki.php/Main/ReligionTropes" title="Main/ReligionTropes">Religion</a></li>
  1839.                            <li><a href="/pmwiki/pmwiki.php/Main/SchoolTropes" title="Main/SchoolTropes">School</a></li>
  1840.                        </ul>
  1841.                    </li>
  1842.                </ul>
  1843.            </div>
  1844.  
  1845.            <div class="resources_dropdown">
  1846.                <a href="javascript:void(0);" onclick="second_double_dropdown(); return false;" id="resources_dropdown"><span class="new_blue blue">Resources</span><i class="fa fa-angle-down"></i></a>
  1847.  
  1848.                <ul id="second_main_dropdown" class="padded font-s" itemscope itemtype="http://schema.org/SiteNavigationElement">
  1849.                                        <li class="second_dropdown"><a href="#test" data-click-toggle="active">Tools</a>
  1850.                        <ul>
  1851.                            <li><a href="/pmwiki/pmwiki.php/Administrivia/IttyBittyWikiTools">Wiki Tools</a></li>
  1852.                            <li><a href="/pmwiki/cutlist.php">Cut List</a></li>
  1853.                            <li><a href="/pmwiki/changes.php">New Edits</a></li>
  1854.                            <li><a href="/pmwiki/recent_edit_reasons.php">Edit Reasons</a></li>
  1855.                            <li><a href="/pmwiki/isolated_pages.php">Isolated Pages</a></li>
  1856.                            <li><a href="/pmwiki/launches.php">Launches</a></li>
  1857.                            <li><a href="/pmwiki/img_list.php">Images List</a></li>
  1858.                            <li><a href="/pmwiki/recent_videos.php">Recent Videos</a></li>
  1859.                            <li><a href="/pmwiki/crown_activity.php">Crowner Activity</a></li>
  1860.                            <li><a href="/pmwiki/no_types.php">Un-typed Pages</a></li>
  1861.                            <li><a href="/pmwiki/page_type_audit.php">Recent Page Type Changes</a></li>
  1862.                        </ul>
  1863.                    </li>
  1864.                    <li class="second_dropdown"><a href="javascript:void(0);" data-click-toggle="active">Templates</a>
  1865.                        <ul>
  1866.                            <li><a href="/pmwiki/pmwiki.php/Main/TropeEntryTemplate">Trope Entry</a></li>
  1867.                            <li><a href="/pmwiki/pmwiki.php/Main/ProgramEntryTemplate">Works</a></li>
  1868.                            <li><a href="/pmwiki/pmwiki.php/Administrivia/CharacterSheetTemplate">Character Sheet</a></li>
  1869.                            <li><a href="/pmwiki/pmwiki.php/Administrivia/PlayingWithWikiTemplate">Playing With</a></li>
  1870.                            <li><a href="/pmwiki/pmwiki.php/FanficRecs/TemplatePageForNewFandomRecommendations">Fandom</a></li>
  1871.                        </ul>
  1872.                    </li>
  1873.                    <li class="second_dropdown"><a href="javascript:void(0);" data-click-toggle="active">Tips</a>
  1874.                        <ul>
  1875.                            <li><a href="/pmwiki/pmwiki.php/Administrivia/CreatingNewRedirects">Creating New Redirects</a></li>
  1876.                            <li><a href="/pmwiki/pmwiki.php/Administrivia/Crosswicking">Cross Wicking</a></li>
  1877.                            <li><a href="/pmwiki/pmwiki.php/Administrivia/TipsForEditing">Tips for Editing</a></li>
  1878.                            <li><a href="/pmwiki/pmwiki.php/Administrivia/TextFormattingRules">Text Formatting Rules</a></li>
  1879.                            <li><a href="/pmwiki/pmwiki.php/Administrivia/TVTropesGlossary">Glossary</a></li>
  1880.                            <li><a href="/pmwiki/pmwiki.php/Administrivia/EditReasonsAndWhyYouShouldUseThem">Edit Reasons</a></li>
  1881.                            <li><a href="/pmwiki/pmwiki.php/Administrivia/HandlingSpoilers">Handling Spoilers</a></li>
  1882.                            <li><a href="/pmwiki/pmwiki.php/Administrivia/WordCruft">Word Cruft</a></li>
  1883.                            <li><a href="/pmwiki/pmwiki.php/Main/Administrivia">Administrivia</a></li>
  1884.                            <li><a href="/pmwiki/pmwiki.php/Main/FAQ">FAQ</a></li>
  1885.                        </ul>
  1886.                    </li>
  1887.                    <li class="second_dropdown"><a href="/pmwiki/changelog.php">Changelog</a></li>
  1888.                    <li class="second_dropdown"><a href="/pmwiki/query.php?type=bug">Report Bug</a></li>
  1889.                    <li class="second_dropdown"><a href="/pmwiki/conversations.php?topic=renames">Trope Repair Shop</a></li>
  1890.                    <li class="second_dropdown"><a href="/pmwiki/conversations.php?topic=images">Image Pickin'</a></li>
  1891.                </ul>
  1892.            </div>
  1893.        </div>
  1894.  
  1895.        <div id="asteri-sidebar" style="display:none">
  1896.            <p style="margin-top: 20px;" class="sidebar-item-title" data-title="Advertisement">Advertisement:</p>
  1897.            <div id="asteri_cont"></div>
  1898.        </div>
  1899.        <script>
  1900.            //asteri enabled
  1901.            if((tvtropes_config.asteri_stream_enabled || tvtropes_config.get_asteri_stream == 'live')) {
  1902.                //aster stream currently live and not a logged-in troper
  1903.                if(!tvtropes_config.is_logged_in && cookies.read('asteri_event_active') != '') {
  1904.                    document.getElementById('asteri-sidebar').style.display="";
  1905.                }
  1906.            }
  1907.        </script>
  1908.  
  1909.    </div>
  1910.  
  1911.        
  1912.            
  1913.  
  1914.    
  1915.        
  1916.            <script>
  1917.    if(!is_mobile()) {
  1918.  
  1919.        //don't insert if content is too small on page
  1920.        var tropes_insert_side_ad=true;
  1921.        if(document.getElementById("main-article") && document.getElementById("main-article").clientHeight) {
  1922.            var sidebar_height=document.getElementById("main-article").clientHeight;
  1923.            if(sidebar_height>0 && sidebar_height<500) {
  1924.                tropes_insert_side_ad=false;
  1925.                console.log('ad parser: content too small for sidebar ad');
  1926.            }
  1927.        }
  1928.  
  1929.        if(tropes_insert_side_ad) {
  1930.  
  1931.       document.write(`
  1932.        <div id="stick-cont"  class="sidebar-item sb-fad-unit">
  1933.            <p class="sidebar-item-title" data-title="Advertisement">Advertisement:</p>
  1934.            <div id="stick-bar" class="sidebar-section">
  1935.                <div class="square_fad fad-size-300x600 fad-section text-center">
  1936.                    <div class='tvtropes-ad-unit '>
  1937.                      <div id='tvtropes_dt_inview' class='htlad-tvtropes_dt_inview'></div>
  1938.                    </div>
  1939.                </div>
  1940.            </div>
  1941.        </div>
  1942.        `);
  1943.        }
  1944.  
  1945.    }
  1946.    </script>
  1947.    
  1948.  
  1949. </div>
  1950.        
  1951.    </div>
  1952.  
  1953.        <div id="action-bar-bottom" class="action-bar tablet-off">
  1954.        <a href="#top-of-page" class="scroll-to-top dead-button" onclick="$('html, body').animate({scrollTop : 0},500);">Top</a>
  1955.    </div>
  1956.    
  1957. </div>    <footer id="main-footer">
  1958.        <div id="main-footer-inner">
  1959.  
  1960.  
  1961.            <div class="footer-left">
  1962.  
  1963.                <a href="/" class="img-link"><img data-src="/img/tvtropes-footer-logo.png" alt="TV Tropes" class="logo_image lazy-image" title="TV Tropes" /></a>
  1964.  
  1965.                <form action="index.html" id="cse-search-box-mobile" class="navbar-form newsletter-signup validate modal-replies" name="" role="" data-ajax-get="/ajax/subscribe_email.php">
  1966.  
  1967.                    <button class="btn-submit newsletter-signup-submit-button" type="submit" id="subscribe-btn"><i class="fa fa-paper-plane"></i></button>
  1968.                    <input id="subscription-email" type="text" class="form-control" name="q" size="31" placeholder="Subscribe" value="" validate-type="email">
  1969.  
  1970.                </form>
  1971.  
  1972.                <ul class="social-buttons">
  1973.                   <li><a class="btn fb" target="_blank" onclick="_gaq.push(['_trackEvent', 'btn-social-icon', 'click', 'btn-facebook']);" href="https://www.facebook.com/tvtropes"><i class="fa fa-facebook"></i></a></li>
  1974.                   <li><a class="btn tw" target="_blank" onclick="_gaq.push(['_trackEvent', 'btn-social-icon', 'click', 'btn-twitter']);" href="https://www.twitter.com/tvtropes"><i class="fa fa-twitter"></i></a> </li>
  1975.                                                      </ul>
  1976.  
  1977.            </div>
  1978.  
  1979.            <hr/>
  1980.  
  1981.            <ul class="footer-menu" itemscope itemtype="http://schema.org/SiteNavigationElement">
  1982.                <li><h4 class="footer-menu-header">TVTropes</h4></li>
  1983.                <li><a href="/pmwiki/pmwiki.php/Main/Administrivia">About TVTropes</a></li>
  1984.                <li><a href="/pmwiki/pmwiki.php/Administrivia/TheGoalsOfTVTropes">TVTropes Goals</a></li>
  1985.                <li><a href="/pmwiki/pmwiki.php/Administrivia/TheTropingCode">Troping Code</a></li>
  1986.                <li><a href="/pmwiki/pmwiki.php/Administrivia/TVTropesCustoms">TVTropes Customs</a></li>
  1987.                <li><a href="/pmwiki/pmwiki.php/JustForFun/TropesOfLegend">Tropes of Legend</a></li>
  1988.                <li><a href="/pmwiki/ad-free-subscribe.php">Go Ad-Free</a></li>
  1989.                            </ul>
  1990.  
  1991.            <hr/>
  1992.  
  1993.            <ul class="footer-menu" itemscope itemtype="http://schema.org/SiteNavigationElement">
  1994.                <li><h4 class="footer-menu-header">Community</h4></li>
  1995.                <li><a href="/pmwiki/query.php?type=att">Ask The Tropers</a></li>
  1996.                <li><a href="/pmwiki/tlp_activity.php">Trope Launch Pad</a></li>
  1997.                <li><a href="/pmwiki/query.php?type=tf">Trope Finder</a></li>
  1998.                <li><a href="/pmwiki/query.php?type=ykts">Media Finder</a></li>
  1999.                <li><a href="/pmwiki/lbs.php" data-modal-target="login">Live Blogs</a></li>
  2000.                <li><a href="/pmwiki/query.php?type=wl">Tech Wishlist</a></li>
  2001.                <li><a href="/pmwiki/review_activity.php">Reviews</a></li>
  2002.                <li><a href="/pmwiki/topics.php">Forum</a></li>
  2003.            </ul>
  2004.  
  2005.            <hr/>
  2006.  
  2007.            <ul class="footer-menu" itemscope itemtype="http://schema.org/SiteNavigationElement">
  2008.                <li><h4 class="footer-menu-header">Tropes HQ</h4></li>
  2009.                <li><a href="/pmwiki/about.php">About Us</a></li>
  2010.                                <li><a href="/pmwiki/contact.php">Contact Us</a></li>
  2011.                <li><a href="/pmwiki/query.php?type=bug">Report Bug</a></li>
  2012.                <li><a href="/pmwiki/changelog.php">Changelog</a></li>
  2013.                <li><a href="/pmwiki/dmca.php">DMCA Notice</a></li>
  2014.                <li><a href="/pmwiki/privacypolicy.php">Privacy Policy</a></li>
  2015.  
  2016.            </ul>
  2017.  
  2018.        </div>
  2019.  
  2020.        <div id="desktop-on-mobile-toggle" class="text-center gutter-top gutter-bottom tablet-on">
  2021.          <a href="/pmwiki/switchDeviceCss.php?mobileVersion=1" rel="nofollow">Switch to <span class="txt-desktop">Desktop</span><span class="txt-mobile">Mobile</span> Version</a>
  2022.        </div>
  2023.  
  2024.        <div class="legal">
  2025.            <p>TVTropes is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License. <br>Permissions beyond the scope of this license may be available from <a xmlns:cc="http://creativecommons.org/ns#" href="mailto:thestaff@tvtropes.org" rel="cc:morePermissions"> thestaff@tvtropes.org</a>.</p>
  2026.            <br>
  2027.            <div class="privacy_wrapper">
  2028.            </div>
  2029.        </div>
  2030.    </footer>
  2031.    
  2032.    
  2033.    <style>
  2034.      div.fc-ccpa-root {
  2035.        position: absolute !important;
  2036.        bottom: 93px !important;
  2037.        margin: auto !important;
  2038.        width: 100% !important;
  2039.        z-index: 9999 !important;
  2040.        overflow: hidden !important;
  2041.      }
  2042.      .fc-ccpa-root .fc-dns-dialog .fc-dns-link p{
  2043.        outline: none !important;
  2044.        text-decoration: underline !important;
  2045.        font-size: .7em !important;
  2046.        font-family: sans-serif !important;
  2047.      }
  2048.      .fc-ccpa-root .fc-dns-dialog .fc-dns-link .fc-button-background {
  2049.        background: none !important;
  2050.      }
  2051.    </style>
  2052.  
  2053.        <div id="_pm_videoViewer" class="full-screen">
  2054.  
  2055.  <a href="#close" class="close" id="_pm_videoViewer-close"></a>
  2056.  
  2057.  <div class="_pmvv-body">
  2058.  
  2059.    <div class="_pmvv-vidbox">
  2060.  
  2061.        
  2062.    </div>
  2063.  
  2064.  </div>
  2065.  
  2066.  
  2067. </div>
  2068.  
  2069.        
  2070.    
  2071.        <script type="text/javascript">
  2072.  
  2073.        var cleanCreativeEnabled = "";
  2074.        var donation = "";
  2075.        var live_ads = "1";
  2076.        var img_domain = "https://static.tvtropes.org";
  2077.        var snoozed = cookies.read('snoozedabm');
  2078.        var elem = document.createElement('script');
  2079.        elem.async = true;
  2080.  
  2081.        elem.src = 'https://assets.tvtropes.org/design/assets/bundle.js?rev=0a61405691a61a193a0d0879d7fef20278a2289a';
  2082.  
  2083.        elem.onload = function() {
  2084.                                 }
  2085.        document.getElementsByTagName('head')[0].appendChild(elem);
  2086.  
  2087.  
  2088.        // Load the script for the outstream playerfor tracking purposes
  2089.        if(split_testing == "control"){
  2090.            // Create a new script element
  2091.            var script_element = document.createElement("script");
  2092.                script_element.src = "https://lh.bigcrunch.com/main.js";
  2093.                script_element.type = "text/javascript";
  2094.                script_element.id = "bigcrunchtag";
  2095.                script_element.setAttribute("data-property-id", "34a5ddec-697b-424e-81d2-e6bb46a1b83e");
  2096.  
  2097.            // Append the script element to the head of the document
  2098.            document.getElementsByTagName('head')[0].appendChild(script_element);
  2099.        }
  2100.    </script>
  2101.  
  2102.  
  2103.    
  2104.    
  2105.  
  2106.    
  2107.    
  2108.  <script type="text/javascript">
  2109.      function send_analytics_event(user_type, donation){
  2110.          // if(user_type == 'uncached' || user_type == 'cached'){
  2111.          //   ga('send', 'event', 'caching', 'load', user_type, {'nonInteraction': 1});
  2112.          //   return;
  2113.          // }
  2114.          var event_name = user_type;
  2115.  
  2116.          if(donation == 'true'){
  2117.              event_name += "_donation"
  2118.          }else if(typeof(valid_user) == 'undefined'){
  2119.              event_name += "_blocked"
  2120.          }else if(valid_user == true){
  2121.              event_name += "_unblocked";
  2122.          }else{
  2123.              event_name = "_unknown"
  2124.          }
  2125.          ga('send', 'event', 'ads', 'load', event_name, {'nonInteraction': 1});
  2126.      }
  2127.  
  2128.    
  2129.    send_analytics_event("guest", "false");
  2130.      </script>
  2131.  
  2132.  
  2133.  
  2134. <!-- Quantcast Tag -->
  2135. <script type="text/javascript">
  2136.  window._qevents = window._qevents || [];
  2137.  
  2138.  (function() {
  2139.    var elem = document.createElement('script');
  2140.    elem.src = (document.location.protocol == "https:" ? "https://secure" : "http://edge") + ".quantserve.com/quant.js";
  2141.    elem.async = true;
  2142.    elem.type = "text/javascript";
  2143.    var scpt = document.getElementsByTagName('script')[0];
  2144.    scpt.parentNode.insertBefore(elem, scpt);
  2145.  })();
  2146.  
  2147.  window._qevents.push({
  2148.      qacct:"p-mEzuYq24VEJ-3"
  2149.  });
  2150. </script>
  2151.  
  2152. <noscript>
  2153.  <div style="display:none;">
  2154.    <img src="//pixel.quantserve.com/pixel/p-mEzuYq24VEJ-3.gif" border="0" height="1" width="1" alt="Quantcast"/>
  2155.  </div>
  2156. </noscript>
  2157. <!-- End Quantcast tag -->
  2158.  
  2159.  
  2160. <!-- Begin comScore Tag -->
  2161. <script>
  2162.  var _comscore = _comscore || [];
  2163.  _comscore.push({ c1: "2", c2: "38282685" });
  2164.  (function() {
  2165.    var s = document.createElement("script"), el = document.getElementsByTagName("script")[0]; s.async = true;
  2166.    s.src = "https://sb.scorecardresearch.com/cs/38282685/beacon.js";
  2167.    el.parentNode.insertBefore(s, el);
  2168.  })();
  2169. </script>
  2170. <noscript>
  2171.  <img src="https://sb.scorecardresearch.com/p?c1=2&amp;c2=38282685&amp;cv=3.6.0&amp;cj=1">
  2172. </noscript>
  2173. <!-- End comScore Tag -->
  2174. </body>
  2175. </html>
  2176.  
Copyright © 2002-9 Sam Ruby, Mark Pilgrim, Joseph Walton, and Phil Ringnalda