📄 imu.js
字号:
google_encoding = 'utf8';google_ad_section = 'default';if (window.hint) { google_hints = window.hint; }if (!window.google_ad_client) { google_ad_client = 'ca-ostg_js'; }if (!window.google_safe) { google_safe = 'high'; }if (!window.google_max_num_ads) { google_max_num_ads = '3'; }if (!window.google_ad_output) { google_ad_output = 'js'; }if (!window.google_feedback) { google_feedback = 'on'; }if (!window.ostg_imu_width) { ostg_imu_width = '300'; }if (!window.ostg_imu_height) { ostg_imu_height = '250'; }if (!window.google_image_size) { google_image_size = ostg_imu_width+"x"+ostg_imu_height; }//if (!window.google_ad_type.match(/html/)) { google_ad_type += '_html'; }if (!window.ostg_style_type) { ostg_style_type = 'clean_blue'; }if (typeof window.ostg_skip != 'undefined') { google_skip = ostg_skip;} else { var ostg_skip = 0;}// google_oasu_url = 'http://ad.doubleclick.net/clk;39821406;13502407;y?https://adwords.google.com/select/OnsiteSignupLandingPage?client=ca-ostg_js&referringUrl=sourceforge.net'; // google_oasu_url = 'http://ad.doubleclick.net/clk;39821406;13502407;y?https://adwords.google.com/select/OnsiteSignupLandingPage?client=ca-ostg_js&referringUrl=slashdot.org'; currWin = window;//while (currWin.parent != currWin) {// currWin = currWin.parent;//}full_url = ""+currWin.location;// Redirects Google Bot to different pages for content matchingif (!window.google_page_url) { google_page_url = ""+full_url; if (full_url.match(/slashdot/)) { google_ad_section = 'apple askslashdot backslash books developers games hardware interviews it linux politics science yro default'; } if (full_url.match(/project\/showfiles\.php\?group_id=(\d+)/)) { google_page_url = 'http://sourceforge.net/project/?group_id=' + RegExp.$1; } if (full_url.match(/project\/downloading\.php\?group_id=(\d+)/)) { google_page_url = 'http://sourceforge.net/project/?group_id=' + RegExp.$1; } if (window.slashdot_article_url) { google_page_url = slashdot_article_url; } if (window.sf_proj_home) { google_page_url = sf_proj_home; }}// This function displays the ad results.// It must be defined above the script that calls show_ads.js// to guarantee that it is defined when show_ads.js makes the call-back.function google_ad_request_done(google_ads) { // Proceed only if we have ads to display! if (google_ads.length < 1 ) return; // Default values if (!window.ostg_google_style) { ostg_google_style = 'text-align: left; color: #888; font-size:10px;'; } if (!window.ostg_ga_style) { ostg_ga_style = 'font-size:10px; padding: 0 0 1px 0; text-align: left;'; } if (!window.ostg_ad_imu) { ostg_ad_imu = 'border: 1px solid #ddd; margin: .5em 0; padding: .3em;'; } if (!window.ostg_ga_link) { ostg_ga_link = 'color: #888; font-size:10px;'; } if (!window.ostg_ad_title) { ostg_ad_title = 'font-size: 12px; font-weight: bold;'; } if (!window.ostg_ad_desc) { ostg_ad_desc = 'cursor: pointer;'; } if (!window.ostg_ad_url) { ostg_ad_url = 'font-size: 11px;'; } if (!window.ostg_ad_imu_extra) { ostg_ad_imu_extra = [ 'font-size: 14px; border: 1px solid #ddd; margin: 1em 0; padding: .5em;', 'font-size: 13px; border: 1px solid #ddd; margin: 1em 0; padding: .3em;', 'font-size: 12px; border: 1px solid #ddd; margin: .5em 0 .7em 0; padding: .3em;', 'font-size: 11px; border: 1px solid #ddd; margin: .5em 0; padding: .3em;' ]; } if (!window.ostg_ad_title_extra) { ostg_ad_title_extra = ['font-size:16px;', 'font-size:14px;', 'font-size:12px;', 'font-size:11px;']; } if (!window.ostg_ad_url_extra) { ostg_ad_url_extra = ['font-size: 13px;', 'font-size:12px;', 'font-size:11px;', 'font-size:10px;']; } // Various google ad styles (from Wes) if (ostg_style_type == 'multi_hilite') { ostg_google_style = 'font-family: arial, sans-serif; color: #555; overflow: hidden; font-size: 12px; padding: 0;'; ostg_ga_style = 'font-size: 10px; line-height: 18px; text-align: right;'; ostg_ga_link = 'color: #888;'; ostg_ad_imu = 'padding: 5px; margin-bottom: 5px; border: 1px solid #fc3; background: #ffe; text-align: left;'; ostg_ad_title = 'color: #800; font-weight: bold; font-size: 13px; text-align: left;'; ostg_ad_url = 'color: #888; font-size: 11px;'; ostg_ad_imu_extra = ['padding: 5px; margin-bottom: 5px; border: 1px solid #fc3; background: #ffe; text-align: left;', 'padding: 5px; margin-bottom: 5px; border: 1px solid #fc3; background: #ffe; text-align: left;', 'padding: 5px; margin-bottom: 5px; border: 1px solid #fc3; background: #ffe; text-align: left;', 'padding: 5px; margin-bottom: 5px; border: 1px solid #fc3; background: #ffe; text-align: left;']; ostg_ad_title_extra = ['color: #800; font-weight: bold; font-size: 13px; text-align: left;', 'color: #800; font-weight: bold; font-size: 13px; text-align: left;', 'color: #800; font-weight: bold; font-size: 13px; text-align: left;', 'color: #800; font-weight: bold; font-size: 13px; text-align: left;']; ostg_ad_desc = 'cursor: pointer; line-height: 16px;'; ostg_ad_url_extra = ['color: #888; font-size: 11px;','color: #888; font-size: 11px;','color: #888; font-size: 11px;','color: #888; font-size: 11px;']; } else if (ostg_style_type == 'blue') { ostg_google_style = 'font-family: arial, sans-serif; color: #555; overflow: hidden; font-size: 12px; padding: 0;'; ostg_ga_style = 'font-size: 10px; line-height: 18px; text-align: right;'; ostg_ga_link = 'color: #888;'; ostg_ad_imu = 'padding: 5px; margin-bottom: 5px; border: 1px solid #cde; background: #def; text-align: left;'; ostg_ad_title = 'color: #03c; font-weight: bold; font-size: 13px; text-align: left;'; ostg_ad_url = 'color: #69f; font-size: 11px;'; ostg_ad_imu_extra = ['padding: 5px; margin-bottom: 5px; border: 1px solid #cde; background: #def; text-align: left;', 'padding: 5px; margin-bottom: 5px; border: 1px solid #cde; background: #def; text-align: left;', 'padding: 5px; margin-bottom: 5px; border: 1px solid #cde; background: #def; text-align: left;', 'padding: 5px; margin-bottom: 5px; border: 1px solid #cde; background: #def; text-align: left;']; ostg_ad_title_extra = ['color: #03c; font-weight: bold; font-size: 13px; text-align: left;', 'color: #03c; font-weight: bold; font-size: 13px; text-align: left;', 'color: #03c; font-weight: bold; font-size: 13px; text-align: left;', 'color: #03c; font-weight: bold; font-size: 13px; text-align: left;']; ostg_ad_desc = 'cursor: pointer; line-height: 16px;'; ostg_ad_url_extra = ['color: #69f; font-size: 11px;','color: #69f; font-size: 11px;','color: #69f; font-size: 11px;','color: #69f; font-size: 11px;']; } else if (ostg_style_type == 'grey_lines') { ostg_google_style = ' text-align: center !important; margin: 0 auto;'; ostg_ga_style = 'font-size:10px; padding: 0 0 1px 0; text-align: center;'; ostg_ga_link = 'font-size:10px;'; ostg_ad_imu = 'float: left; width: 336px; overflow:hidden; margin: 0 0 5px 0; padding: 5px; font-size: 12px; border: 1px solid #ccc; text-align: left !important; background: #fff;'; ostg_ad_title = 'font-weight: bold;'; ostg_ad_url = 'color: #090; font-size: 10px;'; ostg_ad_imu_extra = ['font-size: 16px;','font-size: 14px;','font-size: 12px;','font-size: 11px;']; ostg_ad_title_extra = ['font-size:18px;', 'font-size:14px;', 'font-size:12px;', 'font-size:11px;']; ostg_ad_desc = 'float: left; color: #555; cursor: pointer; width: 90%;'; ostg_ad_url_extra = ['font-size: 14px;', 'font-size:12px;', 'font-size:11px;', 'font-size:10px;']; } else if (ostg_style_type == 'blue_label') { ostg_google_style = ' text-align: center !important; margin: 0 auto;'; ostg_ga_style = 'font-size:10px; padding: 0 0 1px 0; text-align: center;'; ostg_ga_link = 'color: #888; font-size:10px;'; ostg_ad_imu = 'font-family: sans-serif; width: 300px; text-align: left; color: #000; background: #fff;'; ostg_ad_title = 'font-weight: bold;'; ostg_ad_url = 'font-size: 10px;'; ostg_ad_imu_extra = [ 'font-size: 110%; border: none; margin: 1em 0; padding: .5em;', 'font-size: 100%; border: none; margin: 1em 0; padding: .3em;',
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -