站点详情页(跳转前展示目标站点 TDK 信息)
icon

open-source / MetaGer · GitLab

gitlab.metager.de
IE=edge" http-equiv="X-UA-Compatible"> open-source / MetaGer · GitLab // // { if (e.matches) { root.classList.add('gl-dark'); } else { root.classList.remove('gl-dark'); } }); //]]> // { gl.startup_calls[apiCall] = { fetchCall: fetch(apiCall, { // Emulate XHR for Rails AJAX request checks headers: { 'X-Requested-With': 'XMLHttpRequest' }, // fetch won’t send cookies in older browsers, unless you set the credentials init option. // We set to `same-origin` which is default value in modern browsers. // See https://github.com/whatwg/fetch/pull/585 for more information. credentials: 'same-origin' }) }; }); } if (gl.startup_graphql_calls && window.fetch) { const headers = {"X-CSRF-Token":"930SWCDPWsPgqxI0cmEua_uQ7QYPLx1hGQtkDsD5dVYF_2LLQf7qMvJaXF-3BgtpjHl3ZA3ZVNMl1KAJLHiTeg","x-gitlab-feature-category":"groups_and_projects"}; const url = `https://gitlab.metager.de/api/graphql` const opts = { method: "POST", headers: { "Content-Type": "application/json", ...headers, } }; gl.startup_graphql_calls = gl.startup_graphql_calls.map(call => ({ ...call, fetchCall: fetch(url, { ...opts, credentials: 'same-origin', body: JSON.stringify(call) }) })) } //]]> //
立即前往 返回首页